Delta AH500 Programming Manual page 362

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
API
Instruction code
0801
MAND
Device X
Y
M
S
1
S
2
D
n
Symbol:
Explanation:
1.
The operator AND takes the n rows of binary representations in S
representations in S
bits. The operation result is stored 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 should be within the range between 1 and 256.
Example:
When X0.0 is ON, the operator AND takes the data in the 16-bit devices Y0~Y2 and the data in
16-bit devices Y10~Y12, and performs the matrix AND operation on each pair of corresponding bits.
The operation result is stored in the 16-bit devices Y20~Y22.
6 - 1 9 4
Operand
P
S
, S
, D, n
1
2
S
T
C
HC
D
Pulse instruction 16-bit instruction (9 steps) 32-bit instruction
AH500
: Matrix source 1
S
1
: Matrix source 2
S
2
D : Operation result
n : Length of the array
, and performs the matrix AND operation on each pair of corresponding
2
Matrix AND operation
L
SM SR
E
PR
AH500
Word
Word
Word
Word
and the n rows of binary
1
Function
K
16# "$"
DF

Advertisement

Table of Contents
loading

Table of Contents