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

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
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
BON
2. Set data
Operand type
S
S
1
D
n
3. Applicable devices
Bit Devices
Oper-
System User
and
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
S
1
S
D
2
n
: "D .b" cannot be indexed with index registers (V and Z).
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
format.
Command
input
b15
b14
b13
1
0
K15
K14
K13
304
Mnemonic
16-bit Instruction
P
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
D
D
is set to ON. When the bit "n" is OFF,
1
FNC 44
S
D
BON
S
b12
b11
b10
b9
b8
1
0
0
0
0
1
K12
K11
K10
K9
K8
K7
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
D
S
is output to
D
D
.
1
1
, it is automatically converted into the binary
D
S
1
n
S
(n = K0 to K15)
b7
b6
b5
b4
b3
b2
0
1
0
0
1
1
K6
K5
K4
K3
K2
12 Data Operation – FNC 40 to FNC 49
12.5 FNC 44 – BON / Check Specified Bit Status
Mnemonic
32-bit Instruction
DBON
13 steps
DBONP
Con-
Real
Index
stant
Number
V Z Modify K H
D
D
is set to OFF.]
1
D
= ON/OFF status of bit "n"
b1
b0
1
1
← n
K1
K0
bit device
D
n = 5
0
(OFF)
n = 8
1
(ON)
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Data type
16- or 32-bit binary
16- or 32-bit binary
16- or 32-bit binary
Others
Charac-
Pointer
ter String
E
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents