Q&A · G-code & programming

How do I write a dwell in G-code?

Frequently asked · G-code & programming · Dec 1, 2026

1 answer

✔ Expert answer cnccode

Use G04. On Fanuc, G04 P500 dwells 500 ms (no decimal point) and G04 X0.5 dwells 0.5 seconds. On Haas, P with a decimal is seconds. Check your control to avoid a 500-second dwell.

Your answer

Be kind and specific. No advertising. See the guidelines.