Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 53

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

■Comparing 16-bit binary data band
Instruction symbol
ZCP
ZCPP
ZCP_U
ZCPP_U
■Comparing 32-bit binary data band
Instruction symbol
DZCP
DZCPP
DZCP_U
DZCPP_U
■Comparing 16-bit binary block data
Instruction symbol
BKCMP=, BKCMP<>, 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>=P_U
■Comparing 32-bit binary block data
Instruction symbol
DBKCMP=, DBKCMP<>,
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
Description
(s1)>(s3): (d) is on
(s1)(s3)(s2): (d) + 1 is on
(s3)>(s2): (d) + 2 is on
Description
[(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
Description
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).
Description
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).
Reference
Page 173
Reference
Page 175
Reference
Page 177
Reference
Page 179
3 CPU MODULE INSTRUCTION
3.2 Basic Instruction
3
51

Hide quick links:

Advertisement

loading