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

1.8 KiB

tag title brief author requires group codes notes parameters examples
m0913 Set Hybrid Threshold Speed TMC driver switching to spreadCycle mbuc TMC2130|TMC2208|TMC2209, HYBRID_THRESHOLD control
M913
At least one parameter must be used.
Setting `X`, `Y`, `Z`, or `E` will set the hybrid threshold for all motors that fall under that category that have the `_IS_TRINAMIC` flag set. See examples below.
tag optional since description values
I true 1.1.9 Index for multiple steppers. (i.e., `I1` for X2, Y2, Z2; `I2` for Z3; `I3` for Z4).
unit type
index int
tag optional since description values
T true 1.1.9 Index (tool) number for the E axis. If not specified, the E0 extruder.
unit type
index int
tag type optional description
X int true Set Hybrid Threshold for X to the given value.
tag type optional description
Y int true Set Hybrid Threshold for Y to the given value.
tag type optional description
Z int true Set Hybrid Threshold for Z to the given value.
tag type optional description
E int true Set Hybrid Threshold for E to the given value.
pre post code
Set Hybrid Threshold for X and X2 to 100… …assuming that X and X2 are both Trinamic drivers. M913 X100
pre post code
Hybrid Threshold for X and X2 are set to 100; Y is set to 120; E0 and E2 are set to 30… …assuming that X, X2, Y, E0, and E2 are all Trinamic drivers, but E1 is not. M913 X100 Y120 E30

When HYBRID_THRESHOLD is enabled, the TMC driver is switched from the quieter StealthChop to spreadCycle when the feed rate for a given stepper motor is over its _HYBRID_THRESHOLD.