thinkyhead

M906 - Stepper Motor Current

none Set the motor current (in milliamps) TMC2130|TMC2208|TMC2660|L64xx

Description

Set stepper motor currents in milliamps units. Send M906 with no parameters to report all stepper motor currents.

Notes

Requires one or more compatible Trinamic (or L64xx) stepper drivers.

Usage

M906 [E<mA>] I<index> [T<index>] [X<mA>] [Y<mA>] [Z<mA>]

Parameters

[E<mA>]

Current for the E0 stepper

    I<index>
    1.1.9

    Index for multiple steppers. (i.e., I1 for X2, Y2, Z2; I2 for Z3; I3 for Z4).

      [T<index>]
      1.1.9

      Index (tool) number for the E axis. If not specified, the E0 extruder.

        [X<mA>]

        Current for the X stepper

          [Y<mA>]

          Current for the Y stepper

            [Z<mA>]

            Current for the Z stepper

              Examples

              Set the XYZ motor currents to 5mA

              M906 X5 Y5 Z5

              Set the E1 motor current to 10mA

              M906 T1 E10

              Set the X2 motor current to 5mA

              M906 I1 X5