thinkyhead

M351 - Set Microstep Pins

control Directly set the micro-stepping pins HAS_MICROSTEPS

If your board has digital micro-stepping pins (X_MS1, Y_MS1, etc.), use this command to set the micro-steps.


Usage

M351 [B<0|1>] [E<0|1>] S<1|2> [X<0|1>] [Y<0|1>] [Z<0|1>]

Argument Description
[B<0|1>]

Set the MS1/2 pin for the 5th stepper driver.

[E<0|1>]

Set the MS1/2 pin for the E stepper driver.

S<1|2>

Select the pin to set for all specified axes.

  • S1:

    Select pin MS1 for all axes being set.

  • S2:

    Select pin MS2 for all axes being set.

[X<0|1>]

Set the MS1/2 pin for the X stepper driver.

[Y<0|1>]

Set the MS1/2 pin for the Y stepper driver.

[Z<0|1>]

Set the MS1/2 pin for the Z stepper driver.

Examples

Set the X_MS1 pin and clear the E0_MS1 pin

M351 S1 X1 E0