B&B Electronics RS-422 User Manual

Optically isolated single-port multi-interface (rs-232/rs-422/rs-485) pci bus serial card with send data control 3pcio1
Hide thumbs Also See for RS-422:

Advertisement

Optically Isolated
Single-Port Multi-Interface
(RS-232/RS-422/RS-485)
PCI Bus Serial Card
with Send Data Control
3PCIO1
Documentation Number 3PCIO1-0903
This product designed and manufactured in Ottawa, Illinois USA
of domestic and imported parts by
International Headquarters
B&B Electronics Mfg. Co. Inc.
707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA
Phone (815) 433-5100 -- General Fax (815) 433-5105
Home Page: www.bb-elec.com
Orders e-mail:
orders@bb-elec.com
-- Fax (815) 433-5109
Technical Support e-mail:
support@bb.elec.com
-- Fax (815) 433-5104
European Headquarters
B&B Electronics Ltd.
Westlink Commercial Park, Oranmore, Co. Galway, Ireland
Phone +353 91-792444 -- Fax +353 91-792445
Home Page: www.bb-europe.com
Orders e-mail:
orders@bb-europe.com
Technical Support e-mail:
support@bb-europe.com
 2003 B&B Electronics
Documentation Number 3PCIO1-0903 Manual
Cover Page

Advertisement

Table of Contents
loading

