Fnc 44 - Bon / Check Specified Bit Status - Mitsubishi FX3G Series Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
12.5
FNC 44 – BON / Check Specified Bit Status
Outline
This instruction checks whether a specified bit position in a specified device is ON or OFF.
1. Instruction format
FNC 44
D
P
BON
2. Set data
Operand type
S
S
1
D
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T
S
S
1
S
D
2
n
1: "D .b" is available only in FX
2: This function is supported only in FX
Explanation of function and operation
1. 16-bit operation (BON and BONP)
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
Command
input
FNC 44
b15
b14
b13
1
0
1
K15
K14
K13
Series
Mnemonic
16-bit Instruction
7 steps BON
BONP
Word device number storing the source data
Bit device number to be driven
Bit position to be checked
[n: 0 to 15 (16-bit instruction), 0 to 31 (32-bit instruction)]
Digit Specification
1
and FX
3U
3UC
/FX
3U
3UC
D
S
is output to
1
D
D
is set to ON. When the bit "n" is OFF,
1
S
D
BON
(n = K0 to K15)
S
b12
b11
b10
b9
b8
b7
b6
0
0
0
0
1
0
K12
K11
K10
K9
K8
K7
K6
12.5 FNC 44 – BON / Check Specified Bit Status
Operation Condition
32-bit Instruction
Continuous
13 steps
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
C D R U \G
V
2
PLCs. However, index modifiers (V and Z) are not available.
PLCs.
D
D
.
1
D
D
is set to OFF.]
1
D
S
, it is automatically converted into binary format.
1
n
S
D
= ON/OFF status of bit "n"
b5
b4
b3
b2
b1
b0
1
0
0
1
1
1
1
K5
K4
K3
K2
K1
K0
12 Data Operation – FNC 40 to FNC 49
Mnemonic
Operation Condition
Continuous
DBON
Operation
Pulse (Single)
DBONP
Operation
Data type
16- or 32-bit binary
Bit
16- or 32-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K H
E
" "
← n
bit device
D
n = 5
0
(OFF)
n = 8
1
(ON)
11
12
13
14
15
Pointer
P
16
17
18
19
20
321

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents