--- tag: m0206 title: Set Home Offsets brief: Apply a persistent offset author: thinkyhead requires: HAS_HOME_OFFSET group: motion codes: [ M206 ] notes: | - 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. parameters: - tag: P optional: true description: SCARA Psi offset (Requires `MORGAN_SCARA`) values: - tag: offset type: float - tag: T optional: true description: SCARA Theta offset (Requires `MORGAN_SCARA`) values: - tag: offset type: float - tag: X optional: true description: X home offset values: - tag: offset type: float - tag: Y optional: true description: Y home offset values: - tag: offset type: float - tag: Z optional: true description: Z home offset values: - tag: offset type: float examples: - pre: 'Raise Z up a little bit on the first layer:' code: M206 Z-0.2 - pre: 'Shift the print area 10mm to the left:' code: M206 X10 --- Use [`M206`](/docs/gcode/M206.html) 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.