11 Applied Instructions (Data Operation)
11.5 BON / Check Specified Bit Status
241
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Applied Instructions
(Data Operation)
12
Applied Instructions
(High Speed
Processing)
13
Applied Instructions
(Handy
Instruction)
14
Applied Instructions
(External FX I/O
Device)
15
Applied Instructions
(External Device
(optional device))
16
Applied Instructions
(External Device)
17
Applied Instructions
(Data Transfer 2)
18
Applied Instructions
(Floating Point)
19
Applied Instructions
(Data Operation 2)
20
Applied Instructions
(Positioning
Control)
Program examples
When the bit 9 (n=9) in D10 is "1" (ON), M0 is set to "1" (ON).
X000
D10
M0
BON
EN
s
n
ENO
d
K9
[Structured ladder/FBD] [ ST ]
BON(X000, D10, K9, M0);
M 0=ON
M 0=OFF
0101010101010101
0101010000010100
b0b15
D 10
b0b15
b7b8
n=9
n=9