EasyManua.ls Logo

Delta AH500 - Page 602

Delta AH500
749 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AH500 Programming Manual
6-434
API Instruction code Operand
Function
1904 EPUSH P
D
Storing the contents of the index
registers
Device
X Y M S T C HC D L SM SR E PR K 16#
“$” DF
D
Pulse instruction
16-bit instruction (3 steps)
32-bit instruction
AH500 AH500
Symbol:
D
Device in which the value in the
index register is stored
Word
Explanation:
1. The values in E0~E31 are stored in the devices specified by the value in D.
2. The execution of the instruction involves thirty-four devices, and the last two devices are for
system use. If the instruction is executed and the number of times the data is stored is n, which
is the value in D, the data in E0~E31 is stored in D+34*n+1~D+34*n+32, and the value in D
becomes n+1.
3. If the instruction EPUSH is executed several times, the data in E0~E31 is stored several times
in the devices specified by the changeable value in D. Therefore, the range of devices should
be wide enough.
4. If the instruction is used with the instruction EPOP, the value which is stored last in the device
specified by the value in D is read first.
The number of times
the data is stored
E0
E1
E31
......
+1
D
D
D
+2
D
+
32
E0
E1
......
+36
D
D
+
37
+35
D
D
+33
D
+34
......
......
......
E2
For system use
Example:
Suppose the value in D0 is 0. When X0.0 is ON for the first time, the data in E0~E31 is transmitted
to D1~D32, and the value in D0 becomes 1. When X0.0 is switched from OFF to ON for the second
time, the data in E0~E31 is transmitted to D35~D66, and the value in D0 becomes 2. When X0.0 is
switched from OFF to ON for the n
th
time, the data in E0~E31 is transmitted to D+(the value in
D0)*34+1~D+(the value in D0)*34+32.

Table of Contents

Other manuals for Delta AH500

Related product manuals