Program Jumps - Siemens SINUMERIK 808D User Manual

Programming and operating manual (milling)
Hide thumbs Also See for SINUMERIK 808D:
Table of Contents

Advertisement

11.14

Program jumps

11.14.1
Unconditional program jumps
Fu n ctionality
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 l a bel or with a b l ock number. This block must be located within the program.
The unconditional jump instruction requires a separate block.
Programming
GOTOF label
GOTOB label
Label
See the following illustration for an example of unconditional jumps:
11.14.2
Conditional program jumps
Fu n ctionality
Ju mp conditions are formulated after the IF i n struction. If the jump condition (value not zero) is satisfied, the jump takes
place.
The jump destination can be a block with a l a bel or with a b l ock number. This block must be located within the program.
Conditional jump instructions require a separate block. Several conditional jump instructions can be located in the same
block.
By using conditional program jumps, you can also considerably shorten the program, if necessary.
Programming
IF condition GOTOF label
IF condition GOTOB label
GOTOF
GOTOB
Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA6, 09/2017
;Jump forward (in the direction of the last block of the program)
;Jump backwards (in the direction of the first block of the program)
;Selected string for the label (jump label) or block number
;Jump forward
;Jump backwards
;Jump direction forward (in the direction of the last block of the program)
;Jump direction backwards (in the direction of the first block of the program)
129

Advertisement

Table of Contents
loading

Table of Contents