-
G28: Rapid Move to Reference (Zero) position
Overview
- Returns all or only selected axes to home (zero) position via an optional intermediate point.
Command Format
-
Syntax:
G28 <Axis>... <Axis>... F...
-
Sequence:
- With no axes specified:
- X, Y, Z go to Machine Coordinate Position 0.
- With axes specified on command line:
- Specified axes move to the given positions in the Local Coordinate System .
- Specified axes move to Machine Coordinate Position 0.
- This is a absolute positioning move in MCS.
Examples
-
G28 X10 Y15 Z20
- Moves X=10 Y=15 Z=20 in LCS.
- Then moves MCS to X=0 Y=0 Z=0.
-
G28 X10 Y10
- Moves LCS X=10 Y=15 in LCS. Z axis is stationary.
- Then moves MCS to X=0 Y=0. Z axis is stationary.
-
G28 G91 X0 Y0 Z10
- Moves Z axis up by 10 units (X and Y axes move by 0 units)
- Then moves to the X=0 Y=0 Z=0 positiion.
-
G28 G91 Z10
- Moves Z axis up by 10 units
- Then moves to Z=0 position. X and Y axes are stationary.
-
G28
- Performs a single move directly to X=0 Y=0 Z=0 position.
Details:
- If feedrate F is not specified on the command line, then the command is executed at the Max Rapid feedrate.
See Also: