Comparison Instructions (16-Bit Integers)
72
S7-400 Instruction List
A5E00267845-01
Comparison Instructions (16-Bit Integers)
Comparing the 16-bit integers in ACCU1-L and ACCU2-L. RLO = 1 if the condition is satisfied.
Instruc-
Address
Description
Length
in
Execution Time in
s
Instruc-
tion
Address
ID
Description
Length
in
Words
CPU 412
CPU 414
CPU 416
CPU 417
==I
ACCU2-L=ACCU1-L
1
0.1
0.06
0.04
0.03
<>I
ACCU2-L
0
ACCU1-L
1
0.1
0.06
0.04
0.03
<I
ACCU2-L<ACCU1-L
1
0.1
0.06
0.04
0.03
<=I
ACCU2-L<=ACCU1-L
1
0.1
0.06
0.04
0.03
>I
ACCU2-L>ACCU1-L
1
0.1
0.06
0.04
0.03
>=I
ACCU2-L>=ACCU1-L
1
0.1
0.06
0.04
0.03
Status word for:
==I, <>I, <I, <=I, >I,
>=I
BR
CC1
CC0
OV
OS
OR
STA
RLO
/FC
Instruction evaluates:
–
–
–
–
–
–
–
–
–
Instruction affects:
–
Yes
Yes
0
–
0
Yes
Yes
1