Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 75

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Outputting a comparison result of 32-bit binary data
Instruction symbol
DCMP
DCMPP
DCMP_U
DCMPP_U
■Outputting a band comparison result of 16-bit binary data
Instruction symbol
ZCP
ZCPP
ZCP_U
ZCPP_U
■Outputting a band comparison result of 32-bit binary data
Instruction symbol
DZCP
DZCPP
DZCP_U
DZCPP_U
■Comparing 16-bit binary block data
Instruction symbol
Processing details
BKCMP=, BKCMP<>,
Compares the two sets of 16-bit binary block data specified.
BKCMP>, BKCMP<=,
BKCMP<, BKCMP>=
BKCMP=P, BKCMP<>P,
BKCMP>P, BKCMP<=P,
BKCMP<P, BKCMP>=P
BKCMP=_U, BKCMP<>_U,
BKCMP>_U, BKCMP<=_U,
BKCMP<_U, BKCMP>=_U
BKCMP=P_U, BKCMP<>P_U,
BKCMP>P_U, BKCMP<=P_U,
BKCMP<P_U, BKCMP>=_U
■Comparing 32-bit binary block data
Instruction symbol
Processing details
DBKCMP=, DBKCMP<>,
Compares the two sets of 32-bit binary block data specified.
DBKCMP>, DBKCMP<=,
DBKCMP<, DBKCMP>=
DBKCMP=P, DBKCMP<>P,
DBKCMP>P, DBKCMP<=P,
DBKCMP<P, DBKCMP>=P
DBKCMP=_U,
DBKCMP<>_U,
DBKCMP>_U,
DBKCMP<=_U,
DBKCMP<_U, DBKCMP>=_U
DBKCMP=P_U,
DBKCMP<>P_U,
DBKCMP>P_U,
DBKCMP<=P_U,
DBKCMP<P_U,
DBKCMP>=P_U
Processing details
Compares the 32-bit binary data specified by (s1) with the 32-bit binary data specified by (s2),
and according to the result (small, equal, or large), (d), (d)+1, or (d)+2 is turned on.
Processing details
Compares the band between the 16-bit binary data specified by lower limit value (s1) and the
16-bit binary data specified by upper limit value (s2) with the 16-bit binary data in the device
specified by comparison data (s3). According to the comparison result (below, within zone, or
above), (d), (d)+1, or (d)+2 is turned on.
Processing details
Compares the band between the 32-bit binary data specified by lower limit value (s1) and the
32-bit binary data specified by upper limit value (s2) with the 32-bit binary data in the device
specified by comparison data (s3). According to the comparison result (below, within zone, or
above), (d), (d)+1, or (d)+2 is turned on.
Reference
Page 224 DCMP(P)(_U)
Reference
Page 226 ZCP(P)(_U)
Reference
Page 228 DZCP(P)(_U)
Reference
Page 230
BKCMP(P)(_U)
Reference
Page 232
DBKCMP(P)(_U)
2 CPU MODULE INSTRUCTIONS
2.2 Basic Instructions
2
73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents