background image

Documentation Number 3PCIO1-0903 Manual

Cover Page

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

B&B Electronics Ltd – Westlink Comm. Pk. – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445

 

 

 

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:

[email protected]

-- Fax (815) 433-5109

Technical Support e-mail:

[email protected]

-- 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:

[email protected]

Technical Support e-mail:

[email protected]

2003 B&B Electronics

Summary of Contents for 3PCIO1

Page 1: ...nd 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 ...

Page 2: ...o change without notice and does not represent a commitment on the part of B B Electronics B B Electronics shall not be liable for incidental or consequential damages resulting from the furnishing performance or use of this manual All brand names used in this manual are the registered trademarks of their respective owners The use of trademarks or other designations in this publication is for refer...

Page 3: ...MPER MODE TABLE FOR RS 232 422 485 6 INSTALL THE CARD 7 CHAPTER 3 SOFTWARE DRIVER INSTALLATION 9 WINDOWS 95 OR 98 8 SET DTR OPERATION 13 CHANGING COM PORT NUMBER 14 REMOVAL OF DRIVERS CARD 16 WINDOWS 2000 PROFESSIONAL 17 WINDOWS XP PROFESSIONAL 24 SYSTEM PROPERTIES HARDWARE DEVICE MANAGER 29 SET DTR OPERATION 31 CHANGING COM PORT NUMBER 32 REMOVAL OF DRIVERS CARD 34 SHOW HIDDEN FILES AND FOLDERS 3...

Page 4: ...Ph 353 91 792444 Fax 353 91 792445 CHAPTER 6 RS 422 RS 485 CONNECTIONS OPERATION 45 RS 422 485 PINOUTS 45 RS 422 RS 485 DIFFERENTIAL SIGNALS 47 RS 422 OPERATION 47 RS 485 OPERATION 48 DTR OPERATION IN RS 485 MODE 48 RS 485 NETWORK BIASING 49 CHAPTER 7 TROUBLESHOOTING 51 APPENDIX A JUMPER MODE TABLES A 1 APPENDIX B CONNECTOR PINOUTS B 1 APPENDIX C TROUBLESHOOTING WITH COMTEST C 1 APPENDIX D DECLARA...

Page 5: ...atic 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 Avoid touching the gold connectors or other parts on the card except as necessary to set the configuration jumpers Remove AC power from the computer before inserting the card Retain the ESD bag ...

Page 6: ...s routines support Windows communication drivers and a wide range of COM ports Com1 to Com16 or higher Features Optically Isolated Multiple Interface PCI Serial Card Windows 95 98 2000 XP Compatible Drivers Buffered high speed 16C950A UARTs 16C550 compatible 128 byte FIFOs for input output with selectable trigger thresholds Supports baud rates to 460 8K baud Provides 2000 VDC minimum isolation on ...

Page 7: ...cidentally turning the computer on during installation 4 Install the Card replace the cover 5 Reconnect the Power Cord 6 While power is off connect your cables or wait for Step 15 7 Start the computer as Administrator 2000 XP 8 Insert the driver disc in your CD ROM drive 9 Wait until new hardware is detected 10 Proceed with Installation according to your Operating System See Chapter 3 11 Check for...

Page 8: ...ength 5 6 7 or 8 bits Parity Even odd or none Stop bits 1 1 5 or 2 Optical Isolation Data Line Device HCPL0600 or equivalent Handshake Line Device IL207 or equivalent RS 232 Data Lines Drivers Receivers Transceiver Device SP211H or equivalent High level output voltage 5 0 V minimum Low level output voltage 5 0 V minimum Output current limited to 25 mA Input high threshold voltage 1 7 V maximum Inp...

Page 9: ...15K nodes Provision for custom biasing R14 R13 Termination None Provision for custom termination R15 Max Power Consumption loaded Voltage V Current mA Power W 5 300 1 5 Typical Baud Rates 75 110 134 150 300 600 1200 1800 2400 4800 7200 9600 14 4K 19 2K 38 4K 57 6K 115 2K 230 4K 460 8K Any baud rate which is a common divisor of 460 8K can be used if the application software supports it Accessories ...

