
Examples and tips
PROGRAMMING MANUAL
249
Revi
si
on 3.0
Example 5
fig. 23
The mechanical system uses a servo motor with a 17-bit absolute
encoder. The mechanical gear ratio of the gearbox is 1:10. The
pulley has got 12 teeth, and each two are 50 mm apart. One
complete turn of the pulley equals 144 stations on the main wheel.
The distance between two stations is 50 mm. The mechanical
measurement units must mm. Total repeat distance must be the
distance between two stations, 50mm.
With the same procedure as in example 1, we have:
Therefore, if we use the mechanical system to set the electronic
gear ratio, we have:
One possible solution is:
Because 2
17
/50 is a number with an infinite number of decimal
digits, we can choose the following:
M
17-bit absolute
encoder
1:10 Gear
Pulley: 12 teeth
50mm between teeth
Main Wheel: 144 stations
50 mm between stations
Pn202
Pn203
UNITS =
2
17
encoder_counts
1 motor_revolution
1 pulley_revolution
10 motor_revolution
12 station
1 pulley_revolution
12 50
2
17
10 encoder_counts
mm
=
50mm
1 station
=
.
.
.
.
.
.
.
.
.
.
.
Pn202
Pn203
UNITS
50
2
17
10
=
12
Pn202 = 5
Pn203 = 6
Pn205 = 4
UNITS =
50
2
17
Pn202
Pn203
UNITS
50 12
10
17
= 2
17
= 2
600
10
17
= 2
60
1
15
= 2
1
2
2 15
15
1
17
= 2
.
.
I52E-EN-03.book Seite 249 Freitag, 29. Juni 2007 11:55 11