machines/systems/flexibot/docs/marlin/_gcode/M206.md
2025-03-11 23:32:39 +01:00

2.1 KiB

tag title brief author requires group codes notes parameters examples
m0206 Set Home Offsets Apply a persistent offset thinkyhead HAS_HOME_OFFSET motion
M206
- This command isn't available on `DELTA`. (For delta use `M665 H`.) - This G-code can be disabled with `NO_WORKSPACE_OFFSETS` to optimize movement. - Changing the home offsets will not invalidate bed leveling or other saved data. - View the current offsets with [`M503`](/docs/gcode/M503.html). - If `EEPROM_SETTINGS` is enabled, the home offsets are saved with [`M500`](/docs/gcode/M500.html), loaded with [`M501`](/docs/gcode/M501.html), and reset with [`M502`](/docs/gcode/M502.html). - [`M428`](/docs/gcode/M428.html) sets home offsets so the current position aligns to the native home position.
tag optional description values
P true SCARA Psi offset (Requires `MORGAN_SCARA`)
tag type
offset float
tag optional description values
T true SCARA Theta offset (Requires `MORGAN_SCARA`)
tag type
offset float
tag optional description values
X true X home offset
tag type
offset float
tag optional description values
Y true Y home offset
tag type
offset float
tag optional description values
Z true Z home offset
tag type
offset float
pre code
Raise Z up a little bit on the first layer: M206 Z-0.2
pre code
Shift the print area 10mm to the left: M206 X10

Use M206 to apply a persistent offset to the native home position and coordinate space. This effectively shifts the coordinate space in the negative direction. See examples below.

  • The current position is adjusted to align to the new home offset values.
  • The home offset is persistent — added to the current position until changed.
  • Some uses include fine adjustment of Z position (without moving endstops) and shifting the coordinate space to print on a different part of the bed.