173
D=, D<>, D>, D<=, D<, D>=
1
2
3
4
6
7
8
6.1
C
ompar
ison Operat
ion In
str
uctions
6.1.2
D
=, D<>, D>, D<=, D<, D>=
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]
,
: Data for comparison or head number of the devices where the data for comparison is stored (BIN 32 bits)
D=, D<>, D>, D<=, D<, BIN 32-bit data comparisons
D>=
6.1.2
D=, D<>, D>, D<=, D<, D>=
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device
Basic
Process
High
performance
Redundant Universal
LCPU
LD
AND
OR
S1
S2
S1
S2
S1
S2
indicates an instruction s
y
mbol of .
D
D
D
D
D
D
/
/
/
/
/
Command
Command
Command
S1
S2
S1
S2