172
=, <>, >, <=, <, >=
CHAPTER 6
BASIC INSTRUCTIONS
6.1
Comparison Operation Instructions
,
: Data for comparison or head number of the devices where the data for comparison is stored (BIN 16 bits)
Function
(1) Treats BIN 16-bit data from device designated by and BIN 16-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
(b15) is "1" is designated as a constant, the value is considered as a negative BIN value in comparison operation.
Operation Error
(1) There is no operation error in the ,
, ,
, , or
instruction.
=, <>, >, <=, <, >=
BIN 16-bit data comparisons
6.1.1
=, <>, >, <=, <, >=
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
=
=
Continuity
=
Non-continuity
< >
< >
=
>
>
>
<=
<=
>
<
<
<
>=
>=
<
Basic
Process
High
performance
Redundant Universal
LCPU
LD
AND
OR
S1
S2
S1
S2
S1
S2
indicates an instruction s
y
mbol of .
/
/
/
/
/
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