2. Programming Concepts
MN05003003E For more information visit: www.eaton.com
2-111
3. Output frequency and number: the settings are the same as example 2.
Axis Segment D
Output pulse
number
D
Output pulse
number
1
D201,D200 K1230 D203,D202 K615
2
D205,D204 K3664 D207,D206 K1832
3
D209,D208 K6004 D211,D210 K3002
4
D213,D212 K8200 D215,D214 K4100
5
D217,D216 K10190 D219,D218 K5095
6
D221,D220 K11932 D223,D222 K5966
7
D225,D224 K13380 D227,D226 K6690
8
D229,D228 K14498 D231,D230 K7249
9
D233,D232 K15258 D235,D234 K7629
X
10
D237,D236 K15644 D239,D238 K7822
1
D301,D300 K15644 D303,D302 K7822
2
D305,D304 K15258 D307,D306 K7629
3
D309,D308 K14498 D311,D310 K7249
4
D313,D312 K13380 D315,D314 K6690
5
D317,D316 K11932 D319,D318 K5966
6
D321,D320 K10190 D323,D322 K5095
7
D325,D324 K8200 D327,D326 K4100
8
D329,D328 K6004 D331,D330 K3002
9
D333,D332 K3664 D335,D334 K1832
Y
10
D337,D336 K1230 D339,D338 K615
How to calculate the frequency of each segment and the number of output pulse:
1. Destination: Draw a clockwise arc to (50000,50000) with 10 segments as shown as follows:
(0,0)
(0,Ry)
(Rx,0)
(x10,y10)
(x1,y1)
(x2,y2)
(x3,y3)
(x4,y4)
(x5,y5)
(x6,y6)
(x7,y7)
(x8,y8)
(x9,y9)
X axis
Y axis
2. Rx is a target value of X axis; Ry is a target value of Y axis; N is the number of segments; π
=3.1416
Step 1: Calculate the position of each segment
X axis Æ
x1 = Rx – Rx*sin[(N–1)*π/(2*N)]
x2 = Rx – Rx*sin[ (N–2)*π/(2*N) ]