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

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

Advertisement

Programming

3.10 Program jumps

3.10
Program jumps
3.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.
Labelss can be freely selected, but must contain a minimum of 2 and a maximum of 8 letters
o4r numbers of which the first two characters must be letters or underscores.
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; LABEL1 is the label, jump destination
...
TR789: G0 X10 Z20 ; TR789 is label, jump destination
- no block number available
N100 ... ; Block number may be jump destination
...
3.10.2

Unconditional program jumps

Functionality
NC programs process their blocks in the sequence in which they were arranged when they
were written.
The processing sequence can be changed by introducing program jumps.
The jump destination can be a block with a label or with a block number. This block must be
located within the program.
The unconditional jump instruction requires a separate block.
Programming
GOTOF
GOTOB
Label
3-78
Label
;Sprung vorwärts (in Richtung letzter Satz des Programmes)
Label
;Sprung rückwärts (in Richtung erster Satz des Programmes)
;gewählte Zeichenfolge für Label (Sprungmarke) oder Satznummer
Programming and Operating manual, 06/2006, 6FC5398-4CP10-0BA0
Grinding

Advertisement

Table of Contents
loading

Table of Contents