Operation Theory
37
4.6
Interrupt Control
The PCI-8136 can generate an INT signal to the host PC accord-
ing to 7 of factors, refer to
_8136_S_Set_Int_factor
() function
for more details. Type 0 to type 2 are local digital Input interrupts.
The following table represents the interrupt setting for local digital
Input:
_8136_S_Set_Int_factor(Cardno, ChannelNo,
Int_Factor)
Channel
Note:
Once the first row of interrupt factor is set, both of the digit
channels' interrupt are enabled. The interrupt comes when
any one of the two digital channels' are triggered.
EZ is index signal , CMP is position compare true, Timer is
card's internal timer, ADC is analog compare true.
For each channel number, the interrupt can be set according to
above table.
Since interruptions can not be handled with a Windows System,
the PCI-8136 has a Windows message system to handle interrup-
tions. This card uses events to notice the user's program if an
interruption is coming. Users can create a thread to retreive the
interrupt events and then use
_8136_S_Get_Int_Status
() to
get the interrupt status. The status bits for each axis is in the fol-
lowing table:
Channel
0
1
2
3
4
5
Int. factor
bit(type)
0
DI 6/7 DI 8/9 DI 10/11 DI 12/13 DI 14/15 DI 16/17
1
DI 18
-
-
-
-
-
2
DI 00
DI 01
DI 02
DI 03
DI 04
DI 05
3
EZ1
EZ2
EZ3
EZ4
EZ5
EZ6
4
CMP1 CMP2
CMP3
CMP4
CMP5
CMP6
5
Timer
-
-
-
-
-
6
ADC1 ADC2
ADC3
ADC4
ADC5
ADC6
Summary of Contents for PCI-8136
Page 4: ......
Page 20: ...12 Installation...
Page 32: ...24 Signal Connections Figure 3 7 Connect to open collector output...
Page 48: ...40 Operation Theory...
Page 72: ...64 Function Library...
Page 78: ...70 Appendix 12 A save finish window will appear 13 Press Exit button to exit utility...
Page 80: ...72 Appendix Channel 2 Channel 3...
Page 81: ...Appendix 73 Channel 4 Channel 5...
Page 82: ...74 Appendix...