Comparison Operation Instruction - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS

6.1 Comparison Operation Instruction

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents