thinkyhead

M0-M1 - Unconditional stop

1.0.0-beta motion Stop and wait for user

Description

The M0 and M1 commands pause after the last movement and wait for the user to continue. M1 is a deprecated alias for M0.

Notes

If both S and P are included, S takes precedence.

Without an LCD controller or EMERGENCY_PARSER this command is ignored.

With EMERGENCY_PARSER enabled the M108 command can be used to continue.

Usage

M0 [P<ms>] [S<sec>] [string]
M1 [P<ms>] [S<sec>] [string]

Parameters

[P<ms>]

Expire time, in milliseconds

    [S<sec>]

    Expire time, in seconds

      [string]

      An optional message to display on the LCD

      Examples

      Stop and wait

      M0

      Display a message, stop, and wait

      M0 Click to continue