background image

 

Chapter 1: Introduction

  
This Serial Communications Card was designed for use in PCI-Bus computers and provides effective 
communication in either RS422 (EIA422) or RS485 (EIA485) over long communication lines. The card 
is 4.80 inches long (122 mm) and may be installed in any 5-volt PCI slot in IBM or compatible 
computers. A type 16550 buffered UART is used and, for Windows compatibility, automatic control is 
included to transparently enable/disable the transmission drivers. 

 

 

Balanced Mode Operation and Load Termination

  

In RS422 mode, the card uses differential (or balanced) line drivers for noise immunity and to increase 
the maximum distance to 4000 feet. The RS485 mode improves on RS422 with switchable transceivers 
and the ability to support multiple devices on a single “party line”. The number of devices served on a 
single line can be expanded by using “repeaters”. 
  
RS422 operation permits multiple receivers on the communications lines and RS485 operation permits 
up to 32 transmitters and receivers on the same set of data lines. Devices at the ends of these 
networks should be terminated to avoid “ringing”. The user has the option to terminate the transmitter 
and/or the receiver lines. 
  
RS485 communications requires that a transmitter supply a bias voltage to ensure a known “zero” state 
when no device is transmitting. This card supports biasing by default. If your application requires the 
transmitter to be un-biased, please contact the factory.  

 

COM Port Compatibility

 

A 16550 UART is used as the Asynchronous Communication Element (ACE). It includes 16-byte 
transmit/receive FIFO buffers to protect against lost data in multitasking operating systems, while 
maintaining 100 percent compatibility with the original IBM serial port. PCI bus architecture allows 
addresses between 0000 and FFF8 hex to be assigned to the cards. 
  
The crystal oscillator on the card permits precise selection of baud rates up to 115,200 or, by changing 
a jumper, up to 460,800 baud with the standard crystal oscillator. Baud rate is program selected and 
rates available are listed in a table in the Programming section of this manual. 
  
The driver/receiver used, the 75ALS176, is capable of driving extremely long communication lines at 
high baud rates. It can drive up to +60 mA on balanced lines and receive inputs as low as 200 mV 
differential signal superimposed on common mode noise of +12 V or -7 V. In case of communication 
conflict, the driver/receivers feature thermal shutdown. 

 

 

Communication Modes

  

The cards support Simplex, Half-Duplex, and Full-Duplex communications in a variety of two and four-
wire cable connections. Simplex is the simplest form of communications with transmission occurring 
only in one direction. Half-Duplex allows traffic to travel in both directions, but only one way at a time. In 
Full-Duplex operation, data travels in both directions at the same time. Most RS485 communications 
use the Half-Duplex mode because only a single pair of wires need to be used and installation costs are 
dramatically reduced.  

Manual PCI-COM-1S 

5

Summary of Contents for PCI-COM-1S

Page 1: ...10623 Roselle Street San Diego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODEL PCI COM 1S USER MANUAL FILE MPCI COM 1S Ca ...

Page 2: ...others IBM PC PC XT and PC AT are registered trademarks of the International Business Machines Corporation Printed in USA Copyright 1995 2005 by ACCES I O Products Inc 10623 Roselle Street San Diego CA 92121 All rights reserved WARNING ALWAYS CONNECT AND DISCONNECT YOUR FIELD CABLING WITH THE COMPUTER POWER OFF ALWAYS TURN COMPUTER POWER OFF BEFORE INSTALLING A CARD CONNECTING AND DISCONNECTING CA...

Page 3: ...by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable rates similar to those of other manufacturers in the industry Equipment Not Manufactured by ACCES Equipment provided but not manufactured by ACCES is warranted and will be repaired according to the terms and conditions o...

Page 4: ... Address Selection 12 Chapter 5 Programming 13 Initialization 14 Table 5 1 Baud Rate Divisor Values 14 Chapter 6 Connector Pin Assignments 17 Table 6 1 Connector Pin Assignments 17 Appendix A Application Considerations 18 Table A 1 Connections Between Two RS422 Devices 18 Table A 2 RS422 Specification Summary 19 Figure A 1 Typical RS485 Two Wire Multidrop Network 20 Manual PCI COM 1S 4 ...

Page 5: ...n biased please contact the factory COM Port Compatibility A 16550 UART is used as the Asynchronous Communication Element ACE It includes 16 byte transmit receive FIFO buffers to protect against lost data in multitasking operating systems while maintaining 100 percent compatibility with the original IBM serial port PCI bus architecture allows addresses between 0000 and FFF8 hex to be assigned to t...

Page 6: ...tyle connector compatible with RS422 and RS485 specifications Character length 5 6 7 or 8 bits Parity Even odd or none Stop Interval 1 1 5 or 2 bits Serial Data Rates Up to 115 200 baud Asynchronous Faster rates up to 460 800 baud are achieved by jumper selection on the card Type 16550 buffered UART RS422 RS485 Differential Communication Mode Receiver Input Sensitivity 200 mV differential input Co...

