6-4
D=,D<>,D>,D<=,D<,D>=
6.1.2 BIN 32-bit data comparisons (D=,D<>,D>,D<=,D<,D>=)
D=,D<>, D>,D<=,D<,D>=
Function
(1) Treats BIN 32-bit data from device designated by and BIN 32-bit data from device
designated by as an a normally-open contact, and performs comparison operation.
(2) The results of the comparison operations for the individual instructions are as follows:
(3) When and are assigned by a hexadecimal constant and the numerical value (8 to F)
whose most significant bit (b31) is "1" is designated as a constant, the value is considered
as a negative BIN value in comparison operation.
(4) Data used for comparison should be designated by a 32-bit instruction (DMOV instruction,
etc.).
If designation is made with a 16-bit instruction (MOV instruction, etc.), comparisons of large
and small values cannot be performed correctly.
, : Data for comparison or head number of the devices where the data for comparison is stored (BIN 32 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
––
––
Instruction
Symbol in
Condition
Comparison
Operation Result
Instruction
Symbol in
Condition
Comparison
Operation Result
D=
=
Continuity
D=
Non-continuity
D<>
D<>
=
D>
>
D>
D<=
D<=
>
D<
<
D<
D>=
D>=
<
Basic
Process
High
performance
Redundant
Universal
LD
AND
OR
S1
S2
S1
S2
S1
S2
indicates an instruction symbol of .
DD DD D D
////
/
Command
Command Command
S1 S2
S1
S2
S1
S2
S2
S1 S1
S2
S1
S2 S2
S1
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1 S2
S1
S2