Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: frogblender on March 24, 2010, 11:29:03 AM

Title: Set DROs from within G-code? I'm flummoxed.
Post by: frogblender on March 24, 2010, 11:29:03 AM
Maybe the answer is obvious, but danged if I can figger it out.

From within g-code (NOT a vb script):  How do I set the DROs in Mach3, the same as if you'd clicked on them with the mouse and typed in a number by hand?
Title: Re: Set DROs from within G-code? I'm flummoxed.
Post by: Graham Waterworth on March 25, 2010, 05:47:48 AM
You can set certain ones with a #number , for example you can set fixture offsets that will update there positions by setting the #2500,2501,2502, for XY&Z on G54.

To zero out the absolute figures you just do a G92 X0 Y0 Z0 or any combination of axis.

Graham