thinkyhead

M907 - Trimpot Stepper Motor Current

control Set motor current via digital trimpot DIGIPOTSS_PIN|HAS_MOTOR_CURRENT_PWM|DIGIPOT_I2C|DAC_STEPPER_CURRENT

Description

Set digital trimpot motor current using axis codes (X, Y, Z, E, etc.) plus B and S. The unit used for current depends on the type of stepper driver.

Usage

M907 [B<current>] [C<current>] [D<current>] [E<current>] [I<current>] [J<current>] [K<current>] [S<current>] [U<current>] [V<current>] [W<current>] [X<current>] [Y<current>] [Z<current>]

Parameters

[B<current>]

Current for the E1 stepper (Requires DIGIPOTSS_PIN or DIGIPOT_I2C)

    [C<current>]

    Current for the E2 stepper (Requires DIGIPOT_I2C)

      [D<current>]

      Current for the E3 stepper (Requires DIGIPOT_I2C)

        [E<current>]

        Current for the E0 stepper

          [I<current>]
          2.0.9
          I_DRIVER_TYPE and `DIGIPOTSS_PIN` or `DIGIPOT_I2C`

          Current for the I stepper (Use X with MOTOR_CURRENT_PWM_XY) (Requires DIGIPOTSS_PIN or DIGIPOT_I2C)

            [J<current>]
            2.0.9
            J_DRIVER_TYPE and `DIGIPOTSS_PIN` or `DIGIPOT_I2C`

            Current for the J stepper (Use X with MOTOR_CURRENT_PWM_XY) (Requires DIGIPOTSS_PIN or DIGIPOT_I2C)

              [K<current>]
              2.0.9
              K_DRIVER_TYPE and `DIGIPOTSS_PIN` or `DIGIPOT_I2C`

              Current for the K stepper (Use X with MOTOR_CURRENT_PWM_XY) (Requires DIGIPOTSS_PIN or DIGIPOT_I2C)

                [S<current>]

                Set this current on all steppers (Requires DIGIPOTSS_PIN or DAC_STEPPER_CURRENT)

                  [U<current>]
                  2.1
                  U_DRIVER_TYPE and `DIGIPOTSS_PIN` or `DIGIPOT_I2C`

                  Current for the U stepper (Use X with MOTOR_CURRENT_PWM_XY) (Requires DIGIPOTSS_PIN or DIGIPOT_I2C)

                    [V<current>]
                    2.1
                    V_DRIVER_TYPE and `DIGIPOTSS_PIN` or `DIGIPOT_I2C`

                    Current for the V stepper (Use X with MOTOR_CURRENT_PWM_XY) (Requires DIGIPOTSS_PIN or DIGIPOT_I2C)

                      [W<current>]
                      2.1
                      W_DRIVER_TYPE and `DIGIPOTSS_PIN` or `DIGIPOT_I2C`

                      Current for the W stepper (Use X with MOTOR_CURRENT_PWM_XY) (Requires DIGIPOTSS_PIN or DIGIPOT_I2C)

                        [X<current>]

                        Current for the X stepper (and the Y stepper with MOTOR_CURRENT_PWM_XY)

                          [Y<current>]

                          Current for the Y stepper (Use X with MOTOR_CURRENT_PWM_XY)

                            [Z<current>]

                            Current for the Z stepper