S-curve profile motion, 7 s-curve profile motion – ADLINK PCI-8134A User Manual

Page 123

Advertising
background image

Additional Function Library

113

C/C++ (DOS, Windows)

I16 _8134_start_ta_move(I16 axis, F64 pos, F64 str_vel, F64

max_vel, F64 Tacc,F64 Tdec)

I16 _8134_start_tr_move(I16 axis, F64 distance, F64 str_vel, F64

max_vel, F64 Tacc,F64 Tdec)

I16 _8134_set_rdp_mode(I16 axisno, I16 mode)

Visual Basic (Windows)

B_8134_start_ta_move (ByVal axis As Integer, ByVal pos As

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

B_8134_start_tr_move (ByVal axis As Integer, ByVal distance As

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

B_8134_set_rdp_mode(ByVal axisno As Integer, ByVal mode As

Integer) As Integer

@ Argument

axis: axis number designated to move. pos:
specified absolute position to move distance:
specified relative distance to move
str_vel: starting velocity of a velocity profile in unit of pulse per
second
max_vel: starting velocity of a velocity profile in unit of pulse per
second
Tacc: specified acceleration time in unit of second
Tdec: specified deceleration time in unit of second
Mode: 0=Manual Mode(default), 1=Auto Mode

@ Return Code

ERR_NoError
ERR_MoveError

7.7

S-Curve Profile Motion

@ Name

_8134_start_sa_move– Start an absolute S-curve profile motion
_8134_start_sr_move– Start a relative S-curve profile motion

@ Description

_8134_start_sa_move() :

This function causes the axis to accelerate from a starting velocity,
slew at constant velocity, and decelerate to stop at the specified
absolute position, immediately returning control to the program.

_8134_start_sr_move() :

This function causes the axis to accelerate from a starting velocity,
slew at constant velocity, and decelerate to stop at the specified
relative distance, immediately returning control to the program.

Advertising