Basic instructions
8.8 Program control operations
S7-1200 Programmable controller
302 System Manual, V4.2, 09/2016, A5E02486680-AK
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
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-
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
Destination label for a JMP or JMPN jump instruction.
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
Table 8- 130 Data types for the parameters
Label_name Label identifier Identifier for Jump instructions and the corresponding jump desti-
● 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.