![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/d/cc/dcc780e2-02d8-4d73-ad47-dca17d60a0c3/dcc780e2-02d8-4d73-ad47-dca17d60a0c3-bg223.png)
3. Instruction Set
3-431
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
()1600,2200
()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.
D214
M1029
DCIMR
Y0
END
D210DCIMR
Y0
D206DCIMR
Y0
D202DCIMR 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