--- tag: m0906 title: Stepper Motor Current brief: Set the motor current (in milliamps) author: thinkyhead requires: TMC2130|TMC2208|TMC2660|L64xx group: none codes: [ M906 ] notes: Requires one or more compatible Trinamic or L64xx stepper drivers. parameters: - tag: E optional: true description: Current for the E0 stepper values: - unit: mA type: int - tag: I optional: false since: 1.1.9 description: Index for multiple steppers. (i.e., `I1` for X2, Y2, Z2; `I2` for Z3; `I3` for Z4). values: - unit: index type: int - tag: T optional: true since: 1.1.9 description: Index (tool) number for the E axis. If not specified, the E0 extruder. values: - unit: index type: int - tag: X optional: true description: Current for the X stepper values: - unit: mA type: int - tag: Y optional: true description: Current for the Y stepper values: - unit: mA type: int - tag: Z optional: true description: Current for the Z stepper values: - unit: mA type: int examples: - pre: Set the XYZ motor currents to 5mA code: M906 X5 Y5 Z5 - pre: Set the E1 motor current to 10mA code: M906 T1 E10 - pre: Set the X2 motor current to 5mA code: M906 I1 X5 --- Set stepper motor currents in milliamps units.