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-461
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) per 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 “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
DCIMR
DCIMR
DCIMR
DCIMR
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 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 per the figure below.
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...