2 Functions of Devices in DVP-PLC 5. Examples: a) Draw oblique lines in 2 axes Destination: Draw 2 oblique lines (as figure 1) Program explanation: Y0 and Y10 belong to X axis, and Y1 and Y11 belong to Y axis (as figure 2) Output frequency and number of pulses:
see table 1 Y Section 2 X (Figure 1) M1002 M0 Y0 M1133 Y1 M1135 (Figure 2) (Table 1) DVP-PLC Application Manual 2-96 (5,000, 4,000) (1,000, 3,000) (1,000, 3,000) 0) Section 1 Section 2 MOV K200 D1133 MOV K2 D1134 MOV K300 D1135 MOV K2 D1136 Axis Section Device D Output frequency Device D Number of output pulses X 1 D201, D200 K1,000 D203, D202 K1,000 2 D205, D204 K4,000 D207, D206 K4,000 Y 1 D301, D300 K3,000 D303, D302 K3,000 2 D305, D304 K1,000 D307, D306 K1,000