EasyManua.ls Logo

Siemens Simatic S5-101U - Comparing for Greater than or Equal to; Comparing for Less than or Equal to

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...
Comparing for greater than or equal to
The operand first specified is compared
The numerical representation of the
with the subsequent operand in keeping
operands is taken into account, i.e.
with the comparison function. The result
the con tents of the accumulators are
of the comparison is flagged by condition
interpreted as being fixed-pobnt num-
codes
CC0
and
CC1.
bers.
After comparison for greater than or
equal to,
a
jump can be made to a label
(+
127
words) with the jump operation
Jr
(if RLO
=
1
).
Original
IB0
IB1
Q1
3
Comparing for
less
than or equal to
STEP
5
representation
RLO
1
0
1
for
IB
0
=
IB 1
IB
0
<
IB 1
IB
0
>
IB 1
The operand first specified is compared
The numerical representation
of. the
with the subsequent operand in keeping operands is taken into account, i.e.
with the comparison function. The result the contents of the accumulators are
of the comparison is flagged by condition
interpreted as being fixed-point numbers.
codes
CC0
and
CC1.
After comparing for less than or equal
to, a jump can be made to a label
(+
-
127
words) with the jump operation
JC
=
.
.
.
(if
RLO
=
1).
Control system
flowchart
Statement
list
L
IB0
Or~ginal
IB0
IB1
0
01.5
Ladder
diagram
CC1
0
0
1
L
IB1
>=F
=
Q1
3
CC0
0
1
0
STEP
5
representation
I01
C2
for
IB 0
=
IB 1
IB
0
<
IB
1
IB
0
>
IB 1
Control system
flowchart
Statement
list
L
IB0
CC0
0
1
0
CC1
0
0
1
Ladder
diagram
RLO
1
1
0
L
IB1
<=F
=
Q1
5
IB1
Q
Cl1
5

Table of Contents

Related product manuals