MarlinFirmware

G27 - Park toolhead

1.1.0 nozzle Park the toolhead NOZZLE_PARK_FEATURE

Description

Park the nozzle at a predefined XYZ position.

Notes

Requires NOZZLE_PARK_FEATURE.

The park position is defined by NOZZLE_PARK_POINT.

Usage

G27 [P <0|1|2>]

Parameters

[P <0|1|2>]

Z axis action

  • P0:

    If current Z-pos is lower than Z-park then the nozzle will be raised to reach Z-park height

  • P1:

    No matter the current Z-pos, the nozzle will be raised/lowered to reach Z-park height

  • P2:

    The nozzle height will be raised by Z-park amount but never going over the machine’s limit of Z_MAX_POS

Examples

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