10 interrupt control – ADLINK PCI-8164 User Manual

Page 153

Advertising
background image

Operation Theory

141

4.10 Interrupt Control

The 8164 motion controller can generate an INT signal to the host
PC. The parameter, “intFlag,” of the software function
_8164_int_control(), can enable/disable the interrupt ser-

vice.

After a interrupt occurs, the function _8164_get_int_status()

is used to receive the INT status, which contains information about
the INT signal. The INT status of the 8164 comprises of two inde-
pendent parts: error_int_status and event_int_status.

The event_int_status recodes the motion and comparator

event under normal operation. This INT status can be masked by
_8164_set_int_factor(). The error_int_status is for abnor-

mal stoppage of the 8164 (i.e. EL, ALM, etc.). This INT cannot be
masked. The following are the definitions of the two int_status:
error_int_status: can be masked by function call
_8164_int_factor()

Bit

Description

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

Pulse input buffer overflow and stop

15

Interpolation counter overflow

16

Encoder input signal error

17

Pulse input signal error

11-31

(Reserved)

Advertising