Download Print this page

Basic Instruction - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

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

Advertisement

3.2

Basic Instruction

Comparison operation instruction
■Comparing 16-bit binary data
Instruction symbol
LD=, AND=, OR=
LD=_U, AND=_U, OR=_U
LD<>, AND<>, OR<>
LD<>_U, AND<>_U, OR<>_U
LD>, AND>, OR>
LD>_U, AND>_U, OR>_U
LD<=, AND<=, OR<=
LD<=_U, AND<=_U, OR<=_U
LD<, AND<, OR<
LD<_U, AND<_U, OR<_U
LD>=, AND>=, OR>=
LD>=_U, AND>=_U, OR>=_U
■Comparing 32-bit binary data
Instruction symbol
LDD=, ANDD=, ORD=
LDD=_U, ANDD=_U, ORD=_U
LDD<>, ANDD<>, ORD<>
LDD<>_U, ANDD<>_U,
ORD<>_U
LDD>, ANDD>, ORD>
LDD>_U, ANDD>_U, ORD>_U
LDD<=, ANDD<=, ORD<=
LDD<=_U, ANDD<=_U,
ORD<=_U
LDD<, ANDD<, ORD<
LDD<_U, ANDD<_U, ORD<_U
LDD>=, ANDD>=, ORD>=
LDD>=_U, ANDD>=_U,
ORD>=_U
■Comparison output 16-bit binary data
Instruction symbol
CMP
CMPP
CMP_U
CMPP_U
■Comparison output 32-bit binary data
Instruction symbol
DCMP
DCMPP
DCMP_U
DCMPP_U
3 CPU MODULE INSTRUCTION
50
3.2 Basic Instruction
Description
(s1)=(s2): Conductive
(s1)(s2): Non-Conductive
(s1)(s2): Conductive
(s1)=(s2): Non-Conductive
(s1)>(s2): Conductive
(s1)(s2): Non-Conductive
(s1)(s2): Conductive
(s1)>(s2): Non-Conductive
(s1)<(s2): Conductive
(s1)(s2): Non-Conductive
(s1)(s2): Conductive
(s1)<(s2): Non-Conductive
Description
[(s1)+1, (s1)] = [(s2)+1, (s2)]: Conductive
[(s1)+1, (s1)]  [(s2)+1, (s2)]: Non-Conductive
[(s1)+1, (s1)]  [(s2)+1, (s2)]: Conductive
[(s1)+1, (s1)] = [(s2)+1, (s2)]: Non-Conductive
[(s1)+1, (s1)] > [(s2)+1, (s2)]: Conductive
[(s1)+1, (s1)]  [(s2)+1, (s2)]: Non-Conductive
[(s1)+1, (s1)]  [(s2)+1, (s2)]: Conductive
[(s1)+1, (s1)] > [(s2)+1, (s2)]: Non-Conductive
[(s1)+1, (s1)] < [(s2)+1, (s2)]: Conductive
[(s1)+1, (s1)]  [(s2)+1, (s2)]: Non-Conductive
[(s1)+1, (s1)]  [(s2)+1, (s2)]: Conductive
[(s1)+1, (s1)] < [(s2)+1, (s2)]: Non-Conductive
Description
(s1)>(s2): (d) is on
(s1)=(s2): (d) +1 is on
(s1)<(s2): (d) +2 is on
Description
[(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
Reference
Page 165
Reference
Page 167
Reference
Page 169
Reference
Page 171

Hide quick links:

Advertisement

loading