8.2.10 Jump Operations - Siemens SIMATIC S5-90U System Manual

Table of Contents

Advertisement

STEP 5 Operations

8.2.10 Jump Operations

Table 8.20 provides an overview of the jump operations. An example follows the table
Operation
Operand
JU =
JC=
JZ =
JN =
JP =
JM =
JO =
ID
Jump label (up
to 4 characters)
8-56
Table 8-20. Overview of Jump Operations
Jump unconditionally
The unconditional jump is executed independently of conditions.
Jump conditionally
The conditional jump is executed if the RLO is "1". If the RLO is
"0", the statement is not executed and the RLO is set to "1".
Jump if the result is "zero"
The jump is executed only if CC 1 = 0 and CC 0 = 0
The RLO is not changed.
Jump if the result is "not zero"
The jump is executed only if CC 1 CC 0
The RLO is not changed.
Jump if the result is positive
The jump is executed only if CC 1 = 1 and CC 0 = 0
The RLO is not changed.
Jump if the result is negative
The jump is executed only if CC 1 = 0 and CC 0 = 1
The RLO is not changed.
Jump on overflow
The jump is executed if an overflow occurs. Otherwise the jump is
not executed. The RLO is not changed.
Meaning
EWA 4NEB 812 6115-02b
S5-90U/S5-95U
.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s5-95u

Table of Contents