EasyManua.ls Logo

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

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
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-point numbers.
codes
CC0
and
CC1.
After a comparison for greater than,
a
jump can be made to a label
(+
127
words) with the jump operation
3
=
.
.
.
(if RLO
=
1).
Or~glnal
180 IBI
Q1
2
for
lc~lc;lRio
IB
0
=
IB 1
IB
0
<
IB 1
IB
0
>
IB 1
STEP
5
representation
Comparing for
less
than
Control system
flowchart
1~o-j~~
IBI
c2
Q
a12
/Statement
i
Iis
t
L
IB0
L
IB1
>
F
=
81
2
Original
IB0 IB1
I
I
01.4
for
IB
0
=
IB 1
IB
0
<
IB
1
IB
0
>
1%
1
Ladder
diagram
1B017J
Q1
2
IB~
c2
The operand first specified is
corn- The numerical representation of the
pared with the subsequent operand in
operands is taken into account, i.e.
keeping with the comparison function.
the con tents of the accumulators are
The result of the comparison is flagged
interpreted as being fixed-point numbers.
by condition codes
CC0
and
CC1.
After comparing for less than, a jump
can be made to a label
(2
127
words)
with the jump operation
JM
=
...
(if
RLO
=
1).
STEP
5
representation
CC1
0
0
1
Control system
flowchart
IB0
-
IB1
-
-
Q1.4
Statement
\is
t
L
IBO
L
IB1
F
=
01.4
CC0
0
1
0
Ladder
diagram
1~0]7k.4 IB1
C2
RLO
0
1
0

Table of Contents

Related product manuals