EasyManua.ls Logo

Delta DVP-ES2 - Page 205

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-84
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
26 WAND P
Logical Word AND
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
WAND, WANDP: 7 steps
S
1
*
*
*
*
*
*
*
*
*
*
*
S
2
*
*
*
*
*
*
*
*
*
*
*
D
*
*
*
*
*
*
*
*
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
1
: Source data device 1 S
2
: Source data device 2 D: Operation result
Explanations:
1. This instruction conducts logical AND operation of S
1
and S
2
in 16-bit mode and stores the
result in D
2. For 32-bit operation please refer to DAND instruction..
Program Example:
When X0 = ON, the 16-bit source D0 and D2 are analyzed and the operation result of the logical
AND operation is stored in D4.
WAND
X0
D0
D2 D4
0 0 0 0 1 1 1 11 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0 0 01 1 1 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1
WAND
b15 b00
Before
execution
After
execution
D0
D2
D4

Table of Contents

Other manuals for Delta DVP-ES2

Related product manuals