Page 10: ... by touching a large grounded metal surface or the metal chassis on equipment connected to earth ground by a 3 wire power cord Avoid touching the gold connectors or other parts on the card except as necessary to set the configuration jumpers Remove AC power from the computer before inserting the card Retain the ESD bag for handling the card Save the packaging for storage or shipping Before Startin...

Page 11: ...JP1 Top 232 Right 422 485 left 422 485 left 422 485 left JP1 Middle No effect TX ENABLE right TX SD left TX SD left JP1 Bottom No effect RX ENABLE right RX ENABLE right RX SD left Table 1 Jumper Mode Table 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 oper...

Page 12: ...g 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 Ground yourself to the computer chassis before and while inserting the card 7 Install the card into the unused slot Be certain that the card is inserted completely fully seated in the slot 8 Secure the card with the mounting scre...

Page 13: ...s before installing the new version See Removal at page 16 Windows 98 screens are shown for this section Windows 95 will have other screen names and text shown 1 Configure the jumpers on card and install it see Chapter 2 2 Make sure PnP OS is set in the BIOS Power up the computer 3 Windows will detect the PCI card start the Add New Hardware Wizard and begin driver installation 4 The driver install...

Page 14: ...ectronics Mfg Co 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 6 Select Search Click Next 6 Insert Disc Select CD ROM Drive Click Next ...

Page 15: ...ttawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 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 ...

Page 16: ...5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 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 ...

Page 17: ...signed by Windows to the card You will have 1 new B B Com port as shown Select Properties or double click on the new com port Set DTR Operation Set DTR Operation to Normal for RS 232 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 overrid...

Page 18: ...mes 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 Formerly installed USB to serial adaptors PCI cards or other hardware may have reserved a com number The device may need to be added back to the system or ...

Page 19: ... 91 792445 After returning to the Device Manager screen select Refresh Then double click Ports again You should see the B B port renamed As shown below Example After renaming B B Port from Com5 to Com3 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 i...

Page 20: ...g Control Panel System 2 Select the Device Manager page 3 Select the B B Com port Click the Remove button 4 Click Multifunction Adaptors then select B B 3PCIO1 Single Port Isolated Serial Card which matches the card installed 5 Click the Remove button Next find the C WINDOWS INF directory select View Details Arrange Icons By Name You can use Windows Explorer instead 6 Find the files Bbpci inf Bbpi...

Page 21: ...815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 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 ...

Page 22: ... at some point in the future you want to update these drivers remove these drivers before installing the new version See Removal on page 34 1 Configure the card to the desired RS 232 422 485 mode using the 3 JP1 jumpers 2 Install the card in the slot Start the computer as Administrator or ask your system administrator to install the software 3 Windows will detect the PCI card and start Found New H...

Page 23: ... Co 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 6 Select Search and Click Next to continue 7 Insert the driver disc in the CD ROM drive Click Next ...

Page 24: ...lectronics Mfg Co 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 8 Click Next 9 Click Finish to complete the first part of installation ...

Page 25: ...g Co 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 10 Next Windows finds a new type of serial port Click Next 11 Click Next to search a second time ...

Page 26: ...nics Mfg Co 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 12 Select CD ROM drives Click Next 13 Click Next when the bbpci2 inf file is found ...

Page 27: ...53 91 792444 Fax 353 91 792445 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 The second part applies to both 2000 and XP Continued on page 29 System Properties Hardw...

Page 28: ... remove these drivers before installing the new version See Removal at page 34 1 Configure the port on the Card for the desired RS 232 422 485 mode using the 3 jumpers See Chapter 2 2 Install the card in the slot Start the computer as Administrator or ask your system administrator to install the software 3 Windows will detect the PCI card and start Found New Hardware Wizard to begin driver install...

Page 29: ...alway Ireland Ph 353 91 792444 Fax 353 91 792445 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 7 Click Continue Anyway Continued next page...

