Programming principles
1.10 Program jumps
Turning Part 2: Programming (Siemens instructions)
90 Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
1.10 Program jumps
1.10.1 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 1-49 Unconditional jumps using an example