You are on page 1of 1

G-code, M-code, and Setting

G28 Return to Machine Zero Point (Group 00)


The G28 code returns all axes (X, Y, Z, B and C) simultaneously to the machine zero position when no axis is specified
on the G28 line.

Alternatively, when one or more axes locations are specified on the G28 line, G28 will move to the specified locations
and then to machine zero. This is called the G29 reference point; it is saved automatically for optional use in G29.

G28 X0 Z0 (moves to X0 Z0 in the current work coordinate system then to machine zero) ;
G28 X1. Z1. (moves to X1. Z1. in the current work coordinate system then to machine zero) ;
G28 U0 W0 (moves directly to machine zero because the initial incremental move is zero) ;
G28 U-1. W-1 (moves incrementally -1. in each axis then to machine zero) ;

Page 1 of 1 pages

You might also like