Siemens SINUMERIK 840D sl Programming Manual page 475

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

Advertisement

Example
Nesting of untraceable program sections in two program levels with implicit
Implicit
Program code
N10010 IPTRLOCK()
N10020 R1 = R1 + 1
N10030 G4 F1
...
N10040 subprogram2
...
N20010 IPTRLOCK ()
...
N20020 IPTRUNLOCK ()
N20030 RET
...
N10060 R2 = R2 + 2
N10070 RET
N100 G4 F2
The interruption pointer then produces an interruption at 100 again.
Acquiring and finding untraceable sections
Non-searchable program sections are identified with language commands
IPTRUNLOCK.
Command
run (
after
Continuing from the current block
The interruption pointer is placed on the current block with
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.
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
10.8 Prevent program position for SERUPRO (IPTRLOCK, IPTRUNLOCK)
in subprogram 1 ends the untraceable section.
IPTRUNLOCK
freezes the interruption pointer at a single block executable in the main
IPTRLOCK
). This block will be referred to as the hold block below. If the program is aborted
SBL1
, this hold block can be searched for from the HMI user interface.
IPTRLOCK
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.
Path traversing behavior
IPTRUNLOCK
IPTRLOCK
as the interruption
IPTRUNLOCK
.
and
475

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents