ADLINK PCI-8134A User Manual

Page 121

Advertising
background image

Additional Function Library

111

value according to the maximum speed setting in motion function.

_8134_verify_speed:

This function is used to get the minimum acceleration under a
maximum speed setting. This function will not affect any speed or
acceleration setting. It is only for offline checking.

_8134_get_current_speed:

This function is used to get the current speed value in pps of position
counter

@ Syntax

C/C++ (DOS, Windows)

I16 _8134_tv_move(I16 axis, F64 str_vel, F64 max_vel, F64 Tacc)
I16 _8134_sv_move(I16 axis, F64 str_vel, F64 max_vel, F64 Tlacc,

F64 Tsacc)

I16 _8134_v_change(I16 axis, F64 max_vel, F64 Tacc)
I16 _8134_sd_stop(I16 axis, F64 Tdec)

I16 _8134_emg_stop(I16 axis)
I16 _8134_set_sd(I16 axis,I16 enable, I16 sd_logic, I16 sd_latch,

I16 stop_mode)

I16 _8134_fix_speed_range(I16 axis, F64 max_vel)
I16 _8134_unfix_speed_range(I16 axis)
F64 _8134_verify_speed(F64 StrVel, F64 MaxVel, F64 *minAccT,

F64 *maxAccT, F64 MaxSpeed)

Visual Basic (Windows)

B_8134_tv_move (ByVal axis As Integer, ByVal str_vel As Double,

ByVal max_vel As Double, ByVal Tacc As Double) As Integer

B_8134_sv_move(I16 axis, F64 str_vel, F64 max_vel, F64 Tlacc,

F64 Tsacc) As Integer

B_8134_v_change(I16 axis, F64 max_vel, F64 Tacc) As Integer
B_8134_sd_stop (ByVal axis As Integer, ByVal Tacc As Double)

As Integer

B_8134_emg_stop (ByVal axis As Integer) As Integer
B_8134_set_sd (ByVal axis As Integer, ByVal enable As Integer

ByVal sd_logic As Integer ByVal sd_latch As Integer, ByVal
stop_mode As Integer) As Integer

B_8134_fix_speed_range(ByVal axis As Integer, ByVal max_vel As

Double) As Integer

B_8134_unfix_speed_range(ByVal axis As Integer) As Integer
B_8134_verify_speed(ByVal str_vel As Double, ByVal max_vel As

Double, minAccT As Double, maxAccT As Double, ByVal
MaxSpeed As Double) As Double

@ 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

Advertising