G04 Dwell
Format
G04 P_
Description
This command dwells for the specified time, only effective in the program block containing it.
P_: the dwell time, with unit “ms”.
Inserting G04 between two program blocks can interrupt machining for the specified time.
This command can be used in the following situations:
- In machining a corner, the dwell command can be used to guarantee a sharp corner.
- In machining a non through-hole, when the tool reaches the appointed depth, this command can be used to stop tool feed. After the spindle rotates more than one circle, execute tool retract to get a smooth hole bottom.
- After boring a hole, the spindle should be stopped and dwell for 1~3s until spindle totally stops before retracting tool in order to avoid thread scratches and ensure the smoothness of workpiece.
- In transverse turning, this command can be used before retracting tool to make sure the spindle rotates at least one circle.
- In chamfering or centering on a lathe, the dwell command, spindle on and tool change, etc. can be used to make sure the smoothness of chamfer surface and conical surface of center hole.
Programming Example
G04 P1000 'dwell for 1000ms