Mitsubishi Electronics FX3G User Manual
321
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
12 Data Operation – FNC 40 to FNC 49
12.2 FNC 41 – DECO / Decode
11
FN
C30
-FN
C3
C30
-FN
C3
9
R
ota
tion and
Shi
ft
ft
12
FN
C40-FN
C40-FN
C49
D
ata O
perati
perati
on
13
FNC
50-FNC
59
High-Speed
Proc
essing
14
FM
C60-FN
C60-FN
C69
H
andy
In
struction
15
FN
C70-FN
C70-FN
C79
E
xternal
F
X
I/O
De
vice
16
FNC
80-FNC
89
External
FX
Dev
ice
ice
17
FNC1
00-
FNC10
00-
FNC10
9
Dat
a
a
Transfer 2
18
FNC1
10-
FNC139
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
Operation 2
20
FNC1
50-
FNC159
FNC159
Pos
itioning
itioning
Control
2) When
is a word device (1
≤ n ≤ 4)
The numeric value (expressed in 2
n
on the low-order side) of
is decoded to
.
-When all bits of
are "0", b0 of the word device
turns ON.
-In the case of "n
≤ 3", all of high-order bits of
become "0" (turn OFF).
Caution
• While the command input is OFF, the instruction is not executed. The activated decode output is held in the
previous ON/OFF status.
• When "n" is "0", the instruction executes no processing.
D
1
D
D
1
S
D
1
D
D
1
S
D
1
D
D
1
D
Turns ON when all bits
of are OFF.
of are OFF.
When it is T,C,D,R,U
\G
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
n
D
K1
K2
K3
K4
S
Up to 16 bits
1
0
1
0
0
1
1
1
1
1
2
4
8
2
n
S
4 bits
0
0
0
1
0
1
0
b0
b1
b2
b3
b4
b5
b6
b7
b8
b9
b10
b11
b12
b13
b14
b15
b0
b1
b2
b3
b4
b5
b6
b7
b8
b9
b10
b11
b12
b13
b14
b15
Command
input
FNC 41
DECO
S
D
n
(1 n 4)
When is D0
When is D2
Ignored
When "n" is "4"