EasyManua.ls Logo

Inovance H3U Series - MBWR Matrix Bit Write Operation

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...
232
4
4 Instructions4.6.3 Matrix Read/Write
MBWR: Matrix bit write operation
Overview
The MBWR instruction writes bits in a matrix.
MBWR S n D
Matrix bit write
operation
Applicable model:
H3U
S Matrix Operand element in an operation 16-bit instruction (7
steps)
MBWR: Continuous
execution
MBWRP: Pulse
execution
n Data count
Number of data entries in an operation; value range:
1 to 256
D Pointer Position number of the current bit
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
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
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
Note: The elements in gray background are supported.
Function
1) The ON/OFF state of M8328 (placeholder ag of matrix shift input) is written to the ([D]+1)th bit in [S].
After a bit is written, the pointer in [D] is incremented by 1 if the matrix pointer increment ag M8325 is
set to ON. After the last bit is written, the matrix search end ag M8321 is set to ON, the pointer records
the number of this bit, and the instruction ends. If M8326 = ON, the pointer is cleared and writing starts
from the rst bit (bit 0) in [S].
2) The value in [D] ranges from 0 to (16n – 1). If [D] is out of range, the pointer error ag M8324 is set to
ON and the instruction is not executed.
Application
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
45
D100
D101
D102
R100
M8328
0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
D100
D101
D102
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
1
46R100
After every
execution
Before
execution

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals