This is useful for example to wait for spindles to ramp up to speed, or to wait for small layers to cool down on 3D printers.
The command is used with either the S parameter (seconds) or P parameter:
V1: Seconds and Milliseconds
G4 S5
Pause for 5 seconds.
V2: Seconds and Milliseconds
G4 S5
Pause for 5 seconds.
| Parameter | Usage | Example |
|---|---|---|
S |
Duration to wait in seconds | |
P |
Duration to wait in milliseconds (thousandth of a second) |
When P parameter is interpreted as float seconds (not milliseconds) to conform to standard G-Code specifications.
| Parameter | Usage | Example |
|---|---|---|
S |
Duration to wait in seconds | |
P |
Duration to wait in milliseconds (thousandth of a second) |
When P parameter is interpreted as float seconds (not milliseconds) to conform to standard G-Code specifications.
These resources are used as references for Gcode: