![Mitsubishi Electric FX3G SERIES Скачать руководство пользователя страница 255](http://html.mh-extra.com/html/mitsubishi-electric/fx3g-series/fx3g-series_programming-manual_238902255.webp)
253
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
9.5 FNC 14 – CML / Complement
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction
Li
st
4
D
evices
in Det
ail
5
Specifi
ed the
De
vice
&
C
onst
ant
6
Bef
ore
Pr
og
ra
mmi
ng
7
Bas
ic
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
9.5
FNC 14 – CML / Complement
Outline
This instruction inverts data in units of bit, and then transfers (copies) the inverted data.
1. Instruction format
2. Set data
3. Applicable devices
S
: This function is supported only in FX
3U
/FX
3UC
PLCs.
Explanation of function and operation
1. 16-bit operation (CML and CMLP)
Each bit of a device specified as
is inverted (from 0 to 1 or from 1 to 0), and then transferred to
.
• When a constant (K) is specified as
, it is automatically converted into binary.
• This operation is useful when a logically inverted output is required as an output from a PLC.
Operand Type
Description
Data Type
Data to be inverted or word device number storing data
16- or 32-bit binary
Word device number storing inverted data
16- or 32-bit binary
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modify K H
E
"
"
P
3
3
3
3
3 3 3 3
S
3 3
3
3 3
3
3
3
3 3 3 3
S
3 3
3
DCML
DCMLP
Mnemonic
Operation Condition
P
FNC 14
CML
D
16-bit Instruction
5 steps
CML
CMLP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
9 steps
Continuous
Operation
Pulse (Single)
Operation
S
D
S
D
S
D
S
FNC 14
CML
→
Sign bit (0: Positive, 1: Negative)
0
1
0
1
1
1
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
1
1
0
0
0
1
0
1
Inverted data is transferred.
When command contact turns ON
b15 b14
b13
b12 b11 b11
b9
b8
b7
b6
n5
b4
b3
b2
b1
b0
S
D
Command
input
S
D
S
D
Содержание FX3G SERIES
Страница 1: ...FX3G FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic Applied Instructions Edition ...
Страница 2: ......
Страница 947: ......