Delta AS Series Programming Manual page 637

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
1202
Device
X
S
D
n
Data
type
S
D
n
Symbol
_6
Explanation
1.
This instruction decodes the values of the lower n bits in the source device specified by S as the values of the
n
lower 2
bits in D.
2.
The instruction decodes the values of the consecutive n bits in the source device specified by S as the values of
n
the lower 2
3.
When the source device specified by S is a timer or counter, the instruction treats the device as a word device.
4.
When D is a bit device, n between1–8. When n is 8, the instruction decodes the values of the eight bits as the
values of the 256 bits. Please note that the devices in which the decoded values are stored cannot be used
repeatedly.
5.
When D is a word device, n between 1–4. When n is 4, the instruction decodes the values of the four bits as the
values of the 16 bits.
6.
In general, the DECOP pulse instruction is used.
6 - 3 5 8
DECO
P
Y
M
S
T
S : Source device
D : Device where the decoded values are stored
n : Number of bits whose values are decoded
bits in D.
Operand
S, D, n
C
HC
D
FR
SM
Pulse instruction
AS
Function
Decoding bits
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
"$"
F
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents