17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3. Instruction Set<br />

that the arc has to be a 90° arc, i.e. the numbers of output pulses in X and Y axes can be<br />

different.<br />

13. There are no settings of start frequency and ramp-up/down time.<br />

14. There is no limitation on the number of times for using the instruction. However, assume CH0 or<br />

CH1 output is in use, the X/Y axis synchronized output will not be performed<br />

Program Example 1:<br />

1. Draw an ellipse as the figure below.<br />

Y<br />

( 1600,2200)<br />

( 0,0)<br />

( 3200,0)<br />

X<br />

(1600,-2200)<br />

2. Steps:<br />

a) Set the four coordinates (0,0), (1600, 2200), (3200, 0), (1600, -2200) (as the figure above).<br />

Calculate the relative coordinates of the four points and obtain (1600, 2200), (1600, -2200),<br />

(-1600, -2200), and (-1600, 2200). Place them in the 32-bit registers (D200, D202), (D204,<br />

D206), (D208, D210), (D212, D214).<br />

b) Select “draw clockwise arc” and default “motion time” (S = D100 = K0).<br />

c) RUN the PLC. Set ON M0 to start the drawing of the ellipse.<br />

= D0 K1<br />

DCIMR<br />

D200<br />

D202<br />

D100<br />

Y0<br />

= D0 K2<br />

DCIMR<br />

D204<br />

D206<br />

D100<br />

Y0<br />

= D0 K3<br />

DCIMR<br />

D208<br />

D210<br />

D100<br />

Y0<br />

= D0 K4<br />

DCIMR<br />

D212<br />

D214<br />

D100<br />

Y0<br />

M0<br />

RST<br />

M1029<br />

MOV<br />

K0<br />

D100<br />

MOV<br />

K1<br />

D0<br />

M0<br />

M1029<br />

INCP<br />

D0<br />

END<br />

3-431

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!