8144_sv_move – ADLINK PCI-8144 User Manual

Page 106

Advertising
background image

96

Function Library

_8144_sv_move

Accelerate an axis to a constant velocity with S-curve profile

Description:

This function is to accelerate an axis to the specified constant
velocity with a S-curve 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
velocity parameter.

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_sv_move( I16 AxisNo, F64 StrVel, F64

MaxVel, F64 Tacc )

B_8144_sv_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

2

0

8

...

...

Advertising