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

Page 116

Advertising
background image

106

Additional Function Library

_8134_set_pulser_iptmode

Set pulser input mode and operation mode

_8134_pulser_v_move

Begin a manual pulser movement

Motion Status

Section 7.12

_8134_motion_done

Check if the axis is in motion

Servo Driver Interface

Section 7.13

_8134_set_alm

8134 set inp

Set alarm logic and alarm mode
Set In-Position logic and enable/disable

_8134_set_erc_enable

Set the ERC output enable/disable

I/O Control and Monitoring

Section 7.14

_8134_set_servo

Set the output pin for servo ON conotrl

_8134_get_io_status

Get I/O staus

Position Counter Control

Section 7.15

_8134_set_position

Set current position counter value

_8134_get_position

Get current position counter value

_8134_set_command

Set current command target value

_8134_get_command

Get current command target value

_8134_get_error_counter

Get current error counter value

_8134_reset_error_counter

Reset error counter value

_8134_set_feedback_error_detect

Set feedback error detect value

Interrupt Control

Section 7.16

8134 int enable

Set Interrupt Event enable

_8134_int_disable
_8134_int_control
_8134_set_int_factor

Set Interrupt Event enable
Enable/Disable IRQ channel
Set Interrupt generationg factors

_8134_get_int_status
_8134_link_axis_interrupt

Get the interrupting status of axis
Link a callback function for interrupt

7.2

C/C++ Programming Library

This section gives the details of all the functions. The function prototypes and
some common data types are decelerated in PCI-8134.H. These data types are
used by PCI-8134 library. We suggest you to use these data types in your
application programs. The following table shows the data type names and their
range.

Type Name

Description

Range

U8

8-bit ASCII character

0 to 255

I16

16-bit signed integer

-32768 to 32767

Advertising