Page 30: ...07 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 8 Click Finish to continue installation 9 Select Next 10 Windows provides the Logo notice for Com Port Driver ...

Page 31: ...03 Manual B B Electronics Mfg Co 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 11 Click Continue Anyway 12 Click Finish ...

Page 32: ...re 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 Position the mouse pointer over the Taskbar then Right Click Select Properties Select the Start Menu tab then select Classic Start Menu Open Star...

Page 33: ...7 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 System Properties Hardware Device Manager Select Device Manager then view the hardware list Continued next page ...

Page 34: ... Fax 353 91 792445 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 Double click on B B Com Port COM6 to access the Properties Next select...

Page 35: ...353 91 792445 Set DTR Operation Set DTR Operation to Normal for RS 232 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 You can now remove the driver disc close the Windows and check the new ports wit...

Page 36: ... 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 Formerly installed USB to serial adaptors PCI cards or other hardware may have reserved a com number The device may need to be added back to the system ...

Page 37: ...m number Click OK then OK again on the Settings page After returning to the Device Manager screen it should refresh automatically Then double click Ports again You should see B B port renamed as shown below 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 comp...

Page 38: ...be easily edited under 2000 or XP 3 Remove the two sets of driver files from the Windows INF directory See the screen on the next page These are named by the OS in the sequence of installation On a clean system they are Oem0 inf Oem0 PNF and Oem1 inf Oem1 PNF The inf versions should be verified by opening it with Notepad then checking that it is a B B Electronics file for the card The PNF version ...

Page 39: ...Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 Windows Explorer WINNT INF Oem2 and Oem3 files Finding the OEMx inf and OEMxPNF files for removal Showing hidden files next page ...

Page 40: ...3 35 B B Electronics Mfg Co 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 Show Hidden Files and Folders End of Remove section ...

Page 41: ... 433 5104 B B Electronics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 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 ...

Page 42: ...me 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 Com numbers in use may be used by motherboard ports Modems virtual com ports for network serial server devices or FAX modem Formerly installed US...

Page 43: ...r software which requires it In the 4X position all standard baud rate settings are multiplied 4 times For example if the software sets 57 6K baud the actual baud rate will be 230 4K baud 115 2K becomes 460 8K Example Data Rate Clock Speed 4x Windows 98 Refer to Specifications in Chapter 1 for baud rates available In many systems faster baud rates can improve throughput significantly Actual throug...

Page 44: ...IFO 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 The Receiver Trigger level sets how much data is in the input buffer befo...

Page 45: ...ics Ltd Westlink Comm Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 The optimum setting for each depends on the nature of your data how it fits within the buffer how fast your computer operates etc 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 ...

Page 46: ...her with Ground they make a 3 wire interface The RTS and CTS signals are Handshaking lines used to indicate to the other device that data can be sent or received These lines may be enabled or disabled on a byte by byte basis and are used to prevent buffer overrun or the loss of data Two secondary Handshaking signals are DTR and DSR They are usually enabled when the device is powered up and the por...

Page 47: ... needed to interconnect two computers with RS 232 RS 232 devices which require hardware handshaking require connection of RTS CTS and or DTR DSR lines in order to operate properly Programs for RS 232 may chose to use only Receive and Transmit and ignore hardware handshaking None inputs or may require connections to verify that a cable and device is ready for access Some devices may use Software Ha...

Page 48: ...2 to Data B of your devices and from pin 3 to Data A of your devices Make sure your Mode Jumpers are set and that the driver Setting for DTR Operation is RS 485 Mode in the Device Manager Note that the EIA RS 422 Specification labels data lines with an A and B designator Some RS 422 or RS 485 equipment uses a and designator In most cases the A line is the equivalent of the line and the B line is t...

Page 49: ...computer to RD A on the device Connect the RD B pin 9 on the computer to TD B on the device Connect the RD A pin 1 on the computer to TD A on the device Connect the Signal Ground pin 5 to Signal Ground on the device In a 4 wire RS 485 system each receive line connects to the same receive terminal on all slaves and each transmit line connects to the same transmit terminal on all slaves The master t...

