The effective dwell time depends on the setting in the machine data MD10280
$MN_PROG_FUNCTION_MASK, Bit 4 = <value>
Value Meaning
0 The effective dwell time is equal to the programmed dwell time
1 The effective dwell time is equal to the programmed dwell time rounded to the next largest
multiple of the interpolator cycle (MD10071 $MN_IPO_CYCLE_TIME)
Program example:
● MD10071 $MN_IPO_CYCLE_TIME == 8 ms
● MD10280 $MN_PROG_FUNCTION_MASK, Bit 4 = 1
Program code Comment
N10 WHEN TRUE DO LOCK(1) ; Non-modal SynAct: LOCK of the
; modal SynAct. ID=1
N20 G4 F2 ; Action block for SynAct from N10
N30 WHEN TRUE DO UNLOCK(1) ; Non-modal SynAct: UNLOCK
; of the modal SynAct. ID=1
N40 ID=1 WHENEVER TRUE DO $R0=1 RDISABLE ; Modal SynAct ID=1
; R parameter R0=1
; Set the read-in disable
N50 G4 F0.012 ; Action block for SynAct from N40 and N50
; See paragraph "Description" below
N60 G4 F10
Description
The desired behavior is that the modal synchronized action from N30 cancels the active lock
(LOCK) of the modal synchronized action with ID=1 from N40, causing the R parameter to be
written in N50 and the read-in disable to become active. This behavior is only achieved if the
active dwell time is at least two interpolation cycles long.
The active dwell time results from the programmed dwell time, the interpolation cycle, and the
setting in MD10280 $MN_PROG_FUNCTION_MASK, Bit 4. To ensure that the active dwell
time is at least two interpolation cycles long, the following dwell time must be programmed:
● Bit 4 == 0: Programmed dwell time ≥ 2 * interpolator cycle
● Bit 4 == 1: Programmed dwell time ≥ 1.5 * interpolator cycle
If the active dwell time is shorter than two interpolation cycles, writing the R parameter and read-
in disable will not be executed until block N60.
Example
Program code Comment
N10 G1 F200 Z-5 S300 M3 ;Feed F; spindle speed S
N20 G4 F3 ; Dwell time: 3 s
N30 X40 Y10
Fundamentals
2.14 Supplementary commands
NC programming
368 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0