From CNC.xyz Wiki
The "Dwell" or pause G-code, known as G04 stops the machine for the time indicated in seconds. The machine will pause for the number of seconds outlined in the code, but will continue previous states (such as spindle on). This code merely prevents the machine from changing states for the indicated time, unless promted by an external trigger such as an E-stop. The G04 G-code can also be written as G4, and most CNC programs can accept either G04 or G4. We use G1 in our examples to save space, which is important when using software such as Grbl.
Standard Format: G4 P0.000
Where the number following the P can be changed to indicate the desired pause period.
In this example, the machine will pause for 5.6 seconds.