Mitsubishi Electric FX3G SERIES Programming Manual page 256

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
2. 32-bit operation (DCML and DCMLP)
Each bit of devices specified as [
[
+1,
D
D
• When a constant (K) is specified as [
• This operation is useful when a logically inverted output is required as an output from a PLC.
Command
input
FNC 14
b31
1
S
0
D
Program examples
1. When receiving an inverted input
The sequence program shown below can be written by CML instruction.
X000
X001
X002
X003
2. When four bits are specified for a device with digit specification
X000
FNC 14
CML
Y015 b14
1
S
D 0
Sign bit (0: Positive, 1: Negative)
D
Y017
K1Y000
254
S
+1,
].
S
S
D
DCML
b30
b29
b28
b27
0
1
0
1
Sign bit (0: Positive, 1: Negative)
1
0
1
0
M 0
M 1
M 2
M 3
M8000
FNC 14
CML
RUN monitor
S
D
D 0
K1Y000
b13
b12
b11
b11
0
1
0
1
0
Y016 Y015 Y014 Y013 Y012 Y011 Y010 Y007 Y006 Y005 Y004 Y003 Y002 Y001 Y000
Do not change.
S
] is inverted (from 0 to 1 or from 1 to 0), and then transferred to
+1,
S
], it is automatically converted into binary.
S
+1,
S
D
b26
b25
to
b7
b6
0
1
0
0
When command contact turns ON
1
0
1
1
Inverted data is transferred.
X000
X001
X002
X003
K1X000
K1M0
(D 0) → (K1Y000)
b9
b8
b7
b6
1
0
1
0
9 Move and Compare – FNC 10 to FNC 19
9.5 FNC 14 – CML / Complement
+1,
D
n5
b4
b3
b2
1
1
1
0
0
0
0
1
M 0
M 1
M 2
M 3
n5
b4
b3
b2
b1
1
0
1
0
1
X000 = ON
0
1
0
Inverted data is
transferred.
b1
b0
1
0
0
1
b0
0
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents