8144_speed_up – ADLINK PCI-8144 User Manual

Page 123

Advertising
background image

Function Library

113

_8144_speed_up

Description:

This function is used to re-accelerate an axis to maximum
velocity with a trapezoidal or S-curve profile. This function is
also useful when a preset move (start_tr_move, start_sr_move)
is performed. Note: The velocity profile is decided by original
motion profile.

Syntax:

I16 _8144_speed_up( I16 AxisNo )

B_8144_speed_up( ByVal AxisNo As Integer ) As

Integer

Parameters:

I16 AxisNo

: Axis number of Target Axis.

Return Values:

I16 Error code. Refer to error code table.

Example:

I16 ret; //Return code

// perform a move function. Eg. _8144_tv_move()

_8144_slow_down( AxisNumber ); //Deceleration to

start velocity.

//…

ret = _8144_speed_up( AxisNumber ); //Re-

acceleration to max. velocity

See also:

_8144_slow_down()

_8144_slow_down()

_8144_speed_up ()

T

V

Advertising