6-3
=,<>,>,<=,<,>=
1
2
3
4
4
6
7
8
6.1 Comparison Operation Instructions
6.1.1 BIN 16-bit data comparisons (=,<>,>,<=,<,>=)
Operation Error
(1) There are no operation errors associated with the , , , , , or instruction.
Program Example
(1) The following program compares the data at X0 to XF with the data at D3, and turns Y33 ON
if the data is identical.
[Ladder Mode] [List Mode]
(2) The following program compares BIN value K100 to the data at D3, and establishes
continuity if the data in D3 is something other than 100.
[Ladder Mode] [List Mode]
(3) The following program compares the BIN value 100 with the data at D3, and establishes
continuity if the D3 data is less than 100.
[Ladder Mode] [List Mode]
(4) The following program compares the data in D0 and D3, and if the data in D0 is equal to or
less than the data in D3, establishes continuity.
[Ladder Mode] [List Mode]
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device