Delta AS Series Programming Manual page 667

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
1215
Device
X
S
n
D
Data
type
S
n
D
Symbol
_6
Explanation
1.
This instruction divides the 16-bit value in the register specified by S into four groups (four bits in a group), and
stores these groups in the low four bits in every register (the registers range from D to D+(n-1)).
b15
b12
b11
S
2.
The value in n must be between 1–4.
Example
Suppose the value in D0 is 16#1234. When M0 is enabled, the instruction divides the value in D0 into four groups (four
bits in a group), and stores these groups in the low four bits in every register (the registers range from D10 to D13.).
6 - 3 8 8
DIS
P
Y
M
S
T
C
b15
b8
b7
b4
b3
b0
D
D
+1
D
+2
D
+3
Operand
S, n, D
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
S : Data source
n : Number of devices
D : Operation result
b4
b3
b0
All becomes 0. T he positions i n whcih
the data is stored.
Function
Disuniting 16-bit data
SR
E
K
16#
32-bit instruction
AS
n
"$"
F
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents