ADLINK PCI-8158 User Manual
Page 142

132
Function Library
Visual Basic6 (Windows 2000/XP)
B_8158_tv_move(ByVal AxisNo As Integer, ByVal
StrVel As Double, ByVal MaxVel As Double,
ByVal Tacc As Double) As Integer
B_8158_sv_move(ByVal AxisNo As Integer, ByVal
StrVel As Double, ByVal MaxVel As Double,
ByVal Tacc As Double, ByVal SVacc As Double)
As Integer
B_8158_emg_stop(ByVal AxisNo As Integer) As
Integer
B_8158_sd_stop(ByVal AxisNo As Integer, ByVal
Tdec As Double) As Integer
B_8158_get_current_speed(ByVal AxisNo As Integer,
ByRef Speed As Double) As Integer
B_8158_set_max_override_speed(ByVal AxisNo As
Integer, ByVal OvrdSpeed As Double, ByVal
Enable As Integer) As Integer
@ Argument
AxisNo: Axis number designated to move or stop.
StrVel: Starting velocity in units of pulse per second
MaxVel: Maximum velocity in units of pulse per second
Tacc: Specified acceleration time in units of second
SVacc: Specified velocity interval in which S-curve acceleration is
performed.
Note: SVacc = 0, for pure S-Curve
Tdec: specified deceleration time in units of second
*Speed: Variable to get current speed (pulse/sec).
card_id Physical axis AxisNo
0
0
0
1
1
…
…
7
7
1
0
8
1
9
…
…