thinkyhead

M206 - Set Home Offsets

motion Apply a persistent offset HAS_HOME_OFFSET

Description

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.

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.

If EEPROM_SETTINGS is enabled, the home offsets are saved with M500, loaded with M501, and reset with M502.

M428 sets home offsets so the current position aligns to the native home position.

Usage

M206 [A<offset>] [B<offset>] [C<offset>] [P<offset>] [T<offset>] [U<offset>] [V<offset>] [W<offset>] [X<offset>] [Y<offset>] [Z<offset>]

Parameters

[A<offset>]
2.0.9
I_DRIVER_TYPE AXIS4_NAME 'A'

A home offset

    [B<offset>]
    2.0.9
    J_DRIVER_TYPE AXIS5_NAME 'B'

    B home offset

      [C<offset>]
      2.0.9
      K_DRIVER_TYPE AXIS6_NAME 'C'

      C home offset

        [P<offset>]

        SCARA Psi offset (Requires MORGAN_SCARA)

          [T<offset>]

          SCARA Theta offset (Requires MORGAN_SCARA)

            [U<offset>]
            2.1
            U_DRIVER_TYPE AXIS7_NAME 'U'

            U home offset

              [V<offset>]
              2.1
              V_DRIVER_TYPE AXIS8_NAME 'V'

              V home offset

                [W<offset>]
                2.1
                W_DRIVER_TYPE AXIS9_NAME 'W'

                W home offset

                  [X<offset>]

                  X home offset

                    [Y<offset>]

                    Y home offset

                      [Z<offset>]

                      Z home offset

                        Examples

                        Raise Z up a little bit on the first layer:

                        M206 Z-0.2

                        Shift the print area 10mm to the left:

                        M206 X10