More G28 G30 Return to Home

RS274/NGC G-code Reference

Return to Home — G28 and G30
Two home positions are defined (by parameters 5161-5166 for G28 and parameters 5181-5186 for G30). The parameter values are in terms of the absolute coordinate system, but are in unspecified length units. To return to home position by way of the programmed position, program

G28 X… Y… Z… A… B… C…

(or use G30). All axis words are optional. The path is made by a traverse move from the current position to the programmed position, followed by a traverse move to the home position. If no axis words are programmed, the intermediate point is the current point, so only one move is made.

G28 G30 Return to Home