297
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
12 Data Operation – FNC 40 to FNC 49
12.2 FNC 41 – DECO / Decode
11
FN
C30-
FN
C39
R
o
ta
tion and
Sh
ift
12
FNC
4
0
-FNC49
D
a
ta
Op
e
ra
tio
n
13
FNC5
0
-FNC5
9
H
igh Speed
Pr
ocessi
ng
14
FM
C6
0
-F
NC6
9
H
and
y
In
st
ru
cti
o
n
15
FNC7
0
-FNC7
9
Ex
te
rn
a
l F
X
I
/O
D
evi
ce
16
FNC8
0
-FNC8
9
Ext
e
rnal
FX
D
evi
ce
17
F
N
C1
00
-F
NC
10
9
Da
ta
Tr
ansf
e
r 2
18
FN
C
110-FN
C
13
9
Fl
oat
ing P
o
in
t
19
FN
C
140-FN
C
149
Da
ta
O
per
at
io
n
2
20
FN
C
15
0-F
N
C
159
P
o
si
tioni
ng
C
ont
ro
l
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.
When it is T,C,D,R,U
\G
,V,Z,K or H
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"