Delta AS Series Programming Manual page 669

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
1216
Device
X
S
n
D
Data
type
S
n
D
Symbol
_6
Explanation
1.
This instruction divides the 16-bit values in the registers specified by S–S+(n-1) into groups (four bits in a group),
and stores every group that is in b0–b3 in the register specified by D (b0–b15).
b15
S
S
+1
S +2
S
+3
Being i gnor ed
2.
The value in n must be between 1–4.
Example
Suppose the values in D0–D3 are 16#1234, 16#5678, 16#8765, and 16#4321 respectively. When M0 is enabled, the UNI
instruction divides the values in D0–D3 into groups (four bits in a group), and stores every group in b0–b3 in D10(b0–
b15).
6 - 3 9 0
UNI
P
Y
M
S
T
C
b3
b0
b4
b15
T he data whic h
is stored
Operand
S, n, D
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
S : Data source
n : Data length
D : Operation result
D
b12
b11
b8
b7
b4
b3
b0
Function
Uniting 16-bit data
SR
E
K
16#
"$"
32-bit instruction
AS
-
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents