Delta DVP-ES2 User Manual
Page 547
3 . I n s t r u c t i o n S e t
3 - 4 3 1
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
X
(
)
16 00 ,22 00
(
)
32 00 ,0
(
)
0,0
(1 6 00 ,-2 20 0)
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.
D214
M1029
DCIMR
Y0
END
D210
DCIMR
Y0
D206
DCIMR
Y0
D202
DCIMR
Y0
= D0 K1
= D0 K2
= D0 K4
M0
K1
D0
D0
M0
M1029
D100
D100
D100
D100
K0
D100
D212
D208
D204
D200
RST
MOV
MOV
INCP
= D0 K3