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.
Содержание cPCI-8168
Страница 4: ......
Страница 10: ...vi List of Figures...
Страница 29: ...Installation 19 2 9 Overview of CN3 CN6...
Страница 31: ...Installation 21 2 11 Switch Setting...
Страница 124: ...114 Function Library Src Counter source Return Code ERR_NoError Value Meaning 0 External Feedback 1 Command pulse...
Страница 134: ...124 Function Library Return Code ERR_NoError ERR_SpeedError ERR_PChangeSlowDownPointError ERR_MoveRatioError...
Страница 155: ...Function Library 145 12 At FH speed maximum velocity 13 In deceleration 14 Waiting for INP signal 15 Reserved...
Страница 204: ...194 Function Library...