Figure 4-32: hsl_m_v_change() theory – ADLINK HSL-4XMO User Manual

Page 86

Advertising
background image

76

Operation Theory

Figure 4-32: HSL_M_v_change() Theory

Constraints of HSL_M_v_change()

In a single axis preset mode, there must be enough remaining
pulses to reach the new velocity, else the HSL_M_v_change() will
return an error and the velocity remains unchanged.

Example:

A trapezoidal relative motion is applied:

HSL_M_start_tr_move(0,10000,0,1000,0.1,0.1).

It cause axis 0 to move for 10000 pulses, and the maximum veloc-
ity is 1000 PPS.

At 5000 pulses, HSL_M_v_change(0,NewVel,Tacc) is applied

Advertising