GCODE or MDI command to SET home for x and y

I’m trying to find online a GCODE or an MDI command that will SET the home for x and y.
Please note that I’m not looking for the “move to home” command.

I want the code or command that does the same as the “set zero X” and “set zero Y” on the jog button.

1 Like

I would go with this to set the current location to 0, 0, 0

G10 L20 P1 X0 Y0 Z0 (set the XYZ axis current location in coordinate system 1 to 0.0

Leave out Z if you want to. You may need to preceed the line with \ to get CM to pass it to the machine.

REF: G Codes

5 Likes

Are you looking for:

  • Set the current location as the X Zero and Y Zero, OR
  • regardless of the current location, set a particular point as the X Zero and Y Zero?

Actually, the previous post was what I was looking for!! Thanks guys!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.