Siemens SINUMERIK 840D sl Function Manual page 637

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

Advertisement

Nesting rules
The following features regulate the interaction between NC commands IPTRLOCK and
IPTRUNLOCK with nesting and end of subroutine:
1. IPTRLOCK is activated implicitly at the end of the subroutine in which IPTRUNLOCK is
2. IPTRLOCK in an untraceable section has no effect.
3. If subprogram1 calls subprogram2 in a search-suppressed area, subprogram2 remains
Examples of nesting with two program levels
Nesting of search-suppressed program sections in 2 program levels.
N10010 IPTRLOCK()
N10020 R1 = R1 + 1
N10030 G4 F1
...
N10040 Subprogram2
...
N20010 IPTRLOCK ()
...
N20020 IPTRUNLOCK ()
...
N20030 RET
...
N10050 IPTRLOCK()
N10060 R2 = R2 + 2
N10070 G4 F1
An interruption in a search-suppressed program section of the above program always
returns N10030 G4 F1 block.
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
called.
search-suppressed. IPTRUNLOCK in particular has no effect in subroutine 2.
; Interpretation of the blocks in an illustrative
sequence.
; Subprogram1 is prepared for the block search:
; Program level 1
;
; hold block
of the search-suppressed program section starts
;
; Interpretation of subprogram2
; Program level 2
; is ineffective
;
; is ineffective
;
;
;
;
;
; End of search-suppressed program section
Detailed description
2.6 Block search Type 5 SERUPRO
79

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents