6-5
D=,D<>,D>,D<=,D<,D>=
1
2
3
4
4
6
7
8
6.1 Comparison Operation Instructions
6.1.2 BIN 32-bit data comparisons (D=,D<>,D>,D<=,D<,D>=)
Operation Error
(1) There are no operation errors associated with the D , D , D , D , D or D
instruction.
Program Example
(1) The following program compares the data at X0 to X1F with the data at D3 and D4, and
turns Y33 ON, if the data at X0 to X1F and the data at D3 and D4 match.
[Ladder Mode] [List Mode]
(2) The following program compares BIN value K38000 to the data at D3, and D4, and
establishes continuity if the data in D3 and D4 is something other than 38000.
[Ladder Mode] [List Mode]
(3) The following program compares BIN value K 80000 to the data at D3 and D4, and
establishes continuity if the data in D3 and D4 is less than 80000.
[Ladder Mode] [List Mode]
(4) The following program compares the data in D0 and D1 with the data in D3 and D4, and
establishes continuity if the data in D0 and D1 is equal to or less than the data in D3 and D4.
[Ladder Mode] [List Mode]
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device