Page 50: ...ed at 200mV A separate signal ground common connection provides a common mode reference for the transmitter and receiver These factors provide reliable communications at much greater distances than RS 232 RS 422 Operation In RS 422 mode the transmitter is enabled TX ENABLE all the time and the receiver is enabled RX ENABLE all the time Typical connections are for two devices one device at each end...

Page 51: ... mode was established where each transmitter tri states to a high impedance when not transmitting See following section on RS 485 RS 485 Operation In RS 485 mode the transmit driver must be enabled during transmit TX SD and tri stated to a high impedance when the data has been sent In the 2 wire half duplex mode the receiver is enabled when not transmitting and disabled RX SD during transmit echo ...

Page 52: ...D A above the receiver threshold of 200mV for all devices on that section of the network If the biasing is not maintained the first data bit of a signal may not be detected and one or more devices may not respond to commands or may operate intermittently The RS 485 receiver on the 3PCIO1 is biased with a 4 7 KΩ pull up resistor on the Receive Data B line and a 4 7 KΩ pull down resistor on the Rece...

Page 53: ...e properly seated in the slot Remove and re insert it or try a different slot Check BIOS is set for PnP OS If you are unable to communicate with the card using your software and hardware devices 1 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 2 Use the ComTest program provided on th...

Page 54: ...orrect mode Normal for RS 232 RS 485 Mode for RS 485 RS 422 mode works in either setting provided that the mode jumpers are set correctly 6 A loopback connection for RS 232 connects the Transmit output to the Receive input pins 2 3 on the DB9 connector Use connections below to check all Fig 7 1 RS 232 Loopback w Handshaking Connections 7 For RS 422 or 4 wire RS 485 connect the TD A to RD A and the...

Page 55: ...ers 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 No damage occurs in the RS 485 mode just no devices will respond The EIA standard for signal labels defines the B line as positive relative to A during the MARK state 10 Try another software pa...

Page 56: ...s RS 232 RS 422 4 Wire RS 485 4 Wire RS 485 2 Wire JP1 Top 232 Right 422 485 left 422 485 left 422 485 left JP1 Middle No effect TX ENABLE right TX SD left TX SD left JP1 Bottom No effect RX ENABLE right RX ENABLE right RX SD left 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 ...

Page 57: ...le B 1 RS 232 Pinouts Table B 2 RS 232 DB9 to DB25 Conversion Cable Name DB9 Pin DTE DB25 Pin DTE DCD 1 8 RD 2 3 TD 3 2 DTR 4 20 GND 5 7 DSR 6 6 RTS 7 4 CTS 8 5 RI 9 22 Chassis GND Shield DB9 Shell 1 Name Description Direction DTE DB9M Pin DCD Data Carrier Detect Input 1 RD Receive Data Input 2 TD Transmit Data Output 3 DTR Data Terminal Ready Output 4 GND Signal Ground 5 DSR Data Set Ready Input ...

Page 58: ... 485 network 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 line and the B line is the equivalent of the line More information on RS 422 communications can be found in the B B Electronics RS 422 485 Application Note available...

Page 59: ... A Windows Terminal Program for Simple Checks of Serial Ports Works with USB Serial Converters ISA or PCI Serial Cards Serial Port Access under Windows 95 98 2000 XP Com1 Com8 or above Dual Windows show typed transmit characters in separate window from received characters Transmit Receive Activity Indicators Unprintable Characters Shown in Hex 2 Digits Within Left Right Angle Brackets Visual Indic...

Page 60: ...ndow 4 Select the Com port to access or test The drop down box shows available ports not in use 5 Click OK Configure Port is shown 6 Select the needed baud rate parity data bits stop bits Defaults are common settings 7 Type characters they will appear in the upper window 8 If performing a loopback test observe the received characters in the lower window 9 Use the Option to set DTR high or low obse...

Page 61: ...pendix 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 EN 50082 1 EN 61000 4 2 4 3 4 ...

Reviews: