1 Program Structure of DVP-PM
DVP-PM Application Manual
1-3
Features & functions
1. Performs sequential control of PLC
2. Able to activate OX0 ~ OX99 motion subroutines and call Pn subroutines
3. Can be placed in front of or after OX0 ~ OX99 motion subroutines and Pn subroutines.
6. Manual Motion Mode in O100 Main Program
In O100 main program, you can use special registers for designing Manual Motion Mode. (Please see 3.12
for details of how to set up).
1.2 Structure of OX Motion Subroutine
OX0 ~ OX99 motion subroutines are motion control programs for controlling the motions ON X/Y/Z axes in
DVP-PM. The OX0 ~ OX99 motion subroutines support basic instructions, application instructions, motion
instructions and G-Code instructions. Also OX subroutines are able to call Pn subroutines. OX0 ~ OX99 are
instructions provided specially for controlling the moving path ON X/Y/Z axes. See below the operation procedure
and features of OX motion subroutines.
1. How to activate OX0 ~ OX99 motion subroutines:
z When O100 main program is in RUN status, you can set up the execution No. of OX00~OX99
(D1868: H8000 ~ H8063) in O100 main program. After number of OX subroutine is specified, set
M1074 (Enabling OX subroutines) as ON or set b12 of D1846 as 1 to enable OX motion subroutine.
z Before enabling OX subroutine, make sure there are no other motion subroutines in operation.
OXn (No of OX)
O100 RUN
M1074= ON
or D1846 b12 = ON
OXn
Run
2. OX subroutine executes once when it is activated. When O100 main program activates OX subroutine,
the execution will start from the start flag of OX motion subroutine and end at M2 (end of OX
subroutine) as shown in the figure below: