blob: fe3e9af44f3dbba253f7498d48cc4ec2c2771e07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
---
tag: g004
title: Dwell
brief: Pause the planner
author: thinkyhead
since: 1.0.0-beta
group: motion
codes: [ G4 ]
notes:
- If both `S` and `P` are included, `S` takes precedence.
- '[`M0`](/docs/gcode/M000-M001.html)/[`M1`](/docs/gcode/M000-M001.html) provides an interruptible "dwell" (Marlin 1.1.0 and up).'
- '`G4` with no arguments is effectively the same as [`M400`](/docs/gcode/M400.html).'
parameters:
-
tag: S
optional: true
description: Amount of time to dwell
values:
-
tag: time
type: int
unit: sec
-
tag: P
optional: true
description: Amount of time to dwell
values:
-
tag: time
type: int
unit: ms
example:
-
code:
- G4 P500 ; Dwell for 1/2 second
---
Dwell pauses the command queue and waits for a period of time.
|