EasyManuals Logo
Home>Delta>Controller>DVP-SS2

Delta DVP-SS2 User Manual

Delta DVP-SS2
1006 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #663 background imageLoading...
Page #663 background image
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-542
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
182 MXOR P
Matrix XOR
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
MXOR, MXORP: 9 steps
S
1
*
*
*
*
*
*
*
S
2
*
*
*
*
*
*
*
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
1
: Matrix source device 1 S
2
: Matrix source device 2 D: Operation result
n: Matrix length (n = K1~K256)
Explanations:
1. MXOR instruction performs matrix XOR operation between matrix source device 1 and 2 with
matrix length n and stores the operation result in D
2. Rule of matrix XOR operation: the result is 1 if the two bits are different. The result is 0 if the
two bits are the same
3. If operands S
1
, S
2
, D use KnX, KnY, KnM, KnS format, only n = 4 is applicable..
Program Example:
When X0 = ON, MXOR performs matrix XOR operation between 16-bit registers D0~D2 and 16-bit
registers D10~D12. The operation result is then stored in 16-bit registers D20~D22
X0
MXOR D0 D20 K3D10
Before
Execution
After
Execution
1
11
0 00 1100 0
0
11 0 00
11
00 00
11
0 00
11
00 00
0 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10
1
1
1
1
1
1
0
0
0
1
1
1
1
1
1
1
0 0
1
00
1
0 0
1
00
1
0 0
1
00
1
1
1
1
1
1
11 11
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
b15 b0
MXOR
D0
D1
D2
D10
D11
D12
D20
D21
D22

Table of Contents

Other manuals for Delta DVP-SS2

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-SS2 and is the answer not in the manual?

Delta DVP-SS2 Specifications

General IconGeneral
BrandDelta
ModelDVP-SS2
CategoryController
LanguageEnglish

Related product manuals