9 Application Instructions API 150-199 more than 200kHz, the output will be operated at 200kHz. 7. When the 2-axis synchronous motion instruction is enabled, the start frequency and acceleration/deceleration time in Y axis will be same as the settings in X axis. 8. The number of output pulses for the 2-axis motion shall not be the values within 1 ~ 59; otherwise the line drawn will not be straight enough. 9. There is no limitation on the number of times using the instruction. However, assume CH1 or CH2 output is in use, the 1 st group X/Y axis will not be able to output. If CH3 or CH4 output is in use, the 2 nd group X/Y axis will not be able to output. Program Example: 1.
Draw a rhombus as the figure below. Y X (-27,000, -27,000) (27,000, -27,000) (0, -55,000) 2. Steps: a) Set the four coordinate (-27,000, -27,000), (0, -55,000), (27,000, -27,000), (0, 0) (as the figure above). Place them in the 32-bit (D200, D202), (D204, D206), (D208, D210), (D212, D214). b) Write program codes as follows. c) PLC RUN. Set M0 as On and start the 2-axis line drawing. 3. Motion explanation: When PLC RUN and M0 = On, PLC will start the first point-to-point motion by 100kHz.
D0 will plus 1 whenever a DVP-PLC Application Manual 9-116 (0,0) = D0 K1 DPPMA D200 D202 K100000 Y0 = D0 K2 DPPMA D204 D206 K100000 Y0 = D0 K3 DPPMA D208 D210 K100000 Y0 = D0 K4 DPPMA D212 D214 K100000 Y0 M0 RST M1029 ZRST D1336 D1339 MOV K1 D0 M0 M1029 INCP D0 END DPPMA D200 D202 K100000 Y0 END DPPMA D204 D206 K100000 Y0 DPPMA D208 D210 K100000 Y0 DPPMA D212 D214 K100000 Y0 RST M1029 ZRST D1336 D1339 MOV K1 D0 INCP D0