thinkyhead

M18, M84 - Disable steppers

control Disable steppers (same as M84).

Description

This command can be used to set the stepper inactivity timeout (S) or to disable one or more steppers (X,Y,Z, …, E).

If a timeout is given with S, this command just sets the stepper inactivity timeout, in seconds. Setting the timeout to 0 disables the timeout. This timeout duration applies to all axes configured to sleep with DISABLE_IDLE_[AXIS].

If no timeout or steppers are given, this command immediately disables all steppers on all axes.

If any axes are specified, this command immediately disables all steppers on the specified axes.

Notes

Axes may be renamed. Axis parameters below apply to the default axis names.

Usage

M18 [S<seconds>] [X, Y, Z, E, A, B, C, U, V, W]
M84 [S<seconds>] [X, Y, Z, E, A, B, C, U, V, W]

Parameters

[S<seconds>]
DISABLE_IDLE_*

Set the inactivity timeout. Set to 0 to disable the timeout.

    [X, Y, Z, E, A, B, C, U, V, W]
    *_DRIVER_TYPE

    Disable Axes such as X, Y, Z, E, A, B, C, U, V, W.

      Examples

      Disable all steppers immediately

      M18

      Disable Z and E steppers immediately

      M18 Z E

      Set the stepper inactivity timeout to 1 minute

      M18 S60

      Disable the stepper inactivity timeout

      M18 S0