ADLINK PCI-8158 User Manual

Page 141

Advertising
background image

Function Library

131

This function is used to decelerate an axis to stop with a trape-
zoidal or S-curve profile. This function is also useful when a
preset move (both trapezoidal and S-curve motion), manual
move, or home return function is performed. Note: The velocity
profile is decided by original motion profile.

_8158_get_current_speed:

This function is used to read the current pulse output rate
(pulse/sec) of a specified axis. It is applicable in any time in any
operation mode.

_8158_speed_override:

When in motion operation, (such as executing
"_8158_tv_move"), this function can be used to change the
speed on the fly. Please refer to section 4.2.14.

See also : _8158_set_max_override_speed

8158_set_max_override_speed:

This function is used to set the maximum override speed
(100% speed) before speed override operation. Please refer to
Section 4.2.14

See also: _8158_speed_override

@ Syntax

C/C++(Windows 2000/XP)

I16 _8158_tv_move(I16 AxisNo, F64 StrVel, F64

MaxVel, F64 Tacc);

I16 _8158_sv_move(I16 AxisNo, F64 StrVel, F64

MaxVel, F64 Tacc, F64 SVacc);

I16 _8158_emg_stop(I16 AxisNo);
I16 _8158_sd_stop(I16 AxisNo, F64 Tdec);
I16 _8158_get_current_speed(I16 AxisNo, F64

*speed)

I16 _8158_set_max_override_speed(I16 AxisNo, F64

OvrdSpeed, I16 Enable);

Advertising