Mitsubishi Electric MELSEC FX3U Programming Manual page 345

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents