Trapezoidal motion mode, 6 trapezoidal motion mode – ADLINK PCI-8134A User Manual

Page 94

Advertising
background image

84

Function Library

v_stop (ByVal axis As Integer, ByVal Tacc As Double)

As Integer

set_sd_stop_mode (ByVal axis As Integer, ByVal

stopmode As Integer) As Integer

fix_max_speed(ByVal axis As Integer, ByVal max_vel As Double)

As Integer

unfix_max_speed(ByVal axis

As Integer) As Integer

verify_speed(ByVal str_vel As Double, ByVal max_vel As Double,

minAccT As Double, maxAccT As Double, ByVal MaxSpeed

As Double) As Double

_8134_set_sd_stop_mode (ByVal axis As Integer, ByVal stopmode

As Integer) As Integer

@ Argument

axis: axis number designated to move or stop.
str_vel: starting velocity in unit of pulse per second
max_vel: maximum velocity in unit of pulse per second
Tacc: specified acceleration time in unit of second
Tdec: specified deceleration time in unit of second

Tlacc: specified linear acceleration time of S-
curve in unit of second
Tsacc: specified S-curve acceleration time of S-
curve in unit of second
stopmode: 0=slow down to starting velocity, 1=slow
down then stop
*minAccT: calculated minimum acceleration time
*maxAccT:

calculated maximum acceleration time

MaxSpeed: The value of maximum speed setting in
motion function or in fix_max_speed function

@ Return Code

ERR_NoError

The return value of verify_speed is the calculated starting velocity

6.6

Trapezoidal Motion Mode

@ Name

start_a_move– Begin an absolute trapezoidal profile motion
start_r_move– Begin a relative trapezoidal profile motion
start_t_move– Begin a non-symmetrical relative trapezoidal profile

motion

start_ta_move – Begin a non-symmetrical absolute trapezoidal profile
motion

Advertising