Manufacturing Information Solutions Forum Index Manufacturing Information Solutions
Your Place for Support and Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Doing a linear array using G-Code

 
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> G-Code Programming
View previous topic :: View next topic  
Author Message
CNCJimmy7
Frequent Poster


Joined: 05 Jul 2004
Posts: 91
Location: Minneapolis, MN

PostPosted: Wed Jul 14, 2004 12:32 pm    Post subject: Doing a linear array using G-Code Reply with quote

Can you do a linear array using G-Code Question
Back to top
View user's profile Send private message Send e-mail
franke
Master Poster


Joined: 26 Jun 2004
Posts: 161
Location: Indiana, USA

PostPosted: Wed Jul 14, 2004 12:36 pm    Post subject: Reply with quote

If your control supports G54 thru G59 fixture offsets use them instead of G92.

If you have the local fixture offset feature G52, that will allow you move your coordinate system and back.

G92 defines where you are at in you coordinate system. And unless you are back to the same machine postion at the end of your program from when you started. Your coordinate system will drift.

G54 sets your program coordinate system relative to the machine zero.

The machine being one shot G53 command.

Now G52 is a local coordinate system shift. Which is canceled by a G52 X0 Y0 or Z0

G52 is very useful for a program pattern written in absolute mode verses having to use G91 mode.

I stopped using G92 when I started using G54 thru G59 fixture offsets.

When writing manual code, I sometimes use G52 to shift the coordinate system so I can use numbers right off the drawing. Especially for hole patterns from another hole from a datum. To make the program more readable. (If it doesn't make the code more understandable don't bother.)


One thing to remember the local offset G52 is universal in effect. Whether it is used before fixture offset call or after. The G52 local offset shifts relative to all coordinate systems. So don't forget to cancel with the G52 X0 Y0 Z0, between calls.

And depending on the control G52 Z0 before tool changes. And any fixture offset during tool change Z value may need to be zero too. (On a Mark Century 1050 control once dropped 6" radius cutter because the Z value fixture offset I was using had a non-zero Z value. {suprise suprise} From that point on I used fixture offset pairs. One for machining and the second for tool change. Only the X and Y values would be the same.)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> G-Code Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group