ADLINK PCI-8144 User Manual

Page 105

Advertising
background image

Function Library

95

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

ERR_NoError

Example:

I16 ret; //return code

I16 AxisNo = 0; // axis number

F64 StrVel = 500; // starting velocity

F64 MaxVel = 50000; // maximum velocity

F64 Tacc = 0.5; // acceleration/deceleration time

(sec)

ret = _8144_tv_move( AxisNo, StrVel, MaxVel, Tacc

);

See also:

_8144_sv_move

_8144_emg_stop

_8144_dec_stop

_8144_slow_down

_8144_enable_org_stop

_8144_enable_sd_signal

_8144_set_external_start

2

0

8

...

...

Card ID Physical axis AxisNo

Advertising