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 #674 background imageLoading...
Page #674 background image
3. Instruction Set
3-553
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
189 MBR P
Matrix bit rotate
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
MBR, MBRP: 7 steps
S
*
*
*
*
*
*
*
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: Matrix source device D: Operation result n: Matrix length (K1~K256)
Explanations:
1. MBR instruction rotates the bits in the matrix to the left or the right. M1097 = OFF, bits rotate to
the left, M1097 = ON, bits rotate to the right. The empty bit (left rotate: b0; right rotate: b16n-1)
after rotation performed once will be filled with the bit which is rotated out of the matrix (left
rotate: b16n-1; right rotate: b0) and the operation result is stored in D. In addition, the bit which
is rotated out of the matrix will also be moved to M1095 (Carry flag for matrix operation).
2. The pulse execution instruction MBRP is generally adopted.
3. If operands S or D use KnX, KnY, KnM, KnS format, only n = 4 is applicable.
4. Associated flags:
M1095: Carry flag for matrix rotation/shift/output.
M1097: Direction flag for matrix rotation/shift
Program Example 1:
When X0 = ON, M1097 = OFF, indicating a left matrix rotation is performed. The 16-bit registers
D0 ~ D2 will perform a left matrix rotation and the result will be stored in the matrix of the 16-bit
registers D20 ~ D22. The matrix carry flag M1095 will be ON (1)
X0
MBRP D0 D20 K3
RST
M1097

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