![Mitsubishi Electric MELSEC FX3G Programming Manual Download Page 345](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083345.webp)
343
FX
3G
/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
FNC3
0-F
NC3
9
R
otati
on and
Shif
t
12
FNC4
0-F
NC4
9
D
ata
O
per
ati
on
13
FN
C
50-FN
C
59
H
igh Speed
Pr
ocess
ing
14
FM
C
60-
FN
C
69
H
andy
In
st
ru
ct
ion
15
FNC7
0-F
N
C7
9
Ex
ter
nal
FX
I/O
D
evice
16
FN
C
80-FN
C
89
Ext
ernal FX
De
vic
e
17
FN
C
100-
FN
C
109
Da
ta
Transf
er 2
18
FN
C
110-
FN
C
139
Fl
oati
ng Poi
nt
19
FN
C
140
-F
N
C
14
9
Da
ta
O
per
ati
on 2
20
FN
C
150-
FN
C
159
Posit
ioning
C
ontr
ol
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.
Caution
• Note that the 32-bit value [n+1, n] is valid when D or R is specified as "n" in a 32-bit instruction.
In the case of "DBON D0 M0 R0", "n" is [R1, R0].
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