Delta DVP-ES2 User Manual Page 204

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 203
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-88
API Mnemonic Operands Function
28
DXOR P
Logical DWord XOR
Controllers
ES2/EX2 SS2
SA2
SE
SX2
Bit Devices Word devices Program Steps Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
S
1
* * * * * * * * **
S
2
* * * * * * * * **
D
* * * * * **
DXOR, DXORP: 13 steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
S
1
: Source data device 1 S
2
: Source data device 2 D: Operation result
Explanations:
1. Logical double word (32-bit) XOR operation.
2. This instruction conducts logical XOR operation of S
1
and S
2
in 32-bit mode and stores the
result in D
3. If operands S
1
, S
2
,
D use index F, only a 16-bit instruction is available.
Program Example:
When X1 = ON, the 32-bit data source (D11, D10) and (D21, D20) are analyzed and the operation
result of the logical XOR is stored in (D41, D40).
X
1
DXOR
D10 D20 D40
b31
Before
execution
After
execution
D11 D10
DXOR
b
D21 D20
D41 D40
11 11
00 0
b15
1111 1100
00
00 111111
111111 1
b0
1111 110000 111111
0001 000101 1001000001 000101 100100
11 11
00 000111111 1
Page view 203
1 2 ... 199 200 201 202 203 204 205 206 207 208 209 ... 701 702

Comments to this Manuals

No comments