1
Program Structure of DVP-PM
DVP-PM Application Manual
1-6
M OV
CALL
.
.
.
.
.
.
H800A D1868
OUT
M 1074
X0
P0
P2
CALL
b
a
M1000
M 1000
Call P0 subroutine
Set OX as O 10
X
When X0 = ON, O 10 m otion subr outine
will be enabled. Path a will be tr ue.
X
Call P2 subroutine
O100 and O 10
program bif urcation point
X
C
y
c
li
c
s
c
a
n
Ex
e
c
u
te
o
n
c
e
Ex
e
c
u
te
o
n
c
e
Ex
e
c
u
te
o
n
c
e
Ex
e
c
u
te
o
n
c
e
O
1
0
0
M
a
in
c
o
n
tr
o
l
p
ro
g
ra
m
s
e
c
ti
o
n
O
X
1
0
M
o
ti
o
n
s
u
b
ro
u
ti
n
e
s
e
c
ti
o
n
P
2
S
u
b
ro
u
ti
n
e
s
e
c
ti
o
n
P
0
S
u
b
ro
u
ti
n
e
s
e
c
ti
o
n
M OVP
K100
D1836
ABS T
DRV
X - 20000
Y 20000
M OVP
K100
D1837
.
.
.
.
.
.
.
.
.
z
P0 subroutine section called by O100 supports only basic instructions and application instructions.
However, P2 subroutine section called by OX subroutine supports basic instructions, application
instructions (API), motion instructions (MON) and G-Code instructions.
3.
There are three ways to stop Pn subroutine:
z
When DVP-PM is powered, and the AUTO/MANU switch goes from AUTO to MANU, M1072 will be
OFF automatically, and O100 main program will be in STOP status. The operation of OX and Pn
subroutines will also stop at this moment.
z
When DVP-PM is powered, you can also stop OX subroutine by setting M1074 to be OFF or D1846
as 0 through communication, so as to stop the Pn subroutine called by OX subroutine.
z
When errors occur during compiling or operation of the program, Pn subroutines will stop
automatically. See Chapter 14 Index for the table of the error codes and their causes.
4. The above explanations are sorted in the table below:
Содержание DVP-10PM
Страница 1: ......
Страница 45: ...2 Hardware Specifications and Wiring DVP PM Application Manual 2 30 MEMO...
Страница 125: ...3 Functions of Devices in DVP PM DVP PM Application Manual 3 80 MEMO...
Страница 341: ...8 Application Examples DVP PM Application Manual 8 2 Trajectory 3 Trajectory 4...
Страница 427: ...9 Electrical CAM DVP PM Application Manual 9 74...
Страница 437: ...10 Encrypting User Program DVP PM Application Manual 10 10 MEMO...
Страница 458: ...11 G code Application DVP PM Application Manual 11 21 B O100 main program...
Страница 561: ...14 Appendix DVP PM Application Manual 14 4 MEMO...