flexi-bot/docs/marlin/_gcode/M907.md
2023-09-05 20:38:49 +02:00

1.6 KiB

tag title brief author requires group codes notes parameters examples
m0907 Set Motor Current Set motor current via digital trimpot thinkyhead DIGIPOTSS_PIN|HAS_MOTOR_CURRENT_PWM|DIGIPOT_I2C|DAC_STEPPER_CURRENT control
M907
tag optional description values
B true Current for the E1 stepper (Requires `DIGIPOTSS_PIN` or `DIGIPOT_I2C`)
tag
current
tag optional description values
C true Current for the E2 stepper (Requires `DIGIPOT_I2C`)
tag
current
tag optional description values
D true Current for the E3 stepper (Requires `DIGIPOT_I2C`)
tag
current
tag optional description values
E true Current for the E0 stepper
tag
current
tag optional description values
S true Set this current on all steppers (Requires `DIGIPOTSS_PIN` or `DAC_STEPPER_CURRENT`)
tag
current
tag optional description values
X true Current for the X stepper (and the Y stepper with `MOTOR_CURRENT_PWM_XY`)
tag
current
tag optional description values
Y true Current for the Y stepper (Use `X` with `MOTOR_CURRENT_PWM_XY`)
tag
current
tag optional description values
Z true Current for the Z stepper
tag
current

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