G04 dwell G-code halts/delays current operation for the specified time (seconds or milliseconds) but during this whole process only axis motions of cnc machine are stopped and spindle keeps rotating.
|P||Dwell in milliseconds (msec)|
|X||Dwell in seconds (sec)|
|U||Dwell in seconds (sec)|
G04 P1000 (wait for 1 second)
the above part-program instruction will delay current cnc machining operation for one second.
So to program a 10 Seconds dwell
G04 P10000 (dwell time 1sec = 1000msec)
So to program a 2.5 Seconds dwell
How to dwell for Revolutions?
It is possible to have the pause in number of revolutions by using following formula,
Dwell = 60 / S (spindle speed in rpm)
If the spindle rotates at 300 rpm, the dwell time for one revolution will be
0.2 seconds = 60 / 300
So if a dwell is required for 3 spindle rotations,
G4 U0.6 (0.2 seconds x 3 rpm)