EasyManua.ls Logo

Delta AH500 - Page 459

Delta AH500
749 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...
Chapter 6 Applied Instructions
6-291
API
Instruction code Operand Function
1216 UNI P
S, n, D
Uniting the 16-bit data
Device
X Y M S T C HC D L SM SR E PR K 16# “$”
DF
S
n
D
Pulse instruction
16-bit instruction (7 steps)
32-bit instruction
AH500
AH500
-
Symbol:
S
Data source Word
n
Data length Word
D
Operation result Word
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.
S
+1
b3 b0
b15 b4
S
+2
S
+3
S
Being ignored
The data which
is stored
D
b3 b0b7 b4b11 b8b15 b12
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.

Table of Contents

Other manuals for Delta AH500

Related product manuals