EasyManua.ls Logo

Siemens SIMATIC S7-1200

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic instructions
8.8 Program control operations
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
303
8.8.2
JMP_LIST (Define jump list)
Table 8- 131 JMP_LIST instruction
LAD / FBD
SCL
Description
CASE k OF
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 exe-
cution 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 8- 132 Data types for parameters
Parameter
Data type
Description
K
UInt
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 as-
signed to the DEST0 output. If the value of K equals 1, then a jump oc-
curs 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.
For LAD and FBD: When the JMP_LIST
box is first placed in your program, there are two
jump label outputs. You can add or delete jump destinations.
Click the create icon inside the box (on the left of the last DEST parameter)
to add new outputs for jump labels.
Right-click on an output stub and select the "Insert output" command.
Right-click on an output stub and select the "Delete" command.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals