This G-code is specific to Reprap and does not conform to the normal G-code standard.
The command is used as such:
G28 X10 Y10
Which means: move until you hit the X and Y endstops, then set the current X position to 10 and the Y position to 10.
You can also use the G-code without any parameters:
G28
Which is equivalent to doing:
G28 X0 Y0 Z0
| Parameter | Usage | Example |
|---|---|---|
X |
Move until you hit this endstop then set the position in this axis to this value | |
Y |
Move until you hit this endstop then set the position in this axis to this value | |
Z |
Move until you hit this endstop then set the position in this axis to this value |
Note on GRBL Mode: The Reprap homing behavior described on this page applies when false (default). When GRBL mode is enabled,
See the Endstops module documentation for configuring
Basic V1 Configuration:
alpha_homing_direction home_to_min
alpha_min_endstop 1.24!^
alpha_max_endstop 1.25^
See the Endstops module documentation for V2 endstop configuration. V2 endstops feature enhanced protection (ESD buffering, configurable pull-up/pull-down).
Basic V2 Configuration:
[alpha endstop]
limit.enable = true
limit.pin = PA0!
homing.enable = true
homing.direction = home_to_min
If you are using a Delta machine, then you cannot individually home axes.
Instead, all “actuators” are homed together to the top of the machine, which sets you at the top of the Z work area, and at the center of the XY work area.
If you are using a Delta machine (Cartesian or rotary), homing behavior depends on your kinematics type:
Cartesian Delta (Kossel, Rostock): All three actuators home together to the top, setting position at the top of the Z work area and center of the XY work area. Use regular
Rotary Delta: Home using
Soft Endstops: V2 adds automatic software endstop compensation during homing for delta machines, improving accuracy and safety.
These resources are used as references for Gcode: