ADLINK PCI-8164 User Manual

Page 240

Advertising
background image

228

Function Library

_8164_int_enable: (For Window only.)
Enables the Windows INT event.

_8164_int_disable: (For Window only.)
Disables the Windows INT event.

_8164_get_int_status: (For Window only.)
Identifies the cause of the interrupt signal. After the value is
obtained, the status register will be cleared to 0. The return value
is two, 32-bit unsigned integers. The first one is for
error_int_status, which is not able to mask by
_8164_set_int_factor(). The definition for bit of

error_int_status is as following:

error_int_status: can not be masked

Bit

Interrupt Factor

0

+Soft Limit on and stop

1

-Soft Limit on and stop

2

(Reserved)

3

General Comparator on and Stop

4

(Reserved)

5

+End Limit on and stop

6

-End Limit on and stop

7

ALM happen and stop

8

CSTP, Sync. Stop on and stop

9

CEMG, Emergency on and stop

10

SD on and slow down to stop

11

(Reserved)

12

Interpolation Error and stop

13

Other Axis stop on Interpolation

14

Pulser input buffer overflow and stop

15

Interpolation counter overflow

16

Encoder input signal error

17

Pulser input signal error

11-31

(Reserved)

Advertising