Basic instructions
7.8 Program control operations
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
255
JMP_LIST (Define jump list) instruction
Table 7- 94 JMP_LIST instruction
0: GOTO dest0;
1: GOTO dest1;
2: GOTO dest2;
[n: GOTO destn;]
END_CASE;
The JMP_LIST instruction acts as a program jump distributor to control
the execution of program sections. Depending on the value of the K
input, a jump occurs to the corresponding program label. Program
execution continues with the program instructions that follow the
destination jump label. If the value of the K input exceeds the number of
labels - 1, then no jump occurs and processing continues with the next
program network.
Table 7- 95 Data types for parameters
Jump distributor control value
DEST0, DEST1, ..,
DESTn.
Program Labels Jump destination labels corresponding to specific K parameter values:
If the value of K equals 0, then a jump occurs to the program label
assigned to the DEST0 output. If the value of K equals 1, then a jump
occurs to the program label assigned to the DEST1 output, and so on. If
the value of the K input exceeds the (number of labels - 1), then no jump
occurs and processing continues with the next program network.