Syntax – ADLINK PCI-8154 User Manual

Page 150

Advertising
background image

140

Function Library

preset move (both trapezoidal and S-curve motion), manual
move, or home return function is performed. Note: The velocity
profile is decided by original motion profile.

_8154_get_current_speed

:

This function is used to read the current pulse output rate
(pulse/sec) of a specified axis. It is applicable in any time in any
operation mode.

@ Syntax

C/C++(Windows 2000/XP)

I16 _8154_tv_move(I16 AxisNo, F64 StrVel, F64

MaxVel, F64 Tacc);

I16 _8154_sv_move(I16 AxisNo, F64 StrVel, F64

MaxVel, F64 Tacc, F64 SVacc);

I16 _8154_emg_stop(I16 AxisNo);

I16 _8154_sd_stop(I16 AxisNo, F64 Tdec);

I16 _8154_get_current_speed(I16 AxisNo, F64

*speed)

Visual Basic6 (Windows 2000/XP)

B_8154_tv_move(ByVal AxisNo As Integer, ByVal

StrVel As Double, ByVal MaxVel As Double,

ByVal Tacc As Double) As Integer

B_8154_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_8154_emg_stop(ByVal AxisNo As Integer) As

Integer

B_8154_sd_stop(ByVal AxisNo As Integer, ByVal

Tdec As Double) As Integer

B_8154_get_current_speed(ByVal AxisNo As Integer,

ByRef Speed As Double) As Integer

Advertising