FX Series Programmable Controlers Applied Instructions 5
5-22
5.2.5 CML (FNC 14)
Operation:
A copy of each data bit within the source device (S) is
inverted and then moved to a designated destination
(D).
This means each occurrence of a ‘1’ in the source data will become a ‘0’ in the destination data
while each source digit which is ‘0’ will become a ‘1’. If the destination area is smaller than the
source data then only the directly mapping bit devices will be processed.
Mnemonic Function
Operands
Program steps
SD
CML
FNC 14
(Compliment)
Copies and
inverts the source
bit pattern to a
specified
destination
K, H,
KnX, KnY, KnM, KnS,
T, C, D, V, Z
KnY, KnM, KnS,
T, C, D, V, Z
CML,CMLP:
5steps
DCML,
DCMLP:
9steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
X0
CML D 0 K1Y0
[ S ] [ D ]