ADLINK PCI-8144 User Manual
Page 162
![background image](/manuals/733471/162/background.png)
152
Function Library
F64 StrVel
: Starting velocity (pulse/sec)
F64 MaxVel
: Maximum velocity (pulse/sec)
F64 Tacc
: Specified acceleration and deceleration time (sec)
F64 *StrVelP
: Actual start velocity (pulse/sec)
F64 *MaxVelP
: Actual Maximum velocity (pulse/sec)
F64 *TaccP
: Actual acceleration and deceleration time (sec)
F64 *TconstP
: constant speed time(maximum velocity)
F64 *MagnP
: Set to 0
Return Values:
EERR_ParametersInvalid
WAR_AccDecTimeToSmall
WAR_AccDecTimeToLarge
ERR_NoError
Example:
I16 ret; //return code
I16 AxisNo = 0; //axis number
F64 Distance =100000.0 ; //pulse number
F64 StrVel = 100.0; //start velocity (pps)
F64 MaxVel = 50000.0; //maximum velocity (pps)
F64 Tacc = 0.5; // acceleration time (sec)
F64 *StrVelP, MaxVelP, TaccP, TConstP; //The
speed profile informations
ret = _8144_get_start_tr_move_profile(AxisNo,
Distance, StrVel, MaxVel, Tacc, &StrVelP,
&MaxVelP, &TaccP, &TConstP, 0 );
…
See also:
_8144_start_tr_move
_8144_get_start_sr_move_profile