Summary of Contents for ICS Advent PCI-RS422 Series
Page 1
PCI-RS422 Series Product Manual MANUAL NUMBER : 00650-521-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
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.
Page 4
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.
Page 5
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.
Table of Contents Chapter 1: Introduction ..................... 1-1 Balanced Mode Operation and Load Termination ................1-1 COM Port Compatibility ........................1-1 Communication Modes ........................1-2 Auto -RTS Transceiver Control ......................1-2 Specifications ............................ 1-2 Chapter 2: Installation ....................2-1 CD Installation ........................... 2-1 Directories Created on Hard Disk .......................
Page 7
This page intentionally left blank Page - viii...
Chapter 1: Introduction The PCI-RS422 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.
PCI-RS422 Manual 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.
Note Up to 32 drivers and receivers allowed on line. Serial communications ACE used is type 16550. Driver/Receivers used are type 75ALS176. Environmental • Operating Temperature Range: 0 to +60 °C • Humidity: 5% to 95%, non-condensing. • Storage Temperature Range: -50 to +120 °C •...
Chapter 2: Installation The software provided with this card is contained on either one CD or multiple diskettes and must be installed onto your hard disk prior to use. To do this, perform the following steps as appropriate for your software format and operating system. Substitute the appropriate drive letter for your CD-ROM or disk drive where you see d: or a: respectively in the examples below.
PCI-RS422 Manual To copy the files on the master diskette to your hard disk, perform the following steps. Place the master diskette into a floppy drive. Change the active drive to the drive that has the diskette installed. For example, if the diskette is in drive A, type a:K.
Page 13
SAMPLES Samples for using ACCES32.DLL are provided in this directory. Using this DLL not only makes the hardware programming easier (MUCH easier), but also one source file can be used for both Windows 95/98 and WindowsNT. One executable can run under both operating systems and still have full access to the hardware registers.
PCI-RS422 Manual Findbase.exe DOS utility to determine an available base address for ISA bus , non-Plug-n-Play cards. Run this program once, before the hardware is installed in the computer, to determine an available address to give the card. Once the address has been determined, run the setup program provided with the hardware to see instructions on setting the address switch and various option selections.
Input/Output Connections This card uses a 9-pin DBM connector for I/O connections. To ensure that there is minimum susceptibility to EMI as well as minimum radiation, it is important that the card mounting bracket be properly screwed into place and that there be a good chassis ground. Also, proper EMI cabling techniques (cable connected to chassis ground at the aperture, shielded twisted-pair wiring, etc) should be used for the input/output wiring.
Chapter 3: Option Selection Four configuration options are determined by jumper position as described in the following paragraphs. Locations of the jumpers are shown in Figure 3-1, Option Selection Map. 422/485 This jumper selects either RS422 or RS485 communications mode. Termination and Bias A transmission line should be terminated at the receiving end in its characteristic impedance in order to avoid “ringing”.
To determine the base address that has been assigned to the PCI-RS422, run the provided PCIFind.EXE utility program. This utility will display a list of all of the ICS Advent cards detected on the PCI bus, the addresses assigned to each function on each of the cards, and the respective IRQs and DMAs (if any) allotted.
Chapter 5: Programming Sample Programs There are sample programs provided with the PCI-RS422 card in C, Pascal, QuickBASIC, and several Windows languages. DOS samples are located in the DOS directory and Windows samples are located in the WIN32 directory. Initialization Initializing the chip requires knowledge of the UART’s register set.
PCI-RS422 Manual Baud Rate Divisor Divisor Notes Max Diff. Cable Length * 460800 230400 153600 115200 375 feet 57600 660 ft 38400 920 ft 28800 1165 ft 19200 1620 ft 14400 2050 ft 9600 Most common industrial 4000 ft speed 4800 4000 ft 2400...
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. You do this with two reads from the receiver buffer at Base Address +0. When done, the UART is ready to use. Reception Reception can be handled in two ways: polling and interrupt-driven.
PCI-RS422 Manual After the above is done, the card is ready to send data. To transmit a string of data, the transmitter must first check Bit 5 of the Line Status Register at Base Address +5. That bit is the transmitter-holding-register-empty flag.
Page 23
Four functions are provided by ACCES32.DLL: unsigned int InPortB (unsigned int BaseAddress); unsigned int InPort (unsigned int BaseAddress); void OutPortB (unsigned int BaseAddress, unsigned int value); void OutPort (unsigned int BaseAddress, unsigned int value); The commands access the ports either 2-bytes or 1-byte wide. The “B” variants of the four commands use the lower-byte of the value argument only.
Chapter 6: Connector Pin Assignments The popular 9-pin D subminiature connector is used for interfacing to communication lines. The connector is equipped with 4-40 threaded standoffs (female screw lock) to provide strain relief. Pin No. Assignment (Receive Data) (Transmit Data) (Transmit Data) GND (Signal Ground) (Receive Data)
Appendix A: Application Considerations Introduction Working with RS422 and RS485 devices is not much different from working with standard RS232 serial devices and these two standards overcome deficiencies in the RS232 standard. First, the cable length between two RS232 devices must be short; less than 50 feet. Second, many RS232 errors are the result of noise induced on the cables.
PCI-RS422 Manual A balanced differential line receiver senses the voltage state of the transmission line across the two signal input lines. If the differential input voltage is greater than +200 mV, the receiver will provide a specific logic state on its output. If the differential voltage input is less than -200 mV, the receiver will provide the opposite logic state on its output.
RS485 Data Transmission The RS485 Standard allows a balanced transmission line to be shared in a party-line mode. As many as 32 driver/receiver pairs can share a two-wire party line network. Many characteristics of the drivers and receivers are the same as in the RS422 Standard. One difference is that the common mode voltage limit is extended and is +12V to -7V.
Page 28
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.
Need help?
Do you have a question about the PCI-RS422 Series and is the answer not in the manual?
Questions and answers