thinkyhead

M92 - Set Axis Steps-per-unit

motion Set the number of steps-per-mm, per-inch, or per-degree

Description

Use M92 to set the steps-per-unit for one or more axes. This setting affects how many steps will be done for each unit of movement.

Units will usually be set in steps-per-millimeter unless:

  • The firmware has INCH_MODE_SUPPORT enabled and has been set to Inches Mode by G20 or by having inches as the default unit.
  • The machine is a SCARA in which case the A and B axes are configured in steps-per-degree, not steps-per-distance.

Notes

  • Get the current steps-per-unit settings using M92 with no parameters or M503 on older versions of Marlin.

With EEPROM_SETTINGS enabled:

  • This setting for all axes is saved with M500 and loaded with M501.
  • M502 resets steps-per-unit for all axes to the values from DEFAULT_AXIS_STEPS_PER_UNIT.

Usage

M92 [E<steps>] [T<index>] [X<steps>] [Y<steps>] [Z<steps>]

Parameters

[E<steps>]

E steps per unit

    [T<index>]

    Target extruder (Requires DISTINCT_E_FACTORS)

      [X<steps>]

      X steps per unit

        [Y<steps>]

        Y steps per unit

          [Z<steps>]

          Z steps per unit

            Example

            Set E steps for a new extruder

            M92 E688.4