thinkyhead

G4 - Dwell

1.0.0-beta planner Pause the planner

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


Usage

G4 [P<time in ms>] [S<time in sec>]

Argument Description
[P<time in ms>]

Amount of time to dwell

[S<time in sec>]

Amount of time to dwell

Notes

If both S and P are included, S takes precedence.

M0/M1 provides an interruptible “dwell” (Marlin 1.1.0 and up).

G4 with no arguments is effectively the same as M400.

Example

G4 P500 ; Dwell for 1/2 second