Advantech PCL-849 manual Independent IRQ Mode JP1-JP4, Shared IRQ Mode JP1

Page 16

Independent IRQ Mode (JP1-JP4)

In this mode, the IRQ level for each of the four ports is set individual- ly. For each port, select an IRQ which is not already in use by another card in the system. The correspondence of jumpers to ports is shown below.

Port 1 à JP1

Port 2 à JP2

Port 3 à JP3

Port 4 à JP4

Shared IRQ Mode (JP1)

Select an IRQ which is not already in use by another card in the system. If you are installing more than one PCL-849, set them to different IRQ numbers. Jumper Bank JP1 controls the shared card IRQ. Simply place the jumper on the required interrupt level as shown in the following figure.

Interrupt Status Register Setup (S1, Vector address)

This feature on the PCL-849 is utilized in the enhanced mode only. When data arrives at one of the four ports, it will generate an interrupt in the interrupt register. The PC software can read this, and identify immediately which port generated the interrupt. This saves time, and makes programming easier. In DOS or Windows 3.1, when a data bit of the interrupt status register is set to 0, the corresponding channel is selected to generate an interrupt. If the bit is 1, then no interrupt is generated. In Windows 95/98/NT, when a data bit of the interrupt status register is set to 1, the corresponding channel is selected to generate an interrupt. If the bit is 0, then no interrupt is generated. DIP

Chapter 2 Hardware Installation

17

Image 16
Contents PCL-849 Port RS-232 Interface Card Copyright Notice Acknowledgments Contents Introduction Description Features Specifications· Uart Switch and jumper layout Page Hardware Installation Initial Inspection Card Installation Card Configuration Default SettingsAddress and Interrupt Setup Model Setup base address settingEnhanced Mode StandardModeDefault Settings Interrupt Level IRQ Setting S1, JP1, JP2, JP3, JP4Shared IRQ Mode JP1 Independent IRQ Mode JP1-JP4Interrupt Status Register Setup S1, Vector address Interrupt Status Register S1 Bit DIP switch settings for S1 Normal Speed Mode Speed Mode selectionHigh Speed Mode Software Installation Utility Installation Icom Utility Setup for Windows 95/98/NT EnvironmentsOperating Environment Selection Configuration Board Type PCL-849Vector Address 200H ~ 3F0H Wiring Connector Pin Assignments RS-232 signal wiring RTS CTS GND DSR DTR DCD PC I/O Address Reference PC I/O Address Usage Quick Reference Jumper Setting · IRQ Mode COM1 JP1