Program Jumps; Jump Destination For Program Jumps - Siemens SINUMERIK 802D sl Programming And Operating Manual

Surface grinding
Hide thumbs Also See for SINUMERIK 802D sl:
Table of Contents

Advertisement

Programming

10.10 Program jumps

Note
Writing of PLC tags is generally limited to a maximum of three tags (elements).
Where PLC tags are to be written in rapid succession, one element will be required per write
operation.
If more write operations are to be executed than there are elements available, then block
transfer will be required (a preprocessing stop may need to be triggered).
Example:
$A_DBB[1]=1 $A_DBB[2]=2 $A_DBB[3]=3
STOPRE
$A_DBB[4]=4
10.10
Program jumps
10.10.1

Jump destination for program jumps

Functionality
A label or a block number serve to mark blocks as jump destinations for program jumps.
Program jumps can be used to branch to the program sequence.
Labels can be freely selected, but must contain a minimum of 2 and a maximum of 8 letters
or numbers of which the first two characters must be letters or underscore characters.
Labels that are in the block that serves as the jump destination are ended by a colon. They
are always at the start of a block. If a block number is also present, the label is located after
the block number.
Labels must be unique within a program.
Programming example
N10 LABEL1: G1 X20
...
TR789: G0 X10 Z20
N100 ...
...
280
;LABEL1 is the label, jump destination
;TR789 is the label, jump destination
- No block number existing
;Block number can be jump target
Programming and Operating Manual, 11/2012, 6FC5398-5CP10-3BA0
Surface grinding

Advertisement

Table of Contents
loading

Table of Contents