G04: Dwell (time specified)
Waits the specified time to execute the next block.
Code
Format
G04
■X specification
G04 X x
■P specification
G04 P p
Processing details
• The setting range for dwell time by X is "0 to 99999.999" and decimal point commands are valid. When the decimal point is
omitted, the dwell time is 0.001[s] units.
• The setting range for dwell time by P is "0 to 99999999[ms]" and decimal point commands are invalid. When a decimal
value is commanded by P, a minor error (error code: 1FC3H (details code: 031AH)) occurs.
• Dwell commands start calculating the dwell time after the completion of a deceleration stop when there is a cutting
command in the block before. However, when an M command is in the same block as a dwell command, they start
simultaneously.
• When a feed hold signal is input while executing dwell, the dwell command is stopped, and after restarting the dwell
command waits for the remaining time before executing the next block.
Do not specify a movement command and dwell command in the same block. Only the G04 command is
executed, and the movement command is not executed.
Program example
■Program with dwell time in between positioning instructions
Operation
Program
(1)
G01 X100. F10.
(2)
See table below
(3)
G01 X200.
V
X-axis
(1)
Dwell time
Command in (2)
G04 X500
G04 X5000
G04 X5.
G04 P5000
G04 P12.345
Dwell time (0 to 99999.999[s])
Dwell time (0 to 99999999[ms])
(3)
t
(2)
Dwell time[s]
0.5
5
5
5
Minor error (error code: 1FC3H (details code: 031AH))
Remarks
Positioning
Dwell time
Positioning
5 G-CODE CONTROL PROGRAMS
5
113
5.6 G-Code