305
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
12 Data Operation – FNC 40 to FNC 49
12.5 FNC 44 – BON / Check Specified Bit Status
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. 32-bit operation (DBON and DBONP)
The status (ON or OFF) of the bit "n" in [
+1,
] is output to
.
[When the bit "n" is ON,
is set to ON. When the bit "n" is OFF,
is set to OFF.]
• When a constant (K) is specified as the transfer source [
+1,
], it is automatically converted into
the binary format.
Program example
When the bit 9 (n = 9) in D10 is "1" (ON), M0 is set to "1" (ON).
D
1
S
D
1
S
D
1
D
D
1
D
D
1
D
D
1
S
D
1
S
[ +1, ]
Command
input
FNC 44
DBON
S
D
n
(n = K0 to K31)
←
n
D
0
1
bit device
S
+1, S
b0
b1
b2
b3
b4
b5
b6
b7
b8
b9
b10
b11
b12
b13
b14
b15
0
1
0
0
1
1
1
1
1
0
1
0
1
0
0
0
K4
K5
K6
K7
K0
K1
K2
K3
K8
K9
K10
K11
K12
K13
K14
K15
b16
b17
…
b29
b30
b31
0
1
…
1
1
1
…
K29
K30
K16
K17
K31
n = 29
n = 5
(OFF)
(ON)
S
= ON/OFF status of bit "n"
D
S
X000
S
D
n
FNC 44
BON
D 10
M 0
K 9
M 0 = ON
M 0 = OFF
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
0
0
0
1
0
1
0
0
b0
b15
D 10
b0
b15
b7
b8
n = 9
n = 9