Table 4-6: hsl_m_v_change() example, Figure 4-33: velocity suggestions a – ADLINK HSL-4XMO User Manual

Page 87

Advertising
background image

Operation Theory

77

.

1. To set the maximum velocity, the function

HSL_M_fix_speed_range() must be used in order for the
function HSL_M_v_change() to work correctly. If
HSL_M_fix_speed_range() is not applied, MaxVel set by
HSL_M_v_move() or HSL_M_start_ta_move() automati-
cally becomes the maximum velocity, where
HSL_M_v_change() can not be exceeded.

Figure 4-33: Velocity Suggestions A

2. During the acceleration or deceleration period, using

HSL_M_v_change() is not suggested, although it does
work in most cases, the acceleration and deceleration
time is not guaranteed.

NewVel (PPS) Tacc (Sec)

Necessary remaining pulses

OK / Error

Acceleration Deceleration Total

5000

0.1

300

313

613

OK

5000

1

3000

3125

6125

Error

10000

0.1

550

556

1106

OK

50000

0.1

2550

2551

5101

Error

Table 4-6:

HSL_M_v_change() Example

Advertising