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
302 System Manual, V4.2, 09/2016, A5E02486680-AK
8.8
Program control operations
8.8.1
JMP (Jump if RLO = 1), JMPN (Jump if RLO = 0), and Label (Jump label)
instructions
Table 8- 129 JMP, JMPN, and LABEL instruction
LAD
FBD
SCL
Description
See the GOTO (Page 325)
statement.
Jump if RLO (result of logic operation) = 1:
If there is power flow to a JMP coil (LAD), or if the
JMP box input is true (FBD), then program execution
continues with the first instruction following the speci-
fied label.
Jump if RLO = 0:
If there is no power flow to a JMPN coil (LAD), or if
the JMPN box input is false (FBD), then program
execution continues with the first instruction following
the specified label.
Destination label for a JMP or JMPN jump instruction.
1
You create your label names by typing in the LABEL instruction directly. Use the parameter helper icon to select the
available label names for the JMP and JMPN label name field. You can also type a label name directly into the JMP or
JMPN instruction.
Table 8- 130 Data types for the parameters
Parameter
Data type
Description
Label_name Label identifier Identifier for Jump instructions and the corresponding jump desti-
nation program label
Each label must be unique within a code block.
You can jump within a code block, but you cannot jump from one code block to another
code block.
You can jump forward or backward.
You can jump to the same label from more than one place in the same code block.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals