Section 2
Unconditional program jumps
Function
NC programs process their blocks in the sequence in which they
were written.
The jump destination can be a block with a label or with a block num-
ber. The block must be located within the program.
Program
GOTOF label
GOTOB label
—————————————————————————————————
Conditional program jumps
Function
Jump conditions are formulated after the if instruction. If the jump
condition (value not zero) is satisfied, the jump takes place.
The jump destination can be a block with a label or with a block num-
ber. The block must be located within the program.
Program
IF condition GOTOF label
IF condition GOTOB label
N10 IF R1==1 GOTOF LABEL1
...
N90 LABEL1:
N100 IF R1>1 GOTOF LABEL2
...
N150 LABEL2:
...
N800 LABEL3:
...
N1000 IF R45==R7+1 GOTOB LABEL3
SINUMERIK 802D sl Operating and Service Training Manual
; jump forward to label
; jump backwards to label
; jump forward to label
; jump backwards to label
Page 3
Notes
C94
C94