Portwell PCI-ICM422/2 User Manual

Portwell network card

Advertisement

Quick Links

MODEL PCI-ICM422(485)/2(4)

USER MANUAL

FILE: MPCI-ICM4S.F1d

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-ICM422/2 and is the answer not in the manual?

Questions and answers

Summary of Contents for Portwell PCI-ICM422/2

  • Page 1: User Manual

    MODEL PCI-ICM422(485)/2(4) USER MANUAL FILE: MPCI-ICM4S.F1d...
  • Page 2 Notice The information in this document is provided for reference only. Portwell does not assume any liability arising out of 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 Portwell, nor the rights of others.
  • Page 3 Under this Warranty, liability of Portwell is limited to replacing, repairing or issuing credit (at Portwell discretion) for any products which are proved to be defective during the warranty period. In no case is Portwell liable for consequential or special damage arriving from use or misuse of our product. The customer is responsible for all charges caused by modifications or additions to Portwell equipment not approved in writing by Portwell or, if in Portwell opinion the equipment has been subjected to abnormal use.
  • Page 4: Table Of Contents

    Table of Contents Chapter 1: Introduction............................. 5 Specifications..............................7 Figure 1-1: 422 Block Diagram(Only one serial channel shown)..............8 Figure 1-2: 485 Block Diagram ........................8 Chapter 2: Installation............................9 Chapter 3: Option Selection ........................... 11 Figure 3-1: Simplified Termination Schematic ..................11 Figure 3-2: Option Selection Map ......................
  • Page 5: Chapter 1: Introduction

    Chapter 1: Introduction These cards provide effective asynchronous serial communications in RS422 and RS485 networks on long communications lines in noisy environments. The cards feature independent serial ports and use type 16550 buffered UARTs. The data lines are opto-isolated from the computer and from each other to assure communication through large common mode noise.
  • Page 6 Communication Mode The 422 models support Full-Duplex and Half-Duplex communications with a 4-wire cable connection. 485 models support Half-Duplex communications with a 2-wire cable connection. Half- Duplex allows traffic to travel in both directions, but only one way at a time. RS485 communications commonly use the Half-Duplex mode since they share only a single pair of wires and installation cost is reduced.
  • Page 7: Specifications

    Specifications Communications Interface • I/O Connection: 37 Pin DBM connector. • Serial Ports: An external breakout cable that terminates with female D-sub 9-pin connectors. • Character length: 5, 6, 7, or 8 bits. • Parity: Even, odd or none. • Stop Interval: 1, 1.5, or 2 bits.
  • Page 8: Figure 1-1: 422 Block Diagram(Only One Serial Channel Shown)

    Figure 1-1: 422 Block Diagram(Only one serial channel shown) OSCILLATOR UART Tx/Rx+ 16550 INTERFACE TRANSCEIVER DB37 OPTO- Tx/Rx- SIMILAR CHIP ISOLATOR DEVICES AUTO RTS CIRCUITRY Figure 1-2: 485 Block Diagram Manual PCI-ICM-422(485)/2(4)
  • Page 9: Chapter 2: Installation

    Chapter 2: Installation A printed Quick-Start Guide (QSG) is packed with the card for your convenience. If you’ve already performed the steps from the QSG, you may find this chapter to be redundant and may skip forward to begin developing your application.
  • Page 10: Hardware Installation

    Hardware Installation Make sure to set switches and jumpers from either the Option Selection section of this manual or from the suggestions of SETUP.EXE. Do not install card into the computer until the software has been fully installed. Turn OFF computer power AND unplug AC power from the system. Remove the computer cover.
  • Page 11: Chapter 3: Option Selection

    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 chapter. Operation is determined by jumper installation as described in the following paragraphs. Tx+/R x+ COM422LD 0.1 F Tx-/R x-...
  • Page 12 Serial2 subkey: Serial4 subkey: PortAddress = REG_DWORD 0xFC00 PortAddress = REG_DWORD 0xFD80 Interrupt = REG_WORD 5 Interrupt = REG_DWORD 5 DosDevices = REG_SZ COM3 DosDevices = REG_SZ COM5 InterruptStatus = REG_DWORD 0xFC08 InterruptStatus = REG_DWORD 0xFC08 PortIndex = REG_DWORD 1 PortIndex - REG_DWORD 3 Indexed =0 Indexed=0...
  • Page 13: Figure 3-2: Option Selection Map

    Figure 3-2: Option Selection Map Manual PCI-ICM-422(485)/2(4)
  • Page 14: Chapter 4: Address Selection

    Chapter 4: Address Selection The cards use four separate address spaces. COM A occupies 16 consecutive address locations and COM B, COM C, and COM D each occupy eight consecutive register locations. The two-port versions of these cards do not have ports COM C and COM D. PCI architecture is Plug-and-Play.
  • Page 15: Chapter 5: Programming

    Chapter 5: Programming There are sample programs provided with the 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. The first step is to set the baud rate divisor.
  • Page 16 The second initializing step is to set the Line Control Register at Base Address +3. This register defines word length, stop bits, parity, and the DLAB. Bits 0 and 1 control word length and allow word lengths from 5 to 8 bits. Bit settings are extracted by subtracting 5 from the desired word length.
  • Page 17 Transmission RS485 transmission is simple to implement. The AUTO feature of the 422/485 cards automatically enables the transmitter when data are ready to send. No software enabling is required. The following C code fragment demonstrates this process: while(data[i]); /*While there is data to send*/ while(!(inportb(BASEADDR +5)&0x20));...
  • Page 18: Chapter 6: Connector Pin Assignments

    Chapter 6: Connector Pin Assignments A breakout cable is delivered with each card. The cable mates with a 37-pin connector on the card mounting bracket and, at the other ends of the cable, the popular 9-pin D sub-miniature male connector is used to interface with your communication lines. Those connectors are equipped with 4- 40 threaded standoffs (female screw lock) to provide strain relief.
  • Page 19: Appendix A: Application Considerations

    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 at 9600 baud. Second, many RS232 errors are the result of noise induced on the cables.
  • Page 20: Table A-2: Rs422 Specification Summary

    A maximum common mode voltage rating of +7V provides good noise immunity from voltages induced on the twisted pair lines. The signal ground line connection is necessary in order to keep the common mode voltage within that range. The circuit may operate without the ground connection but may not be reliable.
  • Page 21: Figure A-1: Typical Rs485 Two-Wire Multidrop Network

    Figure A-1: Typical RS485 Two-Wire Multidrop Network RS485 Four-Wire Multidrop Network An RS485 network can also be connected in a four-wire mode. In a four-wire network it's necessary 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.
  • Page 22: Customer Comments

    If you experience any problems with this manual or just want to give us some feedback, please email us at: tech@portwell.com. Please detail any errors you find and include your mailing address so that we can send you any manual updates.

This manual is also suitable for:

Pci-icm485/4Pci-icm422/4Pci-icm485/2

Table of Contents