thinkyhead

G28 - Auto Home

1.0.0-beta planner Auto home one or more axes.

Auto-home one or more axes, moving them towards their endstops until triggered. Each axis is backed off and re-bumped according to the [XYZ]_HOME_BUMP_MM and HOMING_BUMP_DIVISOR settings.

Usage

G28 [X] [Y] [Z]

Argument Description
[X]

Flag to go back to the X axis origin

[Y]

Flag to go back to the Y axis origin

[Z]

A coordinate on the Z axis

Notes

Homing is required before G29, M48, and some other procedures.

If homing is needed the LCD will blink the X Y Z indicators.

Examples

The most-used form of this command is to home all axes:

G28 ; Go to origin on all axes

With no arguments to G28, Marlin homes according to the Z_SAFE_HOMING, QUICK_HOME and HOME_Y_BEFORE_X settings.

G28 X Z ; Home the X and Z axes