Delta AH500 Programming Manual page 459

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
1216
UNI
Device
X
Y
M
S
n
D
Symbol:
Explanation:
1.
The 16-bit values in the registers specified by S~S+(n-1) are divided into groups (four bits as a
group), and every group which is composed of b0~b3 is stored in the register specified by D.
b15
S
S
+1
S +2
S
+3
2.
The operand n should be within the range between 1 and 4.
Example:
Suppose the values in D0~D3 are 16#1234, 16#5678, 16#8765, and 16#4321 respectively. When
M0 is enabled, the instruction UNI is executed. The values in D0~D3 are divided into groups (four
bits as a group), and every group which is composed of b0~b3 is stored in D10.
Operand
S, n, D
P
S
T
C
HC
D
Pulse instruction 16-bit instruction (7 steps) 32-bit instruction
AH500
S : Data source
n : Data length
D : Operation result
b3
b0
b4
T he data whic h
Being i gnor ed
is stored
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Function
Uniting the 16-bit data
L
SM SR
E
PR
AH500
Word
Word
Word
b15
b12
b11
b8
b7
b4
b3
K
16# "$"
DF
-
D
b0
6 - 2 9 1

Advertisement

Table of Contents
loading

Table of Contents