218
4
4 Instructions4.6.1 Matrix Operations
An error is returned in the following conditions. The instruction is not executed. The error ag M8067 is set
to ON to identify this error and the error code is stored in D8067.
1. Error 6705 is returned when elements from head addresses [S1] and [S2] are out of range.
2. Error 6705 is returned when [S1] and [S2] have overlapping elements with [D].
◆
Application
MAND: Matrix AND operation
◆
Overview
The MAND instruction performs AND operation in matrix format.
MAND S1 S2 D n
Matrix AND
operation
Applicable model:
H3U
S1 Matrix 1 Operand element 1 in an operation
16-bit instruction (9
steps)
MAND: Continuous
execution
MANDP: Pulse
execution
S2 Matrix 2 Operand element 2 in an operation
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