User`s guide
82 •Function Library
6.5 Continuously Motion Move
@ Name
v_move – Accelerate an axis to a constant velocity with trapezoidal
profile
sv_move – Accelerate an axis to a constant velocity with S-curve
profile
v_change – Change speed on the fly
v_stop – Decelerate to stop
@ Description
v_move:
This function is used to accelerate an axis to the specified constant
velocity. The axis will continue to travel at a constant velocity until the
velocity is changed or the axis is commanded to stop. The direction is
determined by the sign of velocity parameter.
sv_move:
This function is similar to v_stop() but accelerating with S-curve.
v_change:
You can change the velocity profile of command pulse ouput during
operation by this function. This function changes the maximum
velocity setting during operation. However, if you operate under
“Preset Mode” (like start_a_move(),…), you are not allowed to change
the acceleration parameter during operation because the deceleration
point is pre-determined. But changing the acceleration parameter
when operating under “Constant Velocity Mode” is valid.
v_stop:
This function is used to decelerate an axis to stop. This function is
also useful when preset move(both trapezoidal and S-curve motion),
manual move or home return function is performed.
@ Syntax
C/C++ (DOS, Windows 95/NT)
U16 v_move(I16 axis, F64 str_vel, F64 max_vel, F64
Tacc)
U16 sv_move(I16 axis, F64 str_vel, F64 max_vel, F64
Tlacc, F64 Tsacc)
U16 v_change(I16 axis, F64 max_vel, F64 Tacc)
U16 v_stop(I16 axis, F64 Tdec)
Visual Basic (Windows 95/NT)
v_move (ByVal axis As Integer, ByVal str_vel As
Double, ByVal max_vel As Double, ByVal Tacc As
Double) As Integer
sv_move(I16 axis, F64 str_vel, F64 max_vel, F64
Tlacc, F64 Tsacc) As Integer