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

850 B

tag title brief author since group codes notes parameters example
g004 Dwell Pause the planner thinkyhead 1.0.0-beta motion
G4
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).
tag optional description values
S true Amount of time to dwell
tag type unit
time int sec
tag optional description values
P true Amount of time to dwell
tag type unit
time int ms
code
G4 P500 ; Dwell for 1/2 second

Dwell pauses the command queue and waits for a period of time.