EasyManuals Logo

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 #668 background imageLoading...
Page #668 background image
3. Instruction Set
3-547
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
186 MBRD P
Matrix bit read
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
MBRD, MBRDP: 7 steps
S
*
*
*
*
*
*
*
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: Matrix source device n: Matrix length (K1~K256). D: Pointer Pr (bit number)
Explanations:
1. MBRD instruction reads the bit status of the matrix. When MBRD executes, the status of
M1094 (Matrix pointer clear flag) will be checked first. If M1094 = ON, Pr value in D will be
cleared and the instruction reads from the first bit. The bit status is read out and mapped to
M1095 (Carry flag for matrix operation). After a bit is read, MBRD checks the status of M1093
(Matrix pointer increasing flag). If M1093 = ON, MBRD instruction will proceed to read the next
bit, i.e. Pr value plus 1. When MBRD proceeds to the last bit, M1089 = ON, indicating the end
of the Matrix, and D records the last bit number. After this, MBRD instruction stops.
2. The Pointer (Pr) of the matrix is designated by the user in the instruction. The valid range of Pr
is 0 ~ 16n -1, corresponding to b0 ~ b16n-1 in the matrix. If the Pr value exceeds the valid
range, M1092 = ON and the instruction will be disabled.
3. If operands S or D use KnX, KnY, KnM, KnS format, only n = 4 is applicable.
Program Example:
1. When X0 goes from OFFON with M1094 = ON (Clear Pr value) and M1093 = ON (Increase
Pr value), the reading will start from the first bit and Pr value increases 1 after a bit is read.
2. Assume present value of pointer D20 = 45, the following 3 results (, , ) can be obtained
when X0 is executed from OFFON for 3 times.
D20 = 45, M1095 = OFF, M1089 = OFF
D20 = 46, M1095 = ON (bit status is ON), M1089 = OFF.
D20 = 47, M1095 = OFF, M1089 = ON. (reading proceeds to the last bit)
X0
MBRDP D0 D20K3

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