Siemens Sinumerik 840D sl Programming Manual page 484

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Path traversing behavior
8.5 Preventing program position for SERUPRO (IPTRLOCK, IPTRUNLOCK)
Example
Nesting of untraceable program sections in two program levels with implicit IPTRUNLOCK.
Implicit IPTRUNLOCK in subprogram 1 ends the untraceable section.
Program code
N10010
N10020
N10030
...
N10040
...
N20010
...
N20020
N20030
...
N10060
N10070
N100
The interruption pointer then produces an interruption at 100 again.
Acquiring and finding untraceable sections
Non-searchable program sections are identified with language commands IPTRLOCK and
IPTRUNLOCK .
Command IPTRLOCK freezes the interruption pointer at a single block executable in the main
run (SBL1). This block will be referred to as the hold block below. If the program is aborted
after IPTRLOCK, this hold block can be searched for from the HMI user interface.
Continuing from the current block
The interruption pointer is placed on the current block with IPTRUNLOCK as the interruption
point for the following program section.
Once the search target is found a new search target can be repeated with the hold block.
An interrupt pointer edited by the user must be removed again via the HMI.
484
IPTRLOCK()
R1 = R1 + 1
G4 F1
subprogram2
IPTRLOCK ()
IPTRUNLOCK ()
RET
R2 = R2 + 2
RET
G4 F2
Comment
; Hold block of the search-suppressed program
section starts.
; Interpretation of subprogram 2
; Ineffective, repeated start.
; Ineffective, end at another level.
; End of search-suppressed program section.
; Main program is continued.
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents