CNCezPRO™ Software

Real-Time 3D Graphics Simulation for Computer Numerical Control



G28 AUTOMATIC RETURN TO REFERENCE POINT
N_ G28 X_ Z_
The G28 command is commonly used prior to an automatic tool change. It allows the existing tool to be positioned to the predefined reference point automatically via an intermediate position. This ensures that when the tool turret is engaged, it is properly aligned and clears the workpiece.
Example G28
% (PROGRAM START FLAG)
:1028
N5 G20 G40
N10 T0101
N15 M03
N20 M08
N25 G00 X2.25
N30 Z0.1
N35 G01 Z-2 F0.012
N40 G28 X4 Z0.5 M09
N45 T0100 M05
N50 M02