Examples and tips
PROGRAMMING MANUAL
269
R
e
vi
si
o
n
1
.0
Because 2
17
/50 is a number with an infinite number of decimal digits, we can
choose the following:
Therefore, the parameters are:
With these settings, executing
MOVE(50)
moves the moving part 50 mm, or
one station.
Example 6
fig. 24
The mechanical system consists of a ball screw. It uses a servo motor with a
17-bit absolute encoder. The mechanical gear ratio of the gearbox is 1:3.
The screw pitch of the ball screw is 10mm per revolution. The total travel
distance of the ball screw is 540 mm. The mechanical measurement units
must be mm.
With the same procedure as in example 1, we have:
Therefore:
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
.
.
UNITS = 2 = 32768
15
Pn202 = 1
Pn203 = 15
Pn205 = 4
REP_DIST = 50
REP_OPTION = 1
17-bit absolute
encoder
M
1:3 Gear
10mm
540mm
Pn202
Pn203
UNITS =
2
17
encoder_counts
1 motor_revolution 1 ballscrew_revolution
3 motor_revolution
10mm
1 ballscrew_revolution
10
2
17
3 encoder_counts
=
mm
=
.
.
.
.
.
.
Pn202
Pn203
UNITS
17
= 2
10
3
17
= 2
2 5
3
16
= 2
5
3
.