FX Series Programmable Controlers Applied Instructions 5
5-59
5.5.5 BON (FNC 44)
Operation:
A single bit position (n) is specified from within a
source device/area (S). n could be regarded as a
specified offset from the source head address (S),
i.e. 0 (zero) being the first device (a 0 offset) where
as an offset of 15 would actually be the 16th device.
If the identified bit becomes active, i.e. ON, the
destination device (D) is activated to “flag” the new
status.
The destination device could be said to act as a
mirror to the status of the selected bit source.
Mnemonic Function
Operands
Program steps
SD n
BON
FNC 44
(
Check
specified
bit status)
The status of the
specified bit in the
source device is
indicated at the
destination
K, H,
KnX, KnY,
KnM, KnS,
T, C, D, V,
Z
Y, M, S K ,H ,
Note:
16 bit operation
n=0 to 15
32 bit operation
n=0 to 31
BON, BONP:
7steps
DBONP,
DBON:
13 steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
X0
M 0 K 15
[ S ] [ D ]
D 10
[ n ]
BON
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
b15
b0
D 10
0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
b15 = 0, M0 = 0
b15 = 1, M0 = 1