ADLINK PCI-8102 User Manual
Page 143

132
Function Library
_8102_start_sa_move:
This function causes the axis to accelerate from a starting velocity
(StrVel), rotate at constant velocity, and decelerates to stop at the
specified absolute position with S-curve profile. The acceleration
and deceleration time is specified independently.This command
does not let the program wait for motion completion but immedi-
ately returns control to the program.
_8102_set_move_ratio:
This function configures scale factors for the specified axis. Usu-
ally, the axes only need scale factors if their mechanical resolu-
tions are different. For example, if the resolution of feedback
sensors is two times resolution of command pulse, then the
parameter “move_ratio” could be set as 2.
_8102_position_override:
This function is used to change target position on the fly. There are
some limitations on this function. Please refer to section 4.2.15
before use it.
@ Syntax
C/C++(Windows 2000/XP/7)
I16 _8102_start_tr_move(I16 AxisNo, F64 Dist, F64
StrVel, F64 MaxVel, F64 Tacc, F64 Tdec);
I16 _8102_start_ta_move(I16 AxisNo, F64 Pos, F64
StrVel, F64 MaxVel, F64 Tacc, F64 Tdec);
I16 _8102_start_sr_move(I16 AxisNo, F64 Dist, F64
StrVel, F64 MaxVel, F64 Tacc, F64 Tdec, F64
SVacc, F64 SVdec);
I16 _8102_start_sa_move(I16 AxisNo, F64 Pos, F64
StrVel, F64 MaxVel, F64 Tacc, F64 Tdec, F64
SVacc, F64 SVdec);
I16 _8102_set_move_ratio(I16 AxisNo, F64
move_ratio);
I16 _8102_position_override(I16 AxisNo, F64
NewPos);
Visual Basic6 (Windows 2000/XP/7)
B_8102_start_tr_move(ByVal AxisNo As Integer,
ByVal Dist As Double, ByVal StrVel As