OPTIMUM
M A S C H I N E N - G E R M A N Y
808D
Page 370
Operating and Programming — Milling
Additional Information Part 2
Brief instruction 808D Milling
SEQUENCE
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 command requires a
separate block.
GOTOF+ label: Jump forward (in the direction of the end block of the program)
GOTOB+ label:Jump backward (in the direction of the start block of the program)
Label: Name of the selected string (standing for the required jump program block) or
block number
Program execution
Program
jump
Unconditional jump example
N10 G0 X...Z...
...
...
N40 GOTOF LABEL0; jumps to label LABEL0
...
...
N70 LABEL0: R1=R2+R3
N80 GOTOF LABEL1; jumps to label LABEL1
N90 LABLE2:
M30; program ends
N110 LABEL1:
...
N130 GOTOB LABEL2 ;jumps to label LABEL2