thinkyhead

M218 - Set Hotend Offset

calibration Set the offset of a hotend (from hotend 0). EXTRUDERS>1

To keep nozzles aligned to the work area between tool-changes, the firmware needs to know how they relate to each other.


Usage

M218 [T<index>] [X<offset>] [Y<offset>] [Z<offset>]

Argument Description
[T<index>]

Hotend index. Active extruder by default.

[X<offset>]

Hotend X offset

[Y<offset>]

Hotend Y offset

[Z<offset>]

Hotend Z offset. Requires DUAL_X_CARRIAGE or SWITCHING_EXTRUDER.

Notes

  • Requires 2 or more nozzles.
  • The default hotend offsets are set with HOTEND_OFFSET_[XYZ].
  • Z hotend offset only available with DUAL_X_CARRIAGE or SWITCHING_EXTRUDER.
  • View current hotend offsets with M503.
  • If EEPROM_SETTINGS is enabled, these offsets are saved with M500, loaded with M501, and reset with M502.