Dwell time (G04), (#TIME)

Syntax:

G04 <1st_main_axis>..  |  <time>  |  <main_spindle>..

non-modal

G04

Dwell time

<1st_main_axis>..

Dwell time is specified by the name of the 1st mainaxis in [s] or, alternatively...

<time>

… as following direct or parameterised specification [as of Build V2.11.2026.02] of the dwell time in [s] or …

<main_spindle>.

By the name of the mainspindle and by specifying a number of revolutions [U] [as of V2.11.2023.02].

Dwell times are required for relief cutting or other machine functions, for example.

Dwell time may only be programmed in the NC block alone (exception: block no.).

Programming Example

Dwell time (G04)

N10 G04 X4.5          (wait 4.5 seconds)
N20 G04 3.0          (wait 3.0 seconds)
N30 P1=2
N40 G04 P1          (wait 2.0 seconds)
N50 V.L.TIME=3.5
N60 G04 V.L.TIME      (wait 3.5 seconds)
N70 M3 S200
N80 G04 S10          (wait 10 revolutions (wait 3 seconds))

Another possibility to specify dwell time is to use the function #TIME.

Syntax:

#TIME <time>

non-modal

#TIME

Dwell time plain text command

<time>

Dwell time value direct or parameterised in [s]

Programming Example

Dwell time (#TIME)

N10 #TIME 2.5          (wait 2.5 seconds)
N20 P1=2
N30 #TIME P1          (wait 2.0 seconds)
N40 V.L.TIME=3.5
N50 #TIME V.L.TIME      (wait 3.5 seconds)

Dwell time (G04) with axis coupling

Available as of V3.1.3131.0

The #TURN [TIME_IN_REV_CPL=1] function couples the dwell time of path axes to the speed of the main spindle. The dwell time is calculated from the speed of the coupled main spindle with axis couplings and the number of programmed revolutions specified.

Axis couplings with variable gear ratio can be set using the NC command #GEAR LINK or via the HLI [FCT-A9// Axis coupling over HLI].

In the default setting of #TURN [TIME_IN_REV_CPL=0], the dwell time of the main spindle is calculated with no consideration given to the axis couplings.

If the main spindle is changed, the setting of TIME_IN_REV_CPL is adopted automatically for the new main spindle and deactivated for the previous main spindle.

Programming Example

Dwell time with axis coupling

; Condition: Axis 6 as main spindle, axis 7 as counter spindle

N10 #GEAR LINK ON [TARGETNR=6 AXNR1=7 AXNR2=6 NUM1=1 DENOM1=2]
N20 M3 S500
N30 S2[M3 REV300]
N50 #TURN [TIME_IN_REV_CPL=1]
N60 G04 S10   ; dwell time 10 revolutions of main spindle WITH axis coupling
N70 #TURN [TIME_IN_REV_CPL=0]
N80 G04 S10   ; dwell time 10 revolutions of main spindle WITHOUT axis coupling
N90 #GEAR LINK OFF [TARGETNR=6]
N100 M30