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 #666 background imageLoading...
Page #666 background image
3. Instruction Set
3-545
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
185 MCMP P
Matrix compare
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
MCMP, MCMPP: 9 steps
S
1
*
*
*
*
*
*
*
S
2
*
*
*
*
*
*
*
n
*
*
*
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
: Matrix source device 1 S
2
: Matrix source device 2 n: Matrix length (K1~K256)
D: Pointer Pr; comparison result (bit number)
Explanations:
1. MCMP instruction compares each bit between matrix S
1
and matrix S
2
and stores the bit
number of the comparison result in D. The comparison starts from the next bit of the pointer.
2. The matrix comparison flag (M1088) decides to compare between equivalent values (M1088 =
ON) or different values (M1088 = OFF). When the comparison is completed, it will stop
immediately and M1091= ON to indicate that matched result is found. When the comparison
progresses to the last bit, M1089 = ON to indicate that the comparison has come to the end of
the matrix and the number of the last bit will be stored in D. In next scan cycle, comparison
starts again from the first bit (bit 0), at the same time M1090 = ON to indicate the start of the
comparison. When D (Pr) exceeds the valid range, M1092 = ON to indicate pointer error, and
the instruction will be disabled.
3. The matrix operation requires a 16-bit register for designating a bit among the 16n bits in the
matrix. The register is the Pointer (Pr) of the matrix, designated by the user in the instruction.
The valid range of Pr is 0 ~ 16n -1, corresponding to b0 ~ b16n-1 in the matrix. The value of
pointer should not be modified during the execution of matrix instructions so as to prevent
execution errors.
4. When M1089 and M1091 take place at the same time, both flags will ON..
5. If operands S
1,
S
2,
or D use KnX, KnY, KnM, KnS format, only n = 4 is applicable.

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