3 . I n s t r u c t i o n S e t
M N 0 5 0 0 3 0 0 3 E F or m o r e i nf o r m a t i o n v i s i t : www. e a t o n. c o m
3-467
each time a segment of the arc is complete, which also initiates the second segment of the arc.
This execution will continue until the fourth segment of the arc is complete.
Program Example 2:
1. Draw a tilted ellipse as the figure below.
Y
X
(0,0)
(26000,26000)
(34000,18000)
(8000,-8000)
2. Steps:
a) Find the max. and min. coordinates on the X and Y axes (0,0), (26000,26000),
(34000,18000), (8000,-8000) per the figure above. Place them in the 32-bit registers
(D200,D202), (D204,D206), (D208,D210) and (D212,D214).
b) Select “draw clockwise arc” and “average resolution” (S = K0).
c) Set M0 to On to start the motion.
M0
RST
= D0 K1
D200
D202
K0
Y0
= D0 K2
D204
D206
Y0
= D0 K3
D208
D210
Y0
= D0 K4
D212
D214
Y0
MOV
D0
M0
INCP
END
M1029
D0
M1029
K1
K0
K0
K0
DCIMA
DCIMA
DCIMA
DCIMA
ZRST
D1336
D1339
3. Motion
description:
When M0 = On, the ELC will start drawing the first segment of the arc. D0 will increment each
time a segment of the arc is complete, which also initiates the second segment of the arc. This
execution will continue until the fourth segment of the arc is complete.
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...