Chapter 16 PLC Function ApplicationsC2000-HS
16-76
API
BON
S D
n
ON bit judgement
44
D P
Bit device Word device
16-bit command (7 STEP)
BON Continuous
execution type
BONP Pulse
execution type
32-bit command (9 STEP)
DBON Continuous
execution type
DBONP Pulse
execution type
Flag signal: none
X Y M K H KnX KnY KnM T C D
S * * * * * * * *
D * * * * *
n * *
Notes on operand usage: none
S
: Source device.
D
: Destination of saving judging result.
n
: assign
judged digit (numbering from 0)
The status of specific digit from source device is shown on target position.
Arithmetic element S uses F device, and can only use the 16-bit command.
The valid range of arithmetic element n: n = 0–15 (16-bit), n = 0–31 (32-bit).
When X0 = On, if the 15
th
digit of D0 is “1”, M0 is On. If it is “0”, M0 is Off.
When X0 turns to Off, M0 remains previous status.
X0
BON D0 M0
0000 00011 100 0000
D0
K15
b0
M0=Off
b15
1000 00011 100 0000
D0
b0
M0=On
b15