Delta AH500 Programming Manual page 418

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
API
Instruction code
1108
SFINS
Device X
Y
M
S
D
n
Symbol:
Explanation:
1.
The value in the device specified by S indicates the length of the data, and the data is in the
devices specified by S+1~S+(The value in S). When the instruction is executed, the data in D
is inserted into S+n, the original data in the devices specified by S+n~S+(The value in S) is
shifted to the left, and the value in the device specified by S increases by one. When the value
in the device specified by S is equal to 32767, the instruction does not process the writing of
the data, the value in the device specified by S does not increase, and the carry flag SM602 is
ON.
2.
Generally, the pulse instruction SFINSP is used.
3.
The operand n should be within the range between 1 and 32767.
Example:
Suppose the value in D0 is 8, and n is 4. When X0.0 is ON, the data in D200 is inserted into D4, the
original data in D4~D8 is shifted to D5~D9, and the value in D0 increases by one.
D
D200
D8
4712
22
D200
D9
D8
22
4712
857
6 - 2 5 0
Operand
S, D, n
P
S
T
C
HC
D
Pulse instruction 16-bit instruction (7 steps) 32-bit instruction
AH500
S : Initial device
D : Data which is inserted
n : Device into which the data is inserted
n=4
D7
D6
D5
D4
857
123
100
111
T he data is inserted.
D7
D6
D5
D4
123
100
111
22
Inserting the data into the data list
L
SM SR
E
PR
AH500
S
D3
D2
D0
D1
48
5
799
8
T he length of the data
D3
D2
D0
D1
48
5
9
799
T he length of the data
Function
K
16# "$"
DF
-
Word
Word
Word

Advertisement

Table of Contents
loading

Table of Contents