Delta AH500 Programming Manual page 297

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
0309
SMOV
Device X
Y
M
S
m
1
m
2
D
n
Symbol:
Explanation:
1.
The instruction can be used to allocate and combine the data. When the instruction is
executed, the m
digits of the number which start from the m
2
transferred to the m
2.
The operand m
should be within the range between 1 and 4. The operand m
1
within the range between 1 and m
and 4. (Four bits are regarded as a unit.)
3.
When SM605 is OFF, the data involved in the instruction is binary-coded decimal numbers.
3
10
Unchanged
3
10
Suppose the number in S is K1234, and the number in D is K5678. After the instruction is
executed, the number in S is 1234, and the number in D is 5128.
4.
When SM605 is ON, the data involved in the instruction is binary numbers.
Operand
S, m
, m
, D, n
P
1
2
S
T
C
HC
D
Pulse instruction 16-bit instruction (11 steps) 32-bit instruction
AH500
S : Data source
Start digit which will be transferred
m
1
from the source device
Number of digits which will be
m
2
transferred
D : Data destination
Start digit where the source data is
n :
stored in the destination device
digits of the number which starts from the n
2
. The operand n should be within the range between m
1
2
1
0
10
10
10
Unchanged
2
1
0
10
10
10
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Transferring the digits
L
SM SR
E
PR
AH500
th
digit of the number in S are
1
th
digit of the number in D.
D10 (16- bit binary number)
Conversi on
D10 (4- digit binary -coded deci mal)
T ransferri ng the digits
D20 (
4- digit binary -coded deci mal
Conversi on
D20 (
16- bit binary number
Function
K
16# "$"
DF
Word
Word
Word
Word
Word
should be
2
2
)
)
6 - 1 2 9

Advertisement

Table of Contents
loading

Table of Contents