Bin 32-Bit Data Band Comparisons - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

BIN 32-bit data band comparisons

DZCP(P)
High
Basic
Process
performance
• LCPU: The serial number (first five digits) is "16042" or later.
• QnUDVCPU: The serial number (first five digits) is "16043" or later.
DZCP
DZCPP
(S1): Start number of the devices where the lower limit value is stored (BIN 32 bits)
(S2): Start number of the devices where the upper limit value is stored (BIN 32 bits)
(S3): Head number of device where data for comparison or comparison data is stored (BIN 32-bit)
(D): Head number of devices where the comparison results are stored (Bit)
Setting
Internal device
data
Bit
(S1)
(S2)
(S3)
(D)
Processing details
• One of (D), (D)+1, and (D)+2 turns on depending on the results (small, within the band, large) after comparison data (S3),
(S3)+1 is compared with the lower limit values (S1), (S1)+1 and the upper limit values (S2), (S2)+1.
Contact
DZCP
D
D
+1
D +2
• 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.
Error
Error details
code
4101
The range of 3 points from the device specified in (D) exceeds the range of
the corresponding device.
Precautions
• Set values smaller than the upper limit values (S2), (S2)+1 as the lower limit values (S1), (S1)+1. If the lower limit values
(S1), (S1)+1 are larger than the upper limit values (S2), (S2)+1, the upper limit values (S2), (S2)+1 will be handled as the
same values as the lower limit values (S1), (S1)+1.
6 BASIC INSTRUCTIONS
210
6.1 Comparison Operation Instructions
Ver.
Ver.
Redundant
Universal
LCPU
R, ZR
Word
S1
S2
S3
Turns on when
[
S1
,
S1
+1
]
Turns on when
[
S1
,
S1
+1
]
Turns on when
Command
DZCP
Command
DZCPP
J\
Bit
Word
D
>
[
S3
,
S3
+1
]
[
S3
,
S3
+1
]
[
S2
,
[
S3
,
S3
+1
]
>
[
S2
,
Q00J/
Q00/
Q01
S1
S2
S3
S1
S2
S3
U\G
Zn
S2
+1
]
S2
+1
]
QnH
QnPH
QnPRH
D
D
Constant
Others
K, H
QnU
LCPU

Advertisement

Table of Contents
loading

Table of Contents