ADLINK PCI-8158 User Manual

Page 145

Advertising
background image

Function Library

135

ezoidal profile. The acceleration (Tacc) and deceleration (Tdec)
time is specified independently. This command does not let the
program wait for motion completion, but immediately returns
control to the program.

_8158_start_sr_move:
This function causes the axis to accelerate from a starting
velocity (StrVel), rotate at constant velocity (MaxVel), and
decelerates to stop at the relative distance with S-curve profile.
The acceleration (Tacc) and deceleration (Tdec) time is speci-
fied independently. This command does not let the program
wait for motion completion, but immediately returns control to
the program.

_8158_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 com-
pletion but immediately returns control to the program.

_8158_set_move_ratio:
This function configures scale factors for the specified axis.
Usually, the axes only need scale factors if their mechanical
resolutions are different. For example, if the resolution of feed-
back sensors is two times resolution of command pulse, then
the parameter “move_ratio” could be set as 2.

_8158_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)

I16 _8158_start_tr_move(I16 AxisNo, F64 Dist, F64

StrVel, F64 MaxVel, F64 Tacc, F64 Tdec);

I16 _8158_start_ta_move(I16 AxisNo, F64 Pos, F64

StrVel, F64 MaxVel, F64 Tacc, F64 Tdec);

Advertising