Skip to content
Scott Lahteine edited this page Mar 23, 2016 · 2 revisions

DO NOT EDIT THIS PAGE. The wiki is being ported to a new documentation system.
Please see Issue #3088 "New Documentation" for more information.

Table of Contents

Description

Disable steppers immediately or set the Stepper Inactivity Timeout for "idle hold."

Examples

 M84    ; Disable steppers immediately (until the next move).
 M84 S2 ; Set the timeout to disable steppers after 2 seconds of idle.
 M84 S0 ; Clear the disable timeout so steppers stay on while idling.

Arguments

 S<sec> Stepper Inactive Time value (0 to disable)

If the "S" argument is present, the following arguments will be ignored:

 X      Flag to disable the X axis
 Y      Flag to disable the Y axis
 Z      Flag to disable the Z axis
 E      Flag to disable the E axis

If none of the axis flags are included then all axes will be disabled.

Discussion

This command is used both to disable steppers (M18) and to disable stepper "idle hold." Stepper motors can "ring" while stopped due to the oscillating current to the motor. This ringing can be prevented by disabling stepper motors when they're idle. This command shouldn't be used during printing because motors may lose position and reduce print quality.

Notes

  • The XYZE axis flags are a Marlin-specific extension.
  • When the S argument is included, the axis flags are ignored. S applies to all steppers.
Clone this wiki locally