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

1.6 KiB

tag title brief author requires group codes notes parameters examples
m0351 Set Microstep Pins Directly set the micro-stepping pins thinkyhead HAS_MICROSTEPS control
M351
tag optional description values
S false Select the pin to set for all specified axes.
tag description
1 Select pin MS1 for all axes being set.
tag description
2 Select pin MS2 for all axes being set.
tag optional description values
B true Set the MS1/2 pin for the 5th stepper driver.
tag
0
tag
1
tag optional description values
X true Set the MS1/2 pin for the X stepper driver.
tag
0
tag
1
tag optional description values
Y true Set the MS1/2 pin for the Y stepper driver.
tag
0
tag
1
tag optional description values
Z true Set the MS1/2 pin for the Z stepper driver.
tag
0
tag
1
tag optional description values
E true Set the MS1/2 pin for the E stepper driver.
tag
0
tag
1
pre code
Set the `X_MS1` pin and clear the `E0_MS1` pin M351 S1 X1 E0

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