Siemens SINUMERIK 840Di Function Manual page 599

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Nesting rules
The following points govern the interaction between language commands IPTRLOCK and
IPTRUNLOCK with nesting and the subroutine end.
1. IPTRUNLOCK is activated implicitly at the end of the subprogram in which IPTRLOCK
2. IPTRLOCK has no effect in an existing search-suppressed area.
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 the search-suppressed program section of the above program always
returns block "N10030 G4 F1".
Mode Group, Channel, Program Operation, Reset Response (K1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
was called.
search-suppressed. In particular, IPTRUNLOCK is ignored if programmed in
subprogram2.
Detailed Description
2.6 Block search Type 5 SERUPRO
;
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
2-63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents