G-code academy

G04 - Pause (dwell)

Command G04 is used to delay control program execution or pause. This modeless code is used in conjunction with the S- or P-address, which indicates the length of the exposure time. Usually this time is from 0.001 to 99999.999 seconds.

Code G04, S- or P-address are programmed together in a single block that does not contain any movements. If P is used to determine the holding time, then the decimal point cannot be programmed. Address P determines the holding time in milliseconds, and S in seconds.

Example:
G04 S1.5 ;dwell 1.5 seconds;
G04 P200 ;dwell 200 milliseconds.