Page 7: ...TRANSCEIVER AUTO RTS CIRCUITRY OSCILLATOR PCI INTERFACE CHIP UART 16550 OR SIMILAR CO MPUTER PCI BUS DB9M Tx Rx Tx Rx RS485 MODE ONLY Tx Rx IRQ Figure 1 1 Block Diagram Manual PCI COM 1S 7 ...

Page 8: ...stallation The following instructions assume the CD ROM drive is drive D Please substitute the appropriate drive letter for your system as necessary DOS 1 Place the CD into your CD ROM drive 2 Type B to change the active drive to the CD ROM drive 3 Type GLQR JJ to run the install program 4 Follow the on screen prompts to install the software for this board WINDOWS 1 Place the CD into your CD ROM d...

Page 9: ...puter cover and turn ON the computer Enter the CMOS setup program of your system and verify that the PCI plug and play option is set appropriately for your system Systems running Windows 95 98 2000 XP 2003 or any other PNP compliant operating system should set the CMOS option to OS Systems running under DOS Windows NT Windows 3 1 or any other non PNP compliant operating system should set the PNP C...

Page 10: ...S485 operations where there are multiple terminals only the RS485 ports at each end of the network should have terminating resistors as described above Also for RS485 operation there must be a bias on the RX and RX lines The 422 485 feature provides this bias Baud Rate The x1 x4 jumper selects either the standard 1 8432MHz clock or 7 3728MHz clock for input to the UART The x4 position provides cap...

Page 11: ...TERMOUT 485 422 TERMIN X4 X1 4 80 1 80 Figure 3 1 Option Selection Map Manual PCI COM 1S 11 ...

Page 12: ... any allotted Alternately some operating systems Windows 95 98 2000 can be queried to determine which resources were assigned In these operating systems you can use either PCIFind or the Device Manager utility from the System Properties Applet of the control panel These cards are installed in the Data Acquisition class of the Device Manager list Selecting the card then clicking Properties then sel...

Page 13: ...installs into Windows as COM ports Thus the Windows standard API functions can be used In particular CreateFile and CloseHandle for opening and closing a port SetupComm SetCommTimeouts GetCommState and SetCommState to set and change a port s settings ReadFile and WriteFile for accessing a port See the documentation for your chosen language for details Under DOS the process is very different The re...

Page 14: ... 4000 ft 1200 96 384 4000 ft Recommended maximum distances for differentially driven data cables RS422 or RS485 are for typical conditions Table 5 1 Baud Rate Divisor Values In C the code to set the chip to 9600 baud is outportb BASEADDR 0x0C outportb BASEADDR 1 0 The second initializing step is to set the Line Control Register at Base Address 3 This register defines word length stop bits parity a...

Page 15: ... driven communications should be used whenever possible and is required for high data rates Writing an interrupt driven receiver is not much more complex than writing a polled receiver but care should be taken when installing or removing your interrupt handler to avoid writing the wrong interrupt disabling the wrong interrupt or turning interrupts off for too long a period The handler would first ...

Page 16: ...it is high the transmitter has sent the data The process of checking the bit until it goes high followed by a write is repeated until no data remains After all data has been transmitted the RTS bit should be reset by writing a 0 to Bit 1 of the Modem Control Register The following C code fragment demonstrates this process outportb BASEADDR 4 inportb BASEADDR 4 0x02 Set RTS bit without altering sta...

Page 17: ...8 9 Rx Receive Data Table 6 1 Connector Pin Assignments Data Cable Wiring The following table shows pin connections between two devices for Simplex Half Duplex and Full Duplex operations Mode Card 1 Card 2 Rx pin 9 Tx pin 2 Simplex 2 wire receive only RS422 Rx pin 1 Tx pin 3 Tx pin 2 Rx pin 9 Simplex 2 wire transmit only RS422 Tx pin 3 Rx pin 1 Tx pin 2 Tx pin 2 Half Duplex 2 wire RS485 Tx pin 3 T...

Page 18: ...ive Balanced Differential Signals The reason that RS422 and RS485 devices can drive longer lines with more noise immunity than RS232 devices is that a balanced differential drive method is used In a balanced differential system the voltage produced by the driver appears across a pair of wires A balanced line driver will produce a differential voltage from 2 to 6 volts across its output terminals A...

Page 19: ...e characteristic impedance of the cable Note You do not have to add a terminator resistor to your cables when you use the card Termination resistors for the RX and RX lines are provided on the card and are placed in the circuit when you install the TERM jumpers See the Option Selection section of this manual RS485 Data Transmission The RS485 Standard allows a balanced transmission line to be share...

Page 20: ... that one node be a master node and all others be slaves The network is connected so that the master communicates to all slaves and all slaves communicate only with the master This has advantages in equipment that uses mixed protocol communications Since the slave nodes never listen to another slave s response to the master a slave node cannot reply incorrectly Manual PCI COM 1S 20 ...

Page 21: ... give us some feedback please email us at manuals accesio com Please detail any errors you find and include your mailing address so that we can send you any manual updates 10623 Roselle Street San Diego CA 92121 Tel 858 550 9559 FAX 858 550 7322 www accesio com Manual PCI COM 1S 21 ...

Reviews: