Mitsubishi MELSEC QCPU Programming Manual page 155

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS
6.1.2 BIN 32-bit data comparisons (D = , D < > , D > , D <= ,D < , D >= )
Internal Devices
Set
(System, User)
Data
Bit
Word
S1
S2
[Instruction Symbol] [Execution Condition]
LD
AND
OR
[Set Data]
Set Data
S1
S2
[Functions]
(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) In cases where hexadecimal constants have been designated by
numerical value (8 to F) where the highest bit (b31) will be 1 has been designated, the value
will be read as a negative BIN value number for the purposes of the comparison.
(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
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
MELSECNET/10(H)
File
Direct J \
Register
Bit
Comparative data, or device number where comparative data is stored
as an A contact, and performs comparison operation.
S2
Comparison
Condition
Operation
Result
S1
S2
S1
S2
S1
S2
Continuity
S1
S2
S1
S2
S1
S2
QCPU
PLC CPU
Basic
High Performance
Usable Devices
Special
Function
Module
Word
U \G
indicates the signs D = , D < > , D > , D <= ,D < , or D> =
S1
S1
S1
Meaning
and BIN 32-bit data from device
S1
Instruction
Symbol
in
D
D
D
D
D
D
MELSEC-Q/QnA
QnA
Process CPU
Index
Constant
Register
Other
K, H
Zn
S2
S2
S2
Data Type
BIN 32 bits
Comparison
Condition
Operation
Result
S1
S2
S1
S2
S1
S2
Non-continuity
S1
S2
S1
S2
S1
S2
and
, or when a
S1
S2
6 - 4
Q4AR

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents