8 Application Examples 8.4 Connect DVP-PM (as Master) and DVP01PU-H2 (as Slave) for 3 rd Axis Control 1. Enable O100 and execute OX0. 2. When the execution encounters G01 Z-25000 F10000 in OX0 subroutine, the program will call P255. 3. In P255, when D1328 rd axis. Move to target position K1,000 in 4. Return to OX0 after the execution of P255 is completed. Wait for 10 seconds. operation speed K10,000. 5. When the execution encounters G01 Z10000 F20000 in OX0 subroutine, the program will call P255. 6. In P255, when D1328 > 0, drive DVP01PU-H2 to control the 3 rd axis. Move to target position K2,000 in operation speed K20,000. 7. Return to OX0 after the execution of P255 is completed.
Instruction List of O100 main program and subroutines: O100 main program: Design instructions for initializing current status of X/Y axis and enabling OX0 motion subroutine LD M1002 MOV H8000 D1868 Write in the No.
(0) of OX to be enabled SET M1074 Enable OX motion subroutine M102 OX0 subroutine G01 Z-25000 F10000 G01 3 rd axis control TIM K1000 Pause for 10 seconds G01 Z10000 F20000 G01 3 rd axis control M2 P255 subroutine BRET TO K0 K31 H2 K1 Stop DVP01PU DLD>= K0 D1328 Compare 0 with D1328 DTO K0 K23 K1000 K1 Set up DVP01PU target position DTO K0 K25 D1330 K1 Set up DVP01PU operation speed TO K0 K32 H1 K1 Set up DVP01PU single speed positioning mode TO K0 K31 H100 K1 Enable DVP01PU DLD K0 D1328 Compare 0 with D1328 DTO K0 K23 K2000 K1 Set up DVP01PU target position DTO K0 K25 D1330 K1 Set up DVP01PU operation speed TO K0 K32 H1 K1 Set up DVP01PU single speed positioning mode TO K0 K31 H100 K1 Enable DVP01PU SRET Note:
This application is only applicable for DVP20PM00D DVP-PM Application Manual 8-14