14. Simple Positioning Design Examples Control Program:
X0 = D0 K1 Lift up the pen on the 3rd axis M1036 = D0 K2 2-axis positioning from P0 to P1 = D0 K3 Put down the pen on the 3rd-axis M1036 = D0 K4 DPPMA Y0 K10000 K600 K-53400 2-axis positioning from P1 to P2 Draw the triangle Draw the ellipse = D0 K5 DPPMA Y0 K10000 K-53400 K61500 2-axis positioning from P2 to P3 = D0 K6 DPPMA Y0 K10000 K32500 K-500 2-axis positioning from P3 to P1 = D0 K7 Lift up the pen on the 3rd axis M1036 = D0 K8 2-axis positioning from P1 to P4 = D0 K9 Put down the pen on the 3rd axis M1036 = D0 K10 DCIMA K34400 K-20500 D10 Y0 2-axis positioning from P4 to P5 = D0 K11 DCIMA D10 Y0 K48800 K-33300 2-axis positioning from P5 to P6 = D0 K12 DCIMA D10 Y0 K23100 K-53400 2-axis positioning from P6 to P7 2-axis positioning from P7 to P4 = D0 K13 DCIMA D10 Y0 K10300 K-43600 DVP-PLC Application Examples 14-7 Device Function Y1 X axis direction signal output device Y2 Y axis pulse output device Y3 Y axis direction signal output device Y4 The 3rd axis pulse output device Y5 The 3rd axis direction signal output device D0 Drawing steps D10 Parameter setting MOVP K1 D0 DDRVA K5000 K10000 Y4 Y5 MOVP K2 D0 DPPMA K32500 K-500 K10000 Y0 DDRVA K0 K10000 Y4 Y5 MOVP K4 D0 DDRVA K5000 K10000 Y4 Y5 MOVP K8 D0 DPPMA K10300 K-43600 K10000 Y0 DDRVA K0 K10000 Y4 Y5 MOVP K10 D0