Page 1
Model PCI-COM485/8 Product Manual MANUAL NUMBER : 00650-146-1B...
Page 2
Support Library. Thank you. The information in this document is provided for reference only. ICS Advent does not assume any liability arising from the application or use of the information or products described herein. This document may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of ICS Advent, nor the rights of others.
Page 3
This page intentionally left blank Page - iv...
The limited warranty is void if the product has been subjected to alteration, neglect, misuse, or abuse; if any repairs have been attempted by anyone other than ICS Advent or its authorized agent; or if the failure is caused by accident, acts of God, or other causes beyond the control of ICS Advent or the manufacturer.
Limitation of Liability In no event shall ICS Advent be liable for any defect in hardware, software, loss, or inadequacy of data of any kind, or for any direct, indirect, incidental, or consequential damages in connection with or arising out of the performance or use of any product furnished hereunder.
Use caution when servicing any electrical component. We have tried to identify the areas which may pose a Caution or Warning condition in this manual; however, ICS Advent does not claim to have covered all situations which might require the use of a Caution or Warning.
Page 7
This page intentionally left blank Page - viii...
Chapter 1: Installation ....................1 Backing Up The Disk ..........................1 Hard Disk Installation ..........................1 Installing The Card ..........................4 Windows NT 4.0 Installation Instructions for the PCI-COM485/8 ............ 4 Interrupts ............................5 Input/Output Connections ....................... 6 Chapter 2: Functional Description ................8 RS-485 Balanced Mode Operation ....................
Page 9
List of Figures Figure 2-1: PCI-COM485/8 BLOCK DIAGRAM ................... 9 Figure 3-1: PCI-COM485/8 Option Selection Map ..................11 List of Tables Table 1-1: Pin Connections ......................... 7 Table 5-1: Baud Rate Divisor Values ......................14 Current Revision 1B December 2000...
Chapter 1: Installation Backing Up The Disk The software supplied with the PCI-COM485/8 is provided on two 3.5-inch diskettes. As with any software package, you should make back-up copies for everyday use and place your original master diskettes in a safe location.
Page 11
PCI-COM485/8 Manual ACCES95 and ACCESNT These two drivers are mentioned for users migrating from older versions of Tools. The functionality of ACCES95 and ACCESNT has been combined into ACCES32.DLL, which is described be low. In order to modify your software to use the new ACCES32.DLL instead of the older code, change the file you link to from ACCES95 or ACCESNT to ACCES32.
Page 12
The SYS file is the actual workhorse behind hardware access in WindowsNT. It is installed by ACCESNT.EXE and utilizes the DeviceIOControl API function for interaction with user code. Samples are provided demonstrating this API call, but it is strongly recommended that the DLL interface be used.
TERMinal. Installing The Card The PCI-COM485/8 card can be installed in a five-volt PCI slot of an IBM or compatible com- puter. Before installing the card, carefully read the Option Selection section of this manual and configure the card according to your requirements. Finally, our SETUP.EXE program will lead you through the process of setting the options on the PCI-COM485/8.
Windows NT 4.0 Installation Instructions for the PCI-COM485/8 Unlike Windows95, NT is not a plug-and-play compliant Operating System. Windows NT will not auto-detect and install new hardware devices. Therefore, in order to tell Windows NT that you have installed eight new COM ports, you must use the utilities provided by NT in the Control Panel.
Regentry.hlp, the Registry help file on the WindowsNT Workstation Resource Kit CD.) For example, if you have an eight-port PCI-COM485/8 card configured to use address 0xFC00 with an interrupt of 05, the values in the Registry are:...
Input/Output Connections The PCI-COM485/8 Serial Communications card uses a 50-pin SCSI D-connector to interface to a spider cable. The spider cable has eight individual 9-pin connectors provided with it. To ensure that there is minimum susceptibility to EMI and minimum radiation, it is important that the card mounting bracket be properly screwed into place and that there be a positive chassis ground.
32 devices on a single line. The number of devices served on a single line can be expanded by use of “repeaters”. PCI-COM485/8 also has the capability to add load resistors to terminate the communications lines. RS-485 communications requires that one transmitter supply a bias voltage to ensure a known “zero”...
In RS-485 communications, the driver must be enabled and disabled as needed, allowing all cards to share a two wire cable. The PCI-COM485/8 card controls the driver automatically. With auto- matic control, the driver is enabled when data is ready to be transmitted. The driver remains en- abled for one additional character’s transmission time after data transfer is complete and then is...
PCI-COM485/8 Manual Chapter 3: Option Selection To help you locate the jumpers described in this section, refer to the OPTION SELECTION MAP at the end of this section. Operation of the serial communications section is determined by jumper installation as described in the following paragraphs.
When in the “X1" position, the baud rate range is up to 115,200 baud. When in the CLK X4 position, the baud rate range is 200 to 460,800 baud. Figure 3-1: PCI-COM485/8 Option Selection Map Manual Number: 00650-146-1 Page 11...
PCI-COM485/8 Manual Chapter 4: Address Selection The PCI-COM485/8 card uses one address space. COM A, COM B, COM C, COM D, COM E, COM F, COM G and COM H each occupy eight consecutive register locations. The interrupt register which indicates which port or ports caused the interrupt is located at base address + 64.
Chapter 5: Programming Sample Programs There are two sample programs installed with the diskette with the PCI-COM485/8 card. These are: Sample 1 This program is provided in C, Pascal, and QuickBASIC. It performs a test of the loopback feature of the UART. It requires no external hardware and no interrupts.
PCI-COM485/8 Manual On the PCI-COM485/8 card, the UART clock frequency is 1.8432 MHz. Below is a table for the popular divisor frequencies: . f f a i r Table 5-1: Baud Rate Divisor Values * Recommended maximum distances for differentially driven data cables (RS422 or RS-485) are for typical conditions.
Bit 7 is the DLAB discussed earlier. It must be set to zero after the divisor is loaded or else there will be no communications. The C command to set the UART for an 8-bit word, no parity, and one stop bit is: outportb(BASEADDR +3, 0x03) The final initialization step is to flush the receiver buffers.
PCI-COM485/8 Manual Transmission RS-485 transmission is simple to implement. The AUTO feature of the PCI-COM485/8 card auto- matically enables the transmitter when data is ready to send so no software enabling is required. The following software example is for non-AUTO operation.
The technical documentation required to demonstrate this product meets the requirements of the EMC Directive and the Low Voltage Directive has been compiled by ICS Advent and is available for inspection by the relevant enforcement authorities. The CE mark was first applied in 2000.