Programming
10.10 Program jumps
Cylindrical grinding
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
309
10.10
Program jumps
10.10.1
Jump destination for program jumps
Functionality
A label or a block number serve to mark blocks as jump destinations for program jumps.
Program jumps can be used to branch to the program sequence.
Labels can be freely selected, but must contain a minimum of 2 and a maximum of 8 letters
or numbers of which the first two characters must be letters or underscore characters.
Labels that are in the block that serves as the jump destination are ended by a colon. They
are always at the start of a block. If a block number is also present, the label is located after
the block number.
Labels must be unique within a program.
Programming example
N10 LABEL1: G1 X20
;LABEL1 is the label, jump destination
...
TR789: G0 X10 Z20
;TR789 is the label, jump destination
- No block number existing
N100 ...
;Block number can be jump target
...