thinkyhead

M919 - TMC Chopper Timing

2.0.9.4 trinamic Set Chopper Timing values TMC2208|TMC2209|TMC2660

Description

Set the current for a stepper motor in milliamps units.

Notes

Requires one or more TMC stepper drivers.

Usage

M919 [I<index>] [O<int>] [P<int>] [S<int>] [T<index>] [Z<mA>]

Parameters

[I<index>]

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

[O<int>]

Time-Off value (1..15). If omitted, the default from CHOPPER_TIMING.

[P<int>]

Hysteresis End value (-3..12). If omitted, the default from CHOPPER_TIMING.

[S<int>]

Hysteresis Start value (1..8). If omitted, the default from CHOPPER_TIMING.

[T<index>]

Index (tool) number for the E axis. If not specified, all extruders.

[Z<mA>]

Current for the Z stepper

Examples

Set XYZE Chopper Timing suitable for 12V steppers

M919 XYZE O3 P-1 S1

Set X2 Chopper Timing only

M919 X I1 O3 P-1 S1