EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC QCPU

Mitsubishi MELSEC QCPU User Manual

Mitsubishi MELSEC QCPU
285 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #163 background imageLoading...
Page #163 background image
6 - 12 6 - 12
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.1.5 BIN block data comparisons (BKCMP, BKCMP P)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant
K, H
Other
S1
S2
D
n
[Instruction Symbol] [Execution Condition]
indicates the signs =, < >, >, <=, <, or >=
BKCMP
BKCMP
Command
Command
n
BKCMP P
n
BKCMP
S1 S2
D
S1 S2
D
P
[Set Data]
Set Data Meaning Data Type
S1
Data being compared, or first number of the device where the data being
compared is being stored
BIN 16 bits
S2
First number of the device where the comparison data is being stored BIN 16 bits
D
First number of the device where the results of the comparison
operation are being stored
Bit
n
Number of data blocks compared BIN 16 bits
[Functions]
(1) Compares BIN 16-bit data the nth point from the device number designated by
S1
with BIN 16-
bit data the nth point from the device number designated by
S2
, and stores the result from the
device designated by
D
onward.
(a) If the comparison condition has been met, the device designated by
D
will be turned ON.
(b) If the comparison condition has not been met, the device designated by
D
will be turned
OFF.
(0)
(1)
(0)
OFF
ON
OFF
(1)
ON
(1)
ON
n
(BIN)
(BIN)
(BIN)
1234
5678
5000
(BIN)7777
(BIN)4321
+1
+2
+(n-2)
+(n-1)
n
(BIN)
(BIN)
(BIN)
5321
3399
5678
(BIN)6543
(BIN)
1200
n
Operation Results
S2
S1
S1
S1
S1
S1
>
+1
+2
+(n-2)
+(n-1)
D
+1
+2
+(n-2)
+(n-1)
D
D
D
D
S2
S2
S2
S2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC QCPU and is the answer not in the manual?

Mitsubishi MELSEC QCPU Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC QCPU
CategoryController
LanguageEnglish

Related product manuals