Delta AS Series Programming Manual page 515

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
0801
Device
X
S
1
S
2
D
n
Data
type
S
1
S
2
D
n
Symbol
_6
Explanation
1.
This instruction applies the logical operator MAND to the n rows of binary representations in S
binary representations in S
the operation result in D.
2.
The result in each position is 1 if the first bit is 1 and the second bit is 1; otherwise, the result is 0.
3.
The operand n must be between 1–256.
Example
When X0.0 is ON, this instruction performs the matrix operation AND on each pair of corresponding bits on the data in
the 16-bit devices Y0–Y2 and the data in 16-bit devices Y10–Y12. It stores the result in the 16-bit devices Y20–Y22.
6 - 2 3 6
MAND
P
Y
M
S
T
C
. It performs the matrix operation AND on each pair of corresponding bits, and stores
2
Operand
S
, S
, D, n
1
2
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
: Matrix source 1
S
1
: Matrix source 2
S
2
D : Operation result
: Length of the array
n
Function
Matrix AND operation
SR
E
K
16#
"$"
32-bit instruction
AS
and the n rows of
1
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents