jbrazio thinkyhead

G27 - Park toolhead

1.1.0 nozzle Park the current toolhead NOZZLE_PARK_FEATURE


Raise and park the nozzle according to a predefined XY position and Z raise (or minimum height) value.


The parking XY position and Z value are defined by NOZZLE_PARK_POINT.

The minimum Z raise is defined by NOZZLE_PARK_Z_RAISE_MIN.


G27 [P<0|1|2|3|4>]



Parking behavior

  • P0:

    (Default) Relative raise by NOZZLE_PARK_Z_RAISE_MIN before XY parking. In this case NOZZLE_PARK_POINT.z is used as the minimum Z park position.

  • P1:

    Absolute move to NOZZLE_PARK_POINT.z before XY parking. This may move the nozzle down, so use with caution!

  • P2:

    Relative raise by NOZZLE_PARK_POINT.z before XY parking.

  • 2.2.0 P3:

    Relative raise by NOZZLE_PARK_Z_RAISE_MIN, skip XY parking.

  • 2.2.0 P4:

    No Z raise. Just XY parking.


The most basic example is to use the command without any arguments, which raises Z by the default distance and moves to the parking position.

G27 ; Raise Z if lower

This one is useful as an end script, simply raising Z and parking.

G27 P2 ; Always raise Z