mbuc

M913 - Set Hybrid Threshold Speed

control TMC driver switching to spreadCycle TMC2130|TMC2208|TMC2209 HYBRID_THRESHOLD

Description

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.

Notes

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.

Usage

M913 [A<int>] [B<int>] [C<int>] [E] [I<index>] [T<index>] [U<int>] [V<int>] [W<int>] [X] [Y] [Z]

Parameters

[A<int>]
2.0.9
I_DRIVER_TYPE AXIS4_NAME 'A'

Set Hybrid Threshold for A to the given value.

    [B<int>]
    2.0.9
    J_DRIVER_TYPE AXIS5_NAME 'B'

    Set Hybrid Threshold for B to the given value.

      [C<int>]
      2.0.9
      K_DRIVER_TYPE AXIS6_NAME 'C'

      Set Hybrid Threshold for C to the given value.

        [E]

        Set Hybrid Threshold for E to the given value.

        [I<index>]
        1.1.9

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

          [T<index>]
          1.1.9

          Index (tool) number for the E axis. If not specified, the E0 extruder.

            [U<int>]
            2.1
            U_DRIVER_TYPE AXIS7_NAME 'U'

            Set Hybrid Threshold for U to the given value.

              [V<int>]
              2.1
              V_DRIVER_TYPE AXIS8_NAME 'V'

              Set Hybrid Threshold for V to the given value.

                [W<int>]
                2.1
                W_DRIVER_TYPE AXIS9_NAME 'W'

                Set Hybrid Threshold for W to the given value.

                  [X]

                  Set Hybrid Threshold for X to the given value.

                  [Y]

                  Set Hybrid Threshold for Y to the given value.

                  [Z]

                  Set Hybrid Threshold for Z to the given value.

                  Examples

                  Set Hybrid Threshold for X and X2 to 100…

                  M913 X100

                  …assuming that X and X2 are both Trinamic drivers.

                  Hybrid Threshold for X and X2 are set to 100; Y is set to 120; E0 and E2 are set to 30…

                  M913 X100 Y120 E30

                  …assuming that X, X2, Y, E0, and E2 are all Trinamic drivers, but E1 is not.