5 motion, 8144_tv_move, Motion – ADLINK PCI-8144 User Manual

Page 104

Advertising
background image

94

Function Library

6.5

Motion

_8144_tv_move

Accelerate an axis to a constant velocity with trapezoidal profile

Description:

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 (MaxVel).

This function has warning return code. It means that the speed
profile that users specified doesn’t make sense or out of ASIC
can do. It will adjust the parameter automatically and return a
warning code, and the motion card still output pulses to control
the axis.

Syntax:

I16 _8144_tv_move( I16 AxisNo, F64 StrVel, F64

MaxVel, F64 Tacc )

B_8144_tv_move( ByVal AxisNo As Integer, ByVal

StrVel As Double, ByVal MaxVel As Double,

F64 Tacc As Double) As Integer

Parameters:

I16 AxisNo

: The axis number is designated to receive the

command.

Card ID Physical axis AxisNo

0

0

0

1

1

2

2

3

3

1

0

4

1

5

2

6

3

7

Advertising