EasyManua.ls Logo

Mitsubishi MELSEC iQ-F FX5 series - Page 49

Mitsubishi MELSEC iQ-F FX5 series
888 pages
Print Icon
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...
2 CPU MODULE INSTRUCTION
2.2 Basic instruction
47
2
Comparison output 32-bit binary data
Comparing 16-bit binary data band
Comparing 32-bit binary data band
Comparing 16-bit binary block data
Comparing 32-bit binary block data
Instruction symbol Description Reference
DCMP [(s1)+1, (s1)] > [(s2)+1, (s2)]: (d) is on
[(s1)+1, (s1)] = [(s2)+1, (s2)]: (d) + 1 is on
[(s1)+1, (s1)] < [(s2)+1, (s2)]: (d) + 2 is on
Page 151
DCMPP
DCMP_U
DCMPP_U
Instruction symbol Description Reference
ZCP (s1)>(s3): (d) is on
(s1)(s3)(s2): (d) + 1 is on
(s3)>(s2): (d) + 2 is on
Page 153
ZCPP
ZCP_U
ZCPP_U
Instruction symbol Description Reference
DZCP [(s1)+1, (s1)] > [(s3)+1, (s3)]: (d) is on
[(s1)+1, (s1)][(s3)+1, (s3)][(s2)+1, (s2)]: (d) + 1 is on
[(s3)+1, (s3)]>[(s2)+1, (s2)]: (d) + 2 is on
Page 155
DZCPP
DZCP_U
DZCPP_U
Instruction symbol Description Reference
BKCMP=, BKCMP<>, BKCMP>,
BKCMP<=, BKCMP<, BKCMP>=
Compares the 16-bit binary data in the device area ((n) points) from (s1) with the 16-bit binary
data in the device area ((n) points) from (s2), and stores the result in the device area ((n)
points) from (d).
Page 157
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>=P_U
Instruction symbol Description Reference
DBKCMP=, DBKCMP<>,
DBKCMP>, DBKCMP<=,
DBKCMP<, DBKCMP>=
Compares the 32-bit binary data in the device area ((n) points) from (s1) with the 32-bit binary
data in the device area ((n) points) from (s2), and stores the result in the device area ((n)
points) from (d).
Page 159
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

Table of Contents

Related product manuals