Multiple axes point to point motion, 8 multiple axes point to point motion – ADLINK PCI-8134A User Manual

Page 124

Advertising
background image

114

Additional Function Library

@ Syntax

C/C++ (DOS, Windows)

I16 _8134_start_sa_move(I16 axis, F64 pos, F64 str_vel, F64

max_vel, F64 Tacc, F64 Tdec, F64 SVacc, F64 SVdec)

I16 _8134_start_sr_move(I16 axis, F64 distance, F64 str_vel, F64

max_vel, F64 Tacc, F64 Tdec, F64 SVdec, F64 SVacc)

Visual Basic (Windows)

B_8134_start_sr_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, ByVal SVacc
As Double, ByVal SVdec As Double) As Integer

B_8134_start_sa_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, ByVal SVacc
As Double, ByVal SVdec As Double) 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 total acceleration time in unit of second
Tdec: specified total deceleration time in unit of second
SVacc: specified S-curve acceleration range in unit of pps, default is
0
SVdec: specified S-curve deceleration range in unit of pps, default is
0

@ Return Code

ERR_NoError
ERR_MoveError

7.8

Multiple Axes Point to Point Motion

@ Name

_8134_set_tr_move_all – Multi-axis simultaneous operation setup.
_8134_set_ta_move_all – Multi-axis simultaneous operation setup.
_8134_set_sr_move_all – Multi-axis simultaneous operation setup.
_8134_set_sa_move_all – Multi-axis simultaneous operation setup.
_8134_start_move_all – Begin a multi-axis trapezoidal profile

motion

_8134_stop_move_all –Simultaneously stop Multi-axis motion

@ Description

Theses functions are related to simultaneous operations of multi-

Advertising