EasyManua.ls Logo

Mitsubishi Electric MELSEC FX3U - Page 345

Mitsubishi Electric MELSEC FX3U
1000 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
343
FX3G/FX3U/FX3UC 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
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
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
b0b1b2b3b4b5b6b7b8b9b10b11b12b13b14b15
0 1 0 0 1 1 1 11 0 1 0 10 00
K4K5K6K7
K0K1K2K3K8K9K10K11K12K13K14K15
b16b17
b29b30b31
0 1
1 11
K29K30 K16K17K31
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
0101010101010101
0101010000010100
b0b15
D 10
b0b15
b7b8
n = 9
n = 9

Table of Contents

Related product manuals