Bin 32-Bit Data Comparisons (D=,D<>,D>,D<=,D<,D>=) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

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>=
LD
AND
OR
Setting
Data
S1
S2
Function
(1) Treats BIN 32-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
D=
D<>
D>
D<=
D<
D>=
(3) When
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.
6-4
indicates an instruction symbol of
Command
Command
Command
,
: Data for comparison or head number of the devices where the data for comparison is stored (BIN 32 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
S1
S2
>
S2
S1
Continuity
S2
S1
<
S2
S1
S1
S2
and
are assigned by a hexadecimal constant and the numerical value (8 to F)
S1
S2
High
Basic
performance
D
/
D
S1
S2
S1
S2
S1
S2
J
\
U
\G
Bit
Word
and BIN 32-bit data from device
S1
Instruction
Condition
Symbol in
D=
S1
D<>
S2
D>
S1
D<=
S1
D<
S1
D>=
S1
Process
Redundant Universal
LCPU
/
D
/
D
/
D
/
D
.
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