Delta AH500 Programming Manual page 275

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
0218
D
LINE
Device X
Y
M
S
n
D
Symbol:
Explanation:
1.
The operand S used in the 16-bit instruction occupies sixteen 16-bit registers, i.e. S~S+15.
2.
The operand S used in the 32-bit instruction occupies thirty-two 32-bit registers, i.e. S~S+31.
3.
The operand n indicates that the value of the n
retrieved. Besides, the operand n used in the 16-bit instruction should be within the range
between 0 and 15, and the operand n used in the 32-bit instruction should be within the range
between 0 and 31.
4.
The operand n used in the 16-bit instruction indicates that the values of the n
are retrieved, and the values of the n
5.
The operand n used in the 32-bit instruction indicates that the values of the n
are retrieved, and the values of the n
6.
Only the 32-bit instructions can use the 32-bit counter.
7.
Take the 16-bit instruction for example.
b15
S
S+1
S+2
.
.
.
.
.
.
S+13
S+14
S+15
Operand
S, n, D
P
S
T
C
HC
D
Pulse instruction 16-bit instruction (7 steps) 32-bit instruction (7 steps)
AH500
S : Data source
n : Number of bits
D : Data destination
th
bits are stored in the operand D in order.
th
bits are stored in the operand D in order.
N
b0
1
0
1
.
.
.
.
.
.
0
1
0
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Converting a column of data into a
line of data
L
SM SR
E
PR
AH500
Word/Double word
Word/Double word
Word/Double word
th
bit in every piece of data in the operand S is
b15
. . .. . . . .
D
0 1 0
Function
K
16# "$"
DF
AH500
th
bits in S~S+15
th
bits in S~S+31
b0
1
0
1
6 - 1 0 7

Advertisement

Table of Contents
loading

Table of Contents