Siemens SINUMERIK 840D sl Programming Manual page 368

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Fundamentals
2.14 Supplementary commands
The effective dwell time depends on the setting in the machine data MD10280
$MN_PROG_FUNCTION_MASK, Bit 4 = <value>
Value
Program example:
● MD10071 $MN_IPO_CYCLE_TIME == 8 ms
● MD10280 $MN_PROG_FUNCTION_MASK, Bit 4 = 1
Program code
N10 WHEN TRUE DO LOCK(1)
N20 G4 F2
N30 WHEN TRUE DO UNLOCK(1)
N40 ID=1 WHENEVER TRUE DO $R0=1 RDISABLE
N50 G4 F0.012
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
N10 G1 F200 Z-5 S300 M3
N20 G4 F3
N30 X40 Y10
368
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)
Comment
; Non-modal SynAct: LOCK of the
; modal SynAct. ID=1
; Action block for SynAct from N10
; Non-modal SynAct: UNLOCK
; of the modal SynAct. ID=1
; Modal SynAct ID=1
; R parameter R0=1
; Set the read-in disable
; Action block for SynAct from N40 and N50
; See paragraph "Description" below
Comment
;Feed F; spindle speed S
; Dwell time: 3 s
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents