5 velocity mode motion, Velocity mode motion – ADLINK PCI-8158 User Manual

Page 140

Advertising
background image

130

Function Library

6.5 Velocity mode motion

@ Name

_8158_tv_move – Accelerate an axis to a constant velocity with

trapezoidal profile

_8158_sv_move – Accelerate an axis to a constant velocity with

S-curve profile

_8158_emg_stop – Immediately stop

_8158_sd_stop – Decelerate to stop

_8158_get_current_speed – Get current speed

_8158_speed_override – Change speed on the fly

_8158_set_max_override_speed – Set the maximum over-

ride speed

@ Description

_8158_tv_move:

This function is to accelerate an axis to the specified constant
velocity with a trapezoidal profile. 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 the velocity parameter.

_8158_sv_move:

This function is to accelerate an axis to the specified constant
velocity with a S-curve profile. 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.

_8158_emg_stop:

This function is used to immediately stop an axis. This function
is also useful when a preset move (both trapezoidal and S-
curve motion), manual move, or home return function is per-
formed.

_8158_sd_stop:

Advertising