CNCezPRO™ Software

Real-Time 3D Graphics Simulation for Computer Numerical Control



G04 DWELL
N_ G04 P_
The G04 is a nonmodal dwell command that halts all axis movement for a specified time while the spindle continues revolving at the specified rpm.
Example G04
% (PROGRAM START FLAG)
:1005
N5 G90 G20
N10 M06 T1
N15 M03 S1300
N20 G00 X1.75 Y1
N25 Z0.25
N30 G01 Z-0.25 F5
N35 G04 P500 (0.5 SECOND DWELL BEFORE ARC)
N40 G02 X1.75 Y1 I0.5 J0 F20
N45 G04 P500 (0.5 SECOND DWELL BEFORE 2ND ARC)
N50 G03 X1.75 Y1 I-0.5 J0
N55 G00 Z1
N60 X1.25
N65 G01 Z-0.75 F5
N70 G04 P750 (0.75 SECOND DWELL AT BELOW HOLE)
N75 G00 Z0.25
N80 X2.25
N87 G04 P750 (0.75 SECOND DWELL AT BELOW HOLE)
N90 G00 Z1
N95 X0 Y0
N100 M05
N105 M30