Comparison Operation Instructions; Bin 16-Bit Data Comparisons (=,<>,>,<=,<,>=) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

=,<>,>,<=,<,>=
6.1

Comparison Operation Instructions

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents