142
Basic Instructions
3.26.2 Comparison Operation Instructions :
16-bit data comparison ... =, <>, >, <=, <, >=
Functions
(1) Handled as an N/O contact and performs 16-bit comparison operation.
(2) The comparison operation results are as indicated below.
Execution Conditions
The execution conditions of LD , AND and OR are as indicated below.
Usable Devices
Digit
Designation
Error
Flag
Bit devices Word (16-bit) devices Constants Level
XYMTCDKHN
(M9010,
M9011)
{{{{{{{{
K1 to K4
{
{{{{{{{{
Instruction
symbol in
Condition
Comparison
Operation
Result
Instruction
symbol in
Condition
Comparison
Operation
Result
=
=
Energize
=
≠
Not energize
<>
≠
<>
=
>
>
>
≤
<=
≤
<=
>
<
<
<
≥
>=
≥
>=
<
Instruction Execution Condition
LD
Executed every scan.
AND
Executed only when the preceding contact instruction is on.
OR
Executed every scan.
S1
S2
Instruction symbol in
=, <>, >, <=, <, >=
Compared data or head
numbers of devices that
store compared data
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