ADLINK PCI-8144 User Manual
Page 109
Function Library
99
F64 Distance
: Specified relative distance to move ( pulse)
F64 StrVel
: Starting velocity (pulse/sec)
F64 MaxVel
: Maximum velocity (pulse/sec)
F64 Tacc
: Specified acceleration and deceleration time (sec)
Return Values:
ERR_ParametersInvalid
ERR_DeviceNotInitial
WAR_AccDecTimeToSmall
WAR_AccDecTimeToLarge
WAR_RampDownPointExceed
ERR_NoError
Example:
I16 ret;
I16 AxisNo = 0; // axis number
F64 Distance = 50000.0; //reletive distance
F64 StrVel = 500.0; // starting velocity
F64 MaxVel = 10000.0; // maximum velocity
F64 Tacc = 0.5; // acceleration/deceleration time
(sec)
ret = _8144_start_tr_move( AxisNo, Distance,
StrVel, MaxVel, Tacc );
See also:
_8144_start_sr_move
_8144_set_external_start
_8144_emg_stop
_8144_dec_stop
_8144_slow_down
_8144_enable_org_stop
1
0
4
1
5
2
6
3
7
2
0
8
...
...
Card ID Physical axis AxisNo