1
G-Code, CAD, and CAM discussions / G10 L20 or setting DROs to zero from G-code
« on: October 08, 2017, 05:18:38 AM »
I would like to set DROs to zero (or any other value) from G-code without touching the G54/G92 offsets.
I've not tried this but from reading the LinuxCNC documentation it seems to me that this can be done with:
G10 L20 P1 X0 Y0 Z0
But reading the Mach documentation this does not seem to be supported.
Is there a G-code in Mach dialect that allows me to do that?
Also I note that Fanuc and other seem to interpret L20 differently from LinuxCNC so
I'm awarding extra points for answers that are 'platform' indendent
cheers Kusti
I've not tried this but from reading the LinuxCNC documentation it seems to me that this can be done with:
G10 L20 P1 X0 Y0 Z0
But reading the Mach documentation this does not seem to be supported.
Is there a G-code in Mach dialect that allows me to do that?
Also I note that Fanuc and other seem to interpret L20 differently from LinuxCNC so
I'm awarding extra points for answers that are 'platform' indendent
cheers Kusti