Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: revwarguy on April 03, 2010, 02:57:37 AM

Title: help with fundamental question
Post by: revwarguy on April 03, 2010, 02:57:37 AM
Hello,

I go through my usual routine to position and zero the x, y, and z axies.  Then I load a g-code file, and the x,y, and z DROs all read crazy values.  How come?  What do I have to do to keep the DRO's zeroed?  Why would loading any g-code file affect the DRO's since nothing's moved on the machine?   ???

Thanks in advance,



Title: Re: help with fundamental question
Post by: Hood on April 03, 2010, 05:19:04 AM
Could be a work offset in your GCode.
Hood
Title: Re: help with fundamental question
Post by: revwarguy on April 04, 2010, 10:12:10 AM
Thnaks, Hood.

I'm a Gcode newbie - what gcode would be specified to cause an offset.  Something is off because when I load the file into Mach, the new x and y are beyond the size of any of the parts. (like 38 inches for X when the extend of the part is only 8 inch o n X.)

If I have the gcode to cut out a rectangle, and then want to cut out a total of 5 just like it, how do I write the gcode to do that?   (if there is a good refernce somewhere to put me to, I would go look at that.)  Just looking at the codes, I don't see one to specify a new offset.



Title: Re: help with fundamental question
Post by: ger21 on April 04, 2010, 11:30:43 AM
G54-G59 are for the work offsets.

Can you post the g-code for the part that's giving you problems, and what you're expecting to see?