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