ADLINK PCI-8158 User Manual

Page 129

Advertising
background image

Function Library

119

Interrupt Control Section 6.13

Position Control and Counters Section 6.14

_8158_set_alm

Set ALM signal’s logic and operating mode

_8158_set_erc

Set ERC signal’s logic and timing

_8158_set_erc_out

Output an ERC signal

_8158_clr_erc

Clear the ERC signal

_8158_set_sd

Set SD signal’s logic and operating mode

_8158_enable_sd

Enable SD signal

_8158_set_limit_logic

Set EL signal’s logic

_8158_set_limit_mode

Set EL operating mode

_8158_get_io_status

Get all the motion I/O status of 8158

Function Name

Description

_8158_int_control

Enable/Disable INT service

_8158_wait_error_interrupt

Wait error related interrupts

_8158_wait_motion_interrupt Wait motion related interrupts
_8158_set_motion_int_factor Set the factors of motion related interrupts

Function Name

Description

_8158_get_position

Get the value of the feedback position counter

_8158_set_position

Set the feedback position counter

_8158_get_command

Get the value of the command position counter

_8158_set_command

Set the command position counter

_8158_get_error_counter

Get the value of the position error counter

_8158_reset_error_counter

Reset the position error counter

_8158_get_general_counter Get the value of the general counter
_8158_set_general_counter Set the general counter
_8158_get_target_pos

Get the value of the target position recorder

_8158_reset_target_pos

Reset target position recorder

_8158_get_res_distance

Get remaining pulses accumulated from motions

_8158_set_res_distance

Set remaining pulses record

Function Name

Description

Advertising