Summary of Contents for B&B Electronics RS-422

  • Page 1 Optically Isolated Single-Port Multi-Interface (RS-232/RS-422/RS-485) PCI Bus Serial Card with Send Data Control 3PCIO1 Documentation Number 3PCIO1-0903 This product designed and manufactured in Ottawa, Illinois USA of domestic and imported parts by International Headquarters B&B Electronics Mfg. Co. Inc. 707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax (815) 433-5105 Home Page: www.bb-elec.com...
  • Page 2  2003 B&B Electronics . No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photography, recording, or any information storage and retrieval system without written consent. Information in this manual is subject to change without notice, and does not represent a commitment on the part of B&B Electronics.
  • Page 3: Table Of Contents

    TABLE OF CONTENTS CHAPTER 1: GENERAL INFORMATION... 1 ... 1 NTRODUCTION ... 1 EATURES ... 2 UICK TART ... 3 PECIFICATIONS CHAPTER 2: SETUP... 5 ... 5 NSPECTION … ... 5 EFORE TARTING ELECTION OF PERATING UMPER ABLE ... 7 NSTALL THE CHAPTER 3: SOFTWARE DRIVER INSTALLATION ...
  • Page 4 CHAPTER 6: RS-422/RS-485 CONNECTIONS/OPERATION... 45 RS-422/485 P ... 45 INOUTS RS-422 & RS-485 D IFFERENTIAL RS-422 O ... 47 PERATION RS-485 O ... 48 PERATION DTR O RS-485 M PERATION IN RS-485 N ETWORK IASING CHAPTER 7: TROUBLESHOOTING... 51 APPENDIX A: JUMPER/MODE TABLES...A-1 APPENDIX B: CONNECTOR PINOUTS...
  • Page 5 CAUTION: ELECTROSTATIC SENSITIVE DEVICE Use ESD precautions for safe handling. Before removing the card from the anti-static protective packaging: • Discharge any static electricity buildup on your body by touching a large grounded metal surface or the metal chassis on equipment connected to earth ground by a 3-wire power cord.
  • Page 6: Chapter 1: General Information

    Selectable RS-232/RS-422/RS-485 mode • RS-232 Mode – All eight signals including DCD & RI • RS-422 Mode – Supports Transmit & Receive signal pairs • RS-485 Mode – Supports Transmit & Receive signal pairs for half or full duplex connections.
  • Page 7: Quick Start

    12. Select Driver Settings for DTR Control 13. Set Com number as needed. 14. Prepare your cable connections to match the connector pinouts . See Chapter 5 (RS-232) or Chapter 6 (RS-422/RS- 485). 15. Shut down the computer before connecting the cable.
  • Page 8: Specifications

    Low level output voltage: Output current limited to: Input high threshold voltage: Input low threshold voltage: Device will withstand: RS-422/485 Driver/Receiver: Transceiver device: Differential driver output voltage: Differential input high-threshold voltage: 0.2 V maximum Differential input low-threshold voltage: −0.2 V minimum Automatic RS-485 Driver Control Timing: Driver is enabled by Tx input buffer data.
  • Page 9 Receiver Biasing: 4.7K pull-up/pull-down for 32 standard (12-15K) nodes Provision for custom biasing (R14, R13) Termination: None. Provision for custom termination (R15) Max Power Consumption: loaded Voltage Current (mA) Typical Baud Rates 1200 1800 2400 4800 7200 9600 14.4K 19.2K 38.4K 57.6K 115.2K...
  • Page 10: Chapter 2: Setup

    Chapter 2: Setup Inspection Your 3PCIO1 serial card was tested for proper operation before packaging. It should be in perfect mechanical and electrical condition upon receipt. CAUTION: ELECTROSTATIC SENSITIVE DEVICE Use ESD precautions for safe handling. Before removing the card from the anti-static protective packaging: •...
  • Page 11: Selection Of Operating Mode

    The top jumper sets DB9 connections for either 232 or 422/485 RS-232 operation requires setting only the Top jumper. The middle jumper sets the RS-422/RS-485 transmitter for RS-485 or RS-422 operation . In RS-485 mode, the transmitter is tri-stated when not sending data.In RS-422 mode, the transmitter is always enabled.
  • Page 12: Install The Card

    Install the Card 1. Shut down your computer. 2. Unplug the power cord to remove power to prevent accidentally turning on the computer during installation. 3. Remove the cover of the computer. 4. Locate an empty PCI expansion slot. 5. Remove the expansion slot cover. Save the retaining screw. 6.
  • Page 13: Chapter 3: Software Driver Installation

    Chapter 3: Software Driver Installation Windows 95 or 98 The 3PCIO1 drivers are unique to this series of cards. If at some point in the future you want to update these drivers, remove these drivers before installing the new version. See Removal at page 16. Windows 98 screens are shown for this section.
  • Page 14 6. Select Search, Click Next. 6. Insert Disc. Select CD-ROM Drive, Click Next. Documentation Number 3PCIO1-0903 Manual Chapter 3...
  • Page 15 Windows will find “B&B 3PCIO1 Single-Port Isolated Serial Card” and the driver BBPCI.inf file. 7. Click Next. 8. Click Finish. Installation will complete automatically. Chapter 3 Documentation Number 3PCIO1-0903 Manual...
  • Page 16 Another similar screen will be shown before the above. After the above is shown, installation will have completed. Wait for the process to complete. To verify the installation: Open Start, Settings, Control Panel, System. Then select the Device Manager Tab. Documentation Number 3PCIO1-0903 Manual Chapter 3...
  • Page 17: Set Dtr Operation

    Set DTR Operation to RS-485 Mode for 2-wire or 4-wire RS-485 operation. Either setting can be used for RS-422. The card jumpers must be set for the same mode. See Chapter 2. The Default Com parameters are normally overridden by the software application so it is not necessary to change them.
  • Page 18: Changing Com Port Number

    Changing Com Port Number From the Device Manager, Select Properties, Settings, Advanced. Available names for Com numbers are shown. Select a new number from those not “in use”. Com numbers from Com1 to Com256 may be available. Com numbers “in use” may be used by motherboard ports, Modems, virtual com ports for network serial server devices or FAX modem.
  • Page 19 The Default Com parameters are normally overridden by the software application. Continue in Chapter 4, Setting Driver Options for Data Rate Clock Speed and FIFO settings. Make your connections, RS-232 in Chapter 5 or RS-422/485 in Chapter 6. Chapter 3 Documentation Number 3PCIO1-0903 Manual...
  • Page 20: Removal Of Drivers/Card

    Removal of Drivers/Card If you need to install a possible future driver update or want to remove the card from your system: 1. Open My Computer, Control Panel, System (or Start, Setting, Control Panel, System). 2. Select the Device Manager page. 3.
  • Page 21 If the inf folder can’t be found, select My Computer, View, Folder Options, View, Files and Folders, select Show all files. Removing the card first in the device manager clears up the registry. 8. Shut down the computer, then remove the card. Chapter 3 Documentation Number 3PCIO1-0903 Manual...
  • Page 22: Windows 2000 Professional

    Windows 2000 Professional This section covers device driver installation for Windows 2000 Professional. Windows Classic settings used as standard. The 3PCIO1 drivers are unique to this series of cards. If at some point in the future, you want to update these drivers, remove these drivers before installing the new version.
  • Page 23 6. Select Search and Click Next to continue. 7. Insert the driver disc in the CD-ROM drive. Click Next. Chapter 3 Documentation Number 3PCIO1-0903 Manual...
  • Page 24 8. Click Next. 9. Click Finish to complete the first part of installation. Documentation Number 3PCIO1-0903 Manual Chapter 3...
  • Page 25 10. Next Windows finds a new type of serial port. Click Next. 11. Click Next to search a second time. Chapter 3 Documentation Number 3PCIO1-0903 Manual...
  • Page 26 12. Select CD-ROM drives. Click Next. 13. Click Next when the bbpci2.inf file is found. Documentation Number 3PCIO1-0903 Manual Chapter 3...
  • Page 27 14. Click Finish. Wait for the process to complete. Check to verify that a new B&B Com port is now available. 13. Open Start, Settings, Control Panel, System. Then select the Hardware tab on System Properties. 14. Skip over the first part of software driver installation for XP which follows.
  • Page 28: Windows Xp Professional

    Windows XP Professional This section covers the first part of device driver installation for Windows XP Professional. Windows Classic settings used as standard. The 3PCIO1 drivers are unique to this series of cards. If at some point in the future, you want to update these drivers, remove these drivers before installing the new version.
  • Page 29 6. Windows will find the drivers on the CD, then provide a notice concerning Windows Logo testing for XP. This new feature of XP simply indicates that these drivers have not yet undergone the Microsoft testing procedures required to use the Windows XP Logo on the packaging. Driver compatibility is not affected.
  • Page 30 8. Click Finish to continue installation. 9. Select Next. 10. Windows provides the Logo notice for Com Port Driver. Documentation Number 3PCIO1-0903 Manual Chapter 3...
  • Page 31 11. Click Continue Anyway. 12. Click Finish. Chapter 3 Documentation Number 3PCIO1-0903 Manual...
  • Page 32 13. After Finish for the Com port, this part of software driver installation is complete. Check to verify that a new B&B Com port is now available within the Control Panel, System, Device Manager. If you are more familiar with Windows 95/98/2000, you may want to select the Windows Classic look for the Start Menu.
  • Page 33: System Properties/Hardware/Device Manager

    System Properties/Hardware/Device Manager Select Device Manager, then view the hardware list. Continued next page. Chapter 3 Documentation Number 3PCIO1-0903 Manual...
  • Page 34 Under Multifunction Adapters, the B&B 3PCIO1 Single-Port Isolated Serial Card is installed. Under Ports, B&B Com Port (COM6) was assigned. If Com ports between COM1 and COM6 are not “in use” by other hardware or software, we can change the B&B Com port to another available Com number using Properties, Settings, Advanced.
  • Page 35: Set Dtr Operation

    Set DTR Operation to RS-485 Mode for 2-wire or 4-wire RS-485 operation. Either setting can be used for RS-422. The card jumpers must be set for the same mode. See Chapter 2. The Default Com parameters are normally overridden by the software application.
  • Page 36: Changing Com Port Number

    Changing Com Port Number From the Device Manager, Select Properties, Settings, Advanced. Available names for Com numbers are shown. Select a new number from those not “in use”. Com numbers from Com1 to Com256 may be available. Com numbers “in use” may be used by motherboard ports, Modems, virtual com ports for network serial server devices or FAX modem.
  • Page 37 Example – After renaming B&B Port from Com6 to Com2 Double-click or select the port to finish selecting other properties. Continue in Chapter 4, Setting Driver Options. Software installation is complete. Make your connections, RS-232 in Chapter 5 or RS-422/485 in Chapter 6. Chapter 3 Documentation Number 3PCIO1-0903 Manual...
  • Page 38: Removal Of Drivers/Card

    Removal of Drivers/Card If you need to remove the card from your system or remove the current driver before installing a possible future driver upgrade: 1. Click on the B&B Com Port under Ports (COM & LPT) and select Uninstall (right click). 2.
  • Page 39 Windows Explorer, WINNT, INF, Oem2 and Oem3 files. Finding the OEMx.inf and OEMxPNF files for removal Showing hidden files, next page. Chapter 3 Documentation Number 3PCIO1-0903 Manual...
  • Page 40: Show Hidden Files And Folders

    Show Hidden Files and Folders End of Remove section. Documentation Number 3PCIO1-0903 Manual Chapter 3...
  • Page 41: Chapter 4: Setting Driver Options

    Chapter 4 : Setting Driver Options DTR Operation Example - DTR Operation Screen (Windows 98) Select Normal for RS-232 operation. Select RS-485 Mode for Automatic RS-485 Driver Control. Use either setting for RS-422 operation. Continued next page Chapter 4 Documentation Number 3PCIO1-0903 Manual...
  • Page 42: Advanced - Com Port Renaming

    Advanced - Com Port Renaming Select to change port name to another Com number. From the Device Manager, Select Properties, Settings, Advanced. Example - Advanced Settings (Windows 98) Available names for Com numbers are shown. Select a new number from those not “in use”. Com numbers from Com1 to Com256 may be available.
  • Page 43: Data Rate 1X/4X Clock Speed

    Data Rate - 1X or 4X Clock Speed The 3PCIO1 port in the Device Manager has Data Rate, Clock Speed settings for 1X or 4X. The 4X position provides a compatibility mode for software which requires it. In the 4X position, all standard baud rate settings are multiplied 4 times.
  • Page 44: Fifo Settings

    FIFO Settings The default FIFO settings should minimize overhead and work well for most users. The FIFO Interrupt Trigger levels setting determines how often the host processor services the serial port to send or receive data. The Transmitter Trigger level sets how low the output buffer gets before it triggers a request for more data from program memory.
  • Page 45 Receiver FIFO applies when Handshaking is used for Hardware or Software control. For Connections, refer to Chapter 5, RS-232 or Chapter 6, RS-422 or RS-485. Chapter 4 Documentation Number 3PCIO1-0903 Manual...
  • Page 46: Chapter 5: Rs-232 Connections/Operation

    Chapter 5: RS-232 Connections/Operation The DB-9 male connector is configured as a standard RS-232 (DTE) serial port. Table 3 shows the signal names and pin numbers. Table 3: RS-232 Pinouts Name Description Data Carrier Detect Receive Data Transmit Data Data Terminal Ready Signal Ground Data Set Ready Request to Send...
  • Page 47: Dtr Operation In Rs-232 Mode

    There are two types of RS-232 ports, DTE (Computer) and DCE (Modem). Connected directly together using a modem cable wired pin to pin, the inputs match the outputs of the other. When two of the same type (DTE to DTE or DCE to DCE) are interconnected, a crossover (null modem) cable is needed to route the outputs of one to the inputs of the other.
  • Page 48: Chapter 6: Rs-422/Rs-485 Connections/Operation

    "−" line and the "B" line is the equivalent of the "+" line. Some device manufacturers may not follow the standard designation for RS-422 or RS-485, using the A connection for “+” and the B for “-“. In such cases, reversing the line pair permits operation.
  • Page 49 4-Wire RS-422 or RS-485 Connections Figure 6.2 Note: With RS-422 Devices, connect only one device to computer.. Connect the TD(B) pin #2 on the computer to RD(B) on the device. Connect the TD(A) pin #3 on the computer to RD(A) on the device.
  • Page 50: Rs-422 & Rs-485 Differential Signals

    Figure 6.3 RS-422 & RS-485 Differential Signals In RS-422 and RS-485 modes, each signal is differential, when one line is high (4.4V) , the other is low (0V), they alternate voltage with data. The receiver is differential so that common mode noise picked up on the twisted pair of wires is cancelled.
  • Page 51: Rs-485 Operation

    This limitation is due to the fact that the transmitter is active all the time, and the line pair is set so the TD(B) line is high during Mark state, and the TD(A) line is set low. If another transmitter output is connected to the same wire pair, and attempts to send data by setting the line pair to Space state, the first transmitter is still trying to hold the opposite state and neither can communicate.
  • Page 52: Rs-485 Network Biasing

    RS-485 Network Biasing In a RS-485 network, the transmitter tri-states to a high impedance state. Unlike RS-422 where the transmitter holds the TD(B) line high and the TD(A) line low (Mark state) when not transmitting data. To establish and maintain the Mark state for all RS-485 receivers, Biasing is required.
  • Page 53: F Olders

    If you are unable to communicate with the card using your software and hardware devices: Check your pinouts. In RS-422 or RS-485 mode the "A" lines should match your "A" or "−" lines. "B" lines should match your "B" or "+" lines. Note: RS-422/485 pinouts are non-standard.
  • Page 54 Use connections below to check all. Fig. 7.1 RS-232 Loopback w/Handshaking Connections For RS-422 or 4-wire RS-485, connect the TD(A) to RD(A) and the TD(B) to RD(B). Then use the COMTest program to send characters, and observe the characters being received.
  • Page 55 (CTS, DSR, DCD, RI) are not pulled high. Some manufacturers label their data connections for A and B reverse of the standard for RS-422 or RS-485, so that the A line is (+) and B line is inverted (-) following the IC standard. In such a case, just swap the wires and try it.
  • Page 56 Table A – Jumper/Mode The top jumper sets either RS-232 or RS422/485 DB9 connections. Only the Top Jumper position affects RS-232 mode . The middle jumper sets either RS-485 or RS-422 transmit enable. The bottom jumper sets either RS-485 (half-duplex) or receive enable.
  • Page 57: Appendix B: Connector Pinouts

    Appendix B: CONNECTOR PINOUTS Table B.1: RS-232 Pinouts Name Description Data Carrier Detect Receive Data Transmit Data Data Terminal Ready Signal Ground Data Set Ready Request to Send Clear to Send Ring Indicator Table B.2: RS-232 DB9 to DB25 Conversion Cable Name Chassis Documentation Number 3PCIO1-0903 Manual...
  • Page 58 See Chapter 2 for example connections. Note that the EIA RS-422 Specification labels data lines with an "A" and "B" designator. Some RS-422 equipment uses a "−" and "+" designator. In almost all cases, the "A" line is the equivalent of the "−"...
  • Page 59: Appendix C: Troubleshooting With Comtest

    Appendix C: Troubleshooting With ComTest Included on the CD-ROM disc is a test program called ComTest. See Chapter 7. ComTest is a simple 32-bit Windows (Windows 95, 98, 2000, XP or NT 4.0) COM port test program. It allows multiple ports at any address and IRQ, to be opened at any given time.
  • Page 60 Start ComTest 1. Make loopback connections. 2. Select Start, Programs, B&B Electronics, ComTest, ComTest. 3. ComTest Starts with a Select Port Window. 4. Select the Com port to access or test. (The drop down box shows available ports not in use). 5.
  • Page 61: Appendix D: Declaration Of Conformity

    Appendix D: Declaration of Conformity Statement DECLARATION OF CONFORMITY Manufacturer’s Name: B&B Electronics Manufacturing Company Manufacturer’s Address: P.O. Box 1040 707 Dayton Road Ottawa, IL 61350 USA Model Numbers: 3PCIO1 Description: 1-port RS232/422/485 PCI Serial Card Type: Light industrial ITE equipment Application of Council Directive: 89/336/EEC Standards: EN 55022...

This manual is also suitable for:

Rs-232Rs-4853pcio1

Table of Contents