Delta AS Series Programming Manual page 1011

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
1905
Device
X
D
Data
type
D
Symbol
Explanation
1.
This instruction reads the values in the devices specified by D into E0–E9, and decrements the value in D by one.
The valid value for D is between 1–100. The instruction does not execute values that exceed the range.
2.
The instruction involves sixteen devices, and the last six devices are for system use. If you execute the instruction
and the number of times the data is stored is n (the value in D), the instruction stores the data in E0–E9 in
_6
D+16*(n-1)+1–D+16*(n-1)+10, and decrements the value in D to n-1.
3.
This instruction uses a pulse instruction to interact with the stack, taking the TOP VALUE from the stack and
assigning it to the specified variable; therefore, you must reset the contact before the next operation.
4.
The value that the instruction stores last in the device specified by D is read first, following the LIFO (last in first
out) principle.
6 - 7 3 2
EPOP
P
Y
M
S
T
C
Operand
D
HC
D
FR
SM
Pulse instruction
AS
D : Device from which the value is read
The num ber of t im es
D
.
t he data i s st ored
E0
D
+ 1
E1
D + 2
E9
D + 10
F or syst em u se
D +16
E0
D
+17
E1
D
+ 18
E2
D + 19
Function
Reading the data into the index registers
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
"$"
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents