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

75 lines
1.4 KiB
Markdown

---
tag: m0018
title: Disable steppers
brief: Disable steppers (same as M84).
author: thinkyhead
group: control
codes: [ M18, M84 ]
notes:
parameters:
-
tag: S
optional: true
description: Inactivity Timeout. If none specified, disable now.
values:
-
tag: seconds
type: int
-
tag: X
optional: true
description: X Disable
values:
-
tag: flag
type: bool
-
tag: Y
optional: true
description: Y Disable
values:
-
tag: flag
type: bool
-
tag: Z
optional: true
description: Z Disable
values:
-
tag: flag
type: bool
-
tag: E
optional: true
description: E Disable
values:
-
tag: flag
type: bool
examples:
-
pre: Set the stepper inactivity timeout to 1 minute
code: M18 S60
-
pre: Disable all steppers immediately
code: M18
-
pre: Disable Z and E steppers immediately
code: M18 Z E
---
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.
If no steppers are specified, this command disables all steppers immediately.
If one or more axes are specified, this command disables the specified steppers immediately.