Operation Theory
79
4.8
Interrupt Control
The cPCI-8168 motion controller can generate an interrupt signal
to the host PC. The parameter “
intFlag
” of the software function
called _8168_int_control() is to enable/disable the interrupt ser-
vice. There are two kinds of interrupt groups in the cPCI-8168.
One is for motion control and the other is for FPGA interrupt. The
major interrupt sources from FPGA are timer interrupt and DI
change of state interrupt. As for motion control interrupt, it is
divided into two groups. One is for event interrupt which is
maskable by _8168_int_control() and the other is for error interrupt
which isn’t maskable and it only can be turned off by
_8168_int_control().
The cPCI-8168 DLL and driver use Windows event object as a
media for carrying hardware interrupt. Once the interrupt is
enabled by users, the corresponding events for interrupt signals
are created. Once the interrupt is happened, the ISR in device
driver will translate the source of interrupts and trigger the corre-
sponding event. The event will be in signal state for user’s pro-
gram to received. The event type is created as ‘manual reset’
mode. Don’t forget to reset it after it is received.
Summary of Contents for cPCI-8168
Page 4: ......
Page 10: ...vi List of Figures...
Page 29: ...Installation 19 2 9 Overview of CN3 CN6...
Page 31: ...Installation 21 2 11 Switch Setting...
Page 204: ...194 Function Library...