EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - BIN 16-Bit Data Comparisons (Small, Match, Large)

Mitsubishi Electric MELSEC-Q/L
1084 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
Loading...
6 BASIC INSTRUCTIONS
6.1 Comparison Operation Instructions
205
6
BIN 16-bit data comparisons (small, match, large)
CMP(P)
Processing details
One of (D), (D)+1, and (D)+2 turns on depending on the results (small, match, large) after comparison data (S1) and
comparison data (S2) are compared.
When the contact turns off, (D) to (D)+2 hold the conditions immediately before the contact turns on and off.
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
LCPU: The serial number (first five digits) is "16042" or later.
QnUDVCPU: The serial number (first five digits) is "16043" or later.
(S1): Comparison data or start number of the devices where the comparison data is stored (BIN 16 bits)
(S2): Comparison data or start number of the devices where the comparison data is stored (BIN 16 bits)
(D): Head number of the devices where the comparison result will be stored (bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S1) 
(S2) 
(D) 
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101 The range of 3 points from the device specified in (D) exceeds the range of
the corresponding device.

Basic
High
performance
Process
Redundant
Universal
Ver.
LCPU
Ver.
DS2S1
CMPP
CMP
CMPP
CMP
DS2S1
Command
Command
CMP
Contact
S1 S2 D
S1 S2
S1 S2
>
=
<S2S1
Turns on when
Turns on when
Turns on when
D
D
D+2
+1

Table of Contents

Related product manuals