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

1.0 KiB

tag title brief author since group codes notes parameters examples
m0000 Unconditional stop Stop and wait for user thinkyhead 1.0.0-beta motion
M0
M1
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`](/docs/gcode/M108.html) command can be used to continue.
tag optional description values
S true Expire time, in seconds
tag type
sec int
tag optional description values
P true Expire time, in milliseconds
tag type
ms int
tag optional description
string true An optional message to display on the LCD
pre code
Stop and wait
M0
pre code
Display a message, stop, and wait
M0 Click to continue

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