Programming
10.10 Program jumps
Cylindrical grinding
310
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
10.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 label
;Jump forward (in the direction of the last block of the program)
GOTOB label
;Jump backwards (in the direction of the first block of the
program)
Label
;Selected string for the label (jump label) or block number
3URJUDPH[HFXWLRQ
1*;=
1*272)/$%(/MXPSVWRODEHO/$%(/
1/$%(/5 55
1*272)/$%(/MXPSVWRODEHO/$%(/
/$%(/;=
10(QGRISURJUDP
/$%(/;=
1*272%/$%(/MXPSVWRODEHO/$%(/
Figure 10-35 Unconditional jumps using an example