Comparing 32-Bit Binary Data Band - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Comparing 32-bit binary data band

DZCP(P)(_U)
These instructions perform a comparison operation on the 32-bit binary data in the device specified by (s1) and the 32-bit
binary data in the device specified by (s2) with the 32-bit binary data in the device specified by comparison source (s3), and
output the comparison result (below, within zone, above) to the device specified by (d) onwards.
Ladder diagram
(s1)
(s2)
(s3)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
DZCP(P)
Lower limit comparison data or the head device
where the comparison data is stored
DZCP(P)_U
(s2)
DZCP(P)
Upper limit comparison data or the head device
where the comparison data is stored
DZCP(P)_U
(s3)
DZCP(P)
Comparison source data or the head device
where the comparison source data is stored
DZCP(P)_U
(d)
The starting bit device to which the comparison
result is output
■Applicable devices
Operand
Bit
X, Y, M, L,
U\G T, ST,
SM, F, B, SB
(s1)
(s2)
(s3)
(d)
*1 T, ST, C cannot be used.
(d)
Word
T, ST, C, D,
U\G
C, LC
W, SD, SW, R
*1
Structured text
ENO:=DZCP(EN,s1,s2,s3,d);
ENO:=DZCPP(EN,s1,s2,s3,d);
Range
Data type
-2147483647 to +2147483647
32-bit signed binary
0 to 4294967295
32-bit unsigned binary
-2147483647 to +2147483647
32-bit signed binary
0 to 4294967295
32-bit unsigned binary
-2147483647 to +2147483647
32-bit signed binary
0 to 4294967295
32-bit unsigned binary
Bit
Double word Indirect
specification
Z
LC
LZ
6.1 Comparison Operation Instructions
ENO:=DZCP_U(EN,s1,s2,s3,d);
ENO:=DZCPP_U(EN,s1,s2,s3,d);
Data type (label)
ANY32
ANY32_U
ANY32
ANY32_U
ANY32
ANY32_U
ANY_BOOL
Constant
Others
K, H
E
$
6 BASIC INSTRUCTIONS
155
6

Advertisement

Table of Contents
loading

Table of Contents