EasyManua.ls Logo

Inovance H3U Series - Page 236

Inovance H3U Series
737 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
Loading...
235
4
4 Instructions 4.6.4 Matrix Rotation and Shift
MBR: Matrix bit rotation operation
Overview
The MBR instruction rotates bits in a matrix.
MBR S D n
Matrix bit rotation
operation
Applicable model:
H3U
S Matrix Operand element in an operation 16-bit instruction (7
steps)
MBR: Continuous
execution
MBRP: Pulse
execution
D
Operation
result
Start number of elements that store the operation
result
n Data count
Number of data entries in an operation; value range:
1 to 256
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
n X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
1) The bit pattern of a matrix composed of n 16-bit data entries in the range [S] to [S + n – 1] is rotated
to the left or right. If M8329 is set to ON, the rotation direction is right; if it is set to OFF, the rotation
direction is left. The bit position left blank after every rotation, which is bit 0 in a left rotation or bit (16n – 1)
in a right rotation, is lled with the bit moved out of the matrix, which is bit (16n – 1) in a left rotation or
bit 0 in a right rotation. This bit is also diverted to the carry ag M8327. The data after rotation is stored
in elements from head address [D].
2) The instruction of the pulse execution type (MBRP) is generally used.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals