EasyManua.ls Logo

Delta DVP-PM Series - Page 156

Delta DVP-PM Series
561 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...
5 Categories and Use of Basic Application Instructions
DVP-PM Application Manual 5-19
4. When X13 is ON, execute CALL P13, jump to and run subroutine P13.
5. When X14 is ON, execute CALL P14, jump to and run subroutine P14. When the SRET instruction is reached,
jump back to the last P subroutine to finish the remaining instructions.
6. The execution of subroutines will go backwards to the subroutine of upper level until SRET instruction in P10
subroutine is executed. After this program execution will return to the main program.
X0
X20
INC
D0
Y0
CALL P10
X0
INC D1
Y1
FEND
INC D10
X2
P10
Y2
X2
X11
CALL
P11
INC D11
Y3
SRET
INC D20
X2
P11
Y4
X12
CALL
P12
X2
INC D21
Y5
SRET
X2
X13
X2
X2
X2
X14
X2
P13
P14
P12
INC D30
Y20
CALL P13
INC D31
Y21
SRET
INC
D40
Y22
CALL
P14
INC D41
Y23
SRET
INC D50
Y24
SRET
END
Main
Program
Subroutine
Subroutine
Subroutine
Subroutine
Subroutine

Table of Contents

Related product manuals