EasyManua.ls Logo

Delta DVP-ES2 - Page 237

Delta DVP-ES2
1006 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-116
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
44 D BON P
Check specified bit
status
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
BON, BONP: 7 steps
DBON, DBONP: 13 steps
S
*
*
*
*
*
*
*
*
*
*
*
D
*
*
*
n
*
*
*
*
*
*
*
PULSE
16-bit
32-bit
ES2/EX2
/EC5
SS2
SA2
SE
SX2
ES2/EX2
/EC5
SS2
SA2
SE
SX2
ES2/EX2
/EC5
SS2
SA2
SE
SX2
Operands:
S: Source device D: Device for storing check result n: Bit number to be checked
Explanation:
1. The instruction checks the status of designated bit (specified by n) in S and stores the result in
D
2. If operand S uses index F, only 16-bit instruction is available.
3. Valid range of operand n : n = 0~15 (16-bit), n = 0~31 (32-bit)
Program Example:
1. When X0 = ON, and bit15 of D0 = “1”, M0 will be ON. If the bit15 is “0”, M0 is OFF.
2. When X0 is OFF, M0 will retain its previous status.
X0
BON D0 M0
0 0 0 0 0 0 01 1 10 0 0 00 0
D0
K15
b0
M0=Off
b15
1 0 0 0 0 0 01 1 10 0 0 00 0
D0
b0
M0=On
b15

Table of Contents

Other manuals for Delta DVP-ES2

Related product manuals