
Chapter 3. Instructions
3-7
Comparison instructions (Continued)
Mnemonic
symbol
Function
No.
Ladder symbol
Unit
Contents of processing
CPU
Page
LOAD=
AND=
OR=
028
094
188
16 bits
The input condition is switched on
when [S1] = [S2]
★
5-21
5-22
5-23
LOAD>
AND>
OR>
038
096
196
16
bits
The input condition is switched on
when [S1] > [S2] (Signed
comparison)
★
5-21
5-22
5-23
LOAD<
AND<
OR<
048
098
198
16 bits
The input condition is switched on
when [S1] < [S2] (Signed
comparison)
★
5-21
5-22
5-23
LOAD>=
AND>=
OR>=
058
106
216
16 bits
The input condition is switched on
when [S1] >= [S2] (Signed
comparison)
★
5-21
5-22
5-23
LOAD<=
AND<=
OR<=
068
108
218
16 bits
The input condition is switched on
when [S1] <= [S2] (Signed
comparison)
★
5-21
5-22
5-23
LOAD<>
AND<>
OR<>
078
118
228
16 bits
The input condition is switched on
when [S1] <> [S2] (Not equal)
★
5-21
5-22
5-23
=
S1 S2
=
S1 S2
=
S1 S2
>
S1 S2
>
S1 S2
>
S1 S2
<
S1 S2
<
S1 S2
<
S1 S2
>=
S1 S2
>=
S1 S2
>=
S1 S2
<=
S1 S2
<=
S1 S2
<=
S1 S2
<>
S1 S2
<>
S1 S2
<>
S1 S2