thinkyhead

M351 - Set Microstep Pins

control Directly set the micro-stepping pins HAS_MICROSTEPS

Description

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

At the time of this writing, the only boards which have digital micro-stepping pins are:

  • MINIRAMBO
  • RAMBO
  • SCOOVO_X9H
  • MKS_BASE_common
  • ALLIGATOR_R2
  • ARCHIM1
  • PRINTRBOARD_G2
  • 5DPRINT

Usage

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

Parameters

[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.

Example

Set the X_MS1 pin and clear the E0_MS1 pin

M351 S1 X1 E0