Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming that the arc has to be a 90  arc, i.e. the numbers of output pulses in X and Y axes can be different. 13. There are no settings of start frequency and ramp-up/down time. 14. There is no limitation on the number of times for using the instruction. However, assume CH0 or CH1 output is in use, the X/Y axis synchronized output will not be performed Program Example 1: 1. Draw an ellipse as the figure below. Y ( ) 1600,2200 X ( ) 3200,0 ( ) 0,0 (1600,-2200) 2. Steps: a) Set the four coordinates (0,0), (1600, 2200), (3200, 0), (1600, -2200) (as the figure above).

Calculate the relative coordinates of the four points and obtain (1600, 2200), (1600, -2200), (-1600, -2200), and (-1600, 2200). Place them in the 32-bit registers (D200, D202), (D204, D206), (D208, D210), (D212, D214). b) Select “draw clockwise arc” and default “motion time” ( S = D100 = K0). c) RUN the PLC. Set ON M0 to start the drawing of the ellipse. = D0 K1 = D0 K2 = D0 K3 = D0 K4 M0 M0 M1029 END 3-464 DCIMR D200 D202 D100 Y0 DCIMR D204 D206 D100 Y0 DCIMR D208 D210 D100 Y0 DCIMR D212 D214 D100 Y0 RST M1029 MOV K0 D100 MOV K1 D0 INCP D0