Description
The jump label identifies a destination network in which the execution of the program can be resumed after the execution of a jump instruction.
The jump label and the instruction in which the jump label is specified must be located in the same block. The name of a jump label can only be assigned once in a block. The number of jump labels depends on the firmware version:
-
S7-1200: A minimum of 2048 jump labels is possible.
-
S7-1500: A minimum of 8192 jump labels is possible.
Only one jump label can be placed in a network. Each jump label can jump to several locations.
Adhere to the following grammatical rules for jump labels:
-
Letters (a to z, A to Z)
-
A combination of letters and numbers. Check that the order is correct, i.e. first the letters, then the numbers (a - z, A - Z, 0 - 9).
-
Special characters or a combination of letters and numbers must not be used in reverse order, i.e. first the numbers and then the letters (0-9, a - z, A - Z).
Example
The following example shows how the instruction works:
If the "TagIn_1" operand has signal state "1", the instruction is executed. The linear execution of the program is interrupted and continues in Network 3, which is identified by the jump label CAS1. If the "TagIn_3" input has the signal state "1", output "TagOut_3" is reset.