E L C P r o g r a m m i n g M a n u a l
F or more info rmat io n vi sit: www.e a to n.c om M N 0 5 003 00 3 E
3-466
The range of the values is -2,147,483,648 ~ +2,147,483,647 (+/- represents the
forward/backward direction). When in forward direction, the pulse present value registers CH0
(D1031 high word, D1030 low word), CH1 (D1337 high word, D1336 low word) will increase.
When in backward direction, the present value will decrease.
3. For additional information refer to API 193 DCIMR.
Program Example 1:
1. Draw an ellipse per the figure below.
Y
X
(
)
16000,22000
(
)
32000,0
(
)
0,0
(16000,- 22000)
2. Steps:
a) Set the four coordinates (0,0), (16000, 22000), (32000, 0), (16000, -22000) per the figure
above. 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
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 by 1
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...