Program Jumps - Siemens sinumerik 802d sl Operation And Programming Manual

Hide thumbs Also See for sinumerik 802d sl:
Table of Contents

Advertisement

8.8

Program jumps

8.8.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, and 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
...
TR789: G0 X10 Z20
N100 ...
...
8.8.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 Label
GOTOB Label
Label
SINUMERIK 802D sl Operation and Programming Nibbling (BP-N), 06/2006 Edition
6FC5 398-3CP10-0BA0
; Jump forward (in the direction of the last block in the program)
; Jump backwards (in the direction of the first block in the program)
; Selected string for the label (jump label) or for the block number
8.8
; LABEL1 is the label, jump destination
; TR789 is the label; jump destination
– no block number exists
; Block number can be jump destination
Programming
Program jumps
8-179

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents