2 c/c++ programming library, C/c++ programming library – ADLINK PCI-8102 User Manual

Page 132

Advertising
background image

Function Library

121

PCI-8102

Backlash Compensation / Vibration Suppression Section 6.20

Speed Profile Calculation Section 6.21

6.2

C/C++ Programming Library

This section details all the functions. The function prototypes and
some common data types are declared in PCI-8102.H . We sug-
gest you use these data types in your application programs. The
following table shows the data type names and their range.

_8102_set_soft_limit

Set the soft limits

Function Name

Description

_8102_backlash_comp

Set backlash corrective pulse for compensation

_8102_suppress_vibration Set suppress vibration idle pulse counts

_8102_set_fa_speed

Set FA speed for home mode

Function Name

Description

_8102_get_tr_move_profile Get relative trapezoidal speed profile

_8102_get_ta_move_profile Get absolute trapezoidal speed profile
_8102_get_sr_move_profile Get relative S-curve speed profile

_8102_get_sa_move_profile Get absoulte S-curve speed profile

Type

Name

Description

Range

U8

8-bit ASCII character

0 to 255

I16

16-bit signed integer

-32768 to 32767

U16

16-bit unsigned integer

0 to 65535

I32

32-bit signed long integer

-2147483648 to

2147483647

U32

32-bit unsigned long integer

0 to 4294967295

F32

32-bit single-precision floating-point

-3.402823E38 to

3.402823E38

Function Name

Description

Advertising