Jmp_List (Define Jump List) Instruction - Siemens S7-1200 System Manual

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

7.8.2

JMP_LIST (Define jump list) instruction

Table 7- 94
JMP_LIST instruction
LAD / FBD
SCL
,
CASE k OF
END_CASE;
Table 7- 95
Data types for parameters
Parameter
Data type
K
UInt
DEST0, DEST1, ..,
Program Labels
DESTn.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Description
The JMP_LIST instruction acts as a program jump distributor to control
0: GOTO dest0;
the execution of program sections. Depending on the value of the K
1: GOTO dest1;
input, a jump occurs to the corresponding program label. Program
execution continues with the program instructions that follow the
2: GOTO dest2;
destination jump label. If the value of the K input exceeds the number of
[n: GOTO destn;]
labels - 1, then no jump occurs and processing continues with the next
program network.
Description
Jump distributor control value
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.
Basic instructions
7.8 Program control operations
255

Advertisement

Table of Contents
loading

Table of Contents