EasyManua.ls Logo

Siemens Simatic S5-101U - Jump Operations

Siemens Simatic S5-101U
43 pages
Print Icon
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...
5.2.4
Jump
operations
The jump destination for unconditional
and conditional jumps is specified as
a symbolic address (max.
4
characters).
In the case of the
PG
605U/ and
PG
615U
programmers, jump labels
MO...
M99
can
be assigned. The symbolic parameter
of the jump statement is identical to
the symbolic address of the statement
to which the jump is made. When pro-
gramming, make sure that the absolute
jump displacement does not exceed
+l27
words and note that a
STEP
5
statement
may consist of more than one word.
Jumps over segment boundaries are not
permissible.
All
jump operations (with the exception
of JU) depend on the RLO and the
con-
di tion codes in the processor of the
programmable controller.
Operatian
JU
=
I]
JC
=
1-1
JZ
=
0
JN
1-1
JP
=
-1
JM
=
-1
JO
=
I
Description
Unconditional jump
The uncondi tional jump
i
S
executed independent-
ly
of any conditions.
Conditional jump
The condi tional jump
is executed
if
the
RLO is
"l".
If
the
result of the logic
operation is
"ON,
the
jump is not executed
and the RLO is set to
"l"
Jump
if
contents of
accumulator zero.
This jump is executed
if
the contents of
the accumulator are zero.
If
the contents are
not zero, the jump
is not executed. The
RLO is not changed.
Jump
'if
contents of
accumulator not zero.
This jump is executed
if
the contents of
the accumulator are
'
not zero.
If
the contents
are zero, the jump
is not executed. The
RLO is not changed.
Jump
if
contents of
accumulator positive.
The jump is executed
if
the contents of the ac-
cumul ator are greater
than zero.
If
the con-
tents of the accumulator
are zero or less than
zero, the jump is not
executed. The RLO is
not changed.
Jump
if
contents of
accumulator negative.
This jump is executed
if
the contents of
the accumulator are less
than zero.
If
the contents
are zero or greater
than zero, the jump is
not executed. The RLO is
not changed.
Jump on overflow
This jump is executed when
an overflow occurs.
If
there
is no overflow, the
jump is not executed. The
RLO is not changed.
Enter symbolic address
(max.
4
characters)
5.20

Table of Contents

Related product manuals