G-code
Supported G-code

G28, G30 (Return to Home)

1min
two home positions are defined (by system parameters/variables docid\ oqhjs3llcfqksac cemc2 #5161 to #5166 for g28 and variables #5181 to #5186 for g30) the variable's values are in terms of the absolute coordinate system but are in unspecified length units to return to the home position by way of the programmed position, program g28 x y z a (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 the order of z depends on its position, if the end position is higher than the current z position z will move first, otherwise z will move last, this is to prevent collisions addition for lathe for a lathe the x axis is moved first, the assumption is that x moves away from the turning center