Operation Theory
145
_8164_get_irq_status(0, &irq_status);// Check if
this card’s int
if(irq_status)
{
for(i=0;i<4;i++) _8164_enter_isr(i);// enter ISR
for(i=0;i<4;i++)
{
_8164_get_int_type(i, &int_type);
// check int type
if( int_type & 0x1 )
{
_8164_get_error_int(i, &int_status1[i]);
// Insert User’s Code in Error INT
//
//
}
if( int_type & 0x2 )
{
_8164_get_event_int(i, &int_status2[i]);
// Insert User’s Code in Event INT
//
//
}
}
// end of for every axis on card0
for(i=0;i<4;i++) _8164_leave_isr(i);
}
else _8164_not_my_irq(0);
// Send EOI
_OUTPORTB(0x20, 0x20);
_OUTPORTB(0xA0, 0x20);
enable();
// allow int service
}
void interrupt _8164_isr1(void){}
void interrupt _8164_isr2(void){}
void interrupt _8164_isr3(void){}
void interrupt _8164_isr4(void){}
Содержание MPC-8164
Страница 4: ......
Страница 10: ...vi List of Tables List of Tables Table 2 1 GEME hardware configuration 22 Table 2 2 Base Addresses 22 ...
Страница 12: ......
Страница 14: ...2 Introduction Figure 1 1 PCI 8164 block diagram ...
Страница 50: ...38 Installation ...
Страница 57: ...Signal Connections 45 For more operation information on the encoder feedback signals refer to section 4 4 ...
Страница 70: ...58 Signal Connections ...
Страница 74: ...62 Signal Connections 3 17 1 Isolated input channels 3 17 2 Isolated output channels ...
Страница 75: ...Signal Connections 63 3 17 3 Example of input connection ...
Страница 76: ...64 Signal Connections 3 17 4 Example of output connections ...
Страница 109: ...Operation Theory 97 ...
Страница 110: ...98 Operation Theory ...
Страница 111: ...Operation Theory 99 ...
Страница 112: ...100 Operation Theory ...
Страница 113: ...Operation Theory 101 ...
Страница 148: ...136 Operation Theory Users can use this function to check if auto trigger is running Results ...
Страница 190: ...178 Function Library Return Code ERR_NoError ERR_NoCardFound ERR_PCIBiosNotExist ERR_ConigFileOpenError ...
Страница 193: ...Function Library 181 Src Counter source Return Code ERR_NoError Value Meaning 0 External Feedback 1 Command pulse ...
Страница 280: ...268 Connection Example Figure 7 2 Connection of PCI 8164 with Panasonic Driver ...
Страница 287: ...Connection Example 275 7 3 3 Mechanical Dimensions ...
Страница 296: ...284 Connection Example CNIF and CN2 SJ Refer to 8134 64 series user manual CN1 24V power supply input ...
Страница 297: ...Connection Example 285 7 5 2 Mechanical Dimensions ...
Страница 300: ...288 Connection Example 7 6 Wiring with DIN 814M J3A ...
Страница 304: ...292 Connection Example 7 7 Wiring with DIN 814Y ...
Страница 308: ...296 ...