RS-232 Baud Rate Converter Model 232BRC Documentation Number 232BRC-0812 pn5104-r006 This product designed and manufactured in Ottawa, Illinois USA of domestic and imported parts by 707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax (815) 433-5105 Phone (815) 433-5100 -- General Fax (815) 433-5105 Website: www.bb-elec.com Sales e-mail: orders@bb-elec.com -- Fax (815) 433-5109 Technical Support e-mail: support@bb.elec.
TABLE OF CONTENTS Chapter 1: INTRODUCTION .............................................. 3 Applications ........................................................................... 3 Specifications ........................................................................ 4 Default Parameters ............................................................... 4 Checklist ................................................................................ 5 Chapter 2: OPERATION .........................................
Chapter 1: INTRODUCTION The 232BRC acts as a translator between devices with incompatible asynchronous serial communications. Each port uses a dedicated UART and includes a 16 kbyte receive buffer. Each port can be independently configured for data rate, data format, and handshaking. Each side of the 232BRC can be configured to match the connected device. It supports any data rate up to 115.2 kbps and all standard data formats. Each side can either supply or accept hardware or software handshaking.
Specifications Model: Interface: Data Bits: Parity: Data Rate: Stop Bits: Flow Control: Buffer Memory: LEDs: Power Requirements: Power Connector: Recommended Supply: Data Connectors: Dimensions: Setup Software: Supplied Accessories: 232BRC RS-232 Asynchronous 5, 6, 7, or 8 Even, Odd, or None 300 to 115.2 kbps 1 or 2 Hardware(RTS/CTS), Software(XON/XOFF), or None 16 Kbytes SRAM per port Buffer A, Buffer B, Power +12 to +17 VDC @ 60mA max. 2.
Checklist Examine the shipping carton and contents for physical damage. If damage is found, file a claim with the shipper immediately. The following equipment should be in the shipping carton: 1. RS-232 Baud Rate Converter model 232BRC 2. Instruction Manual 3. Software If any of the items above are not in the shipping carton contact the shipper immediately.
6 232BRC-0812 Manual B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445
Chapter 2: OPERATION Each port receives data from its connected device, buffers the data, and sends it out the opposite port when that port’s handshaking indicates it is ready to receive data. Each port is set to match the requirements of its connected device through the setup software. Unused output handshake lines are held high by the 232BRC. Pin 6 (DSR) on Port A and Pin 4 (DTR) on Port B are held in a constant true state.
Baud rates that are not evenly divisible into 1.152 MHz can also be used, but the actual baud rate will vary slightly from the requested rate. This may or may not cause data errors, depending on the attached equipment. Most standard UARTs can accept a 5% to 10% difference in baud rate before errors occur. For example: Desired Baud Rate = 20 kbps 1.152 MHz / 20 kbps = 57.6 Actual Rate = 1.152 MHz / 58 = 19.862 kbps %error = (20 kbps – 19.862 kbps) / 20 kbps * 100 %error = 0.
Software(XON/XOFF) Handshaking: Each port can be independently configured for software handshaking. Software handshaking is normally used in communications links where the main data stream is one way, such as to a printer. The main sending device is expected to hold off its data when it receives the XOFF(13 Hex) character, and resume sending when it receives an XON(11 Hex). The main receiving device is expected to send the XOFF character if the buffer is full or it otherwise needs to hold off the data.
25 Pin DTE 2 (TD) T R R 20 (DTR) T R R R 6 (DSR) 8 (DCD) 7 (GND) 2 (RD) R R 8 (CTS) R 4 (DTR) T R R 6 (DSR) 1 (DCD) 5 (GND) T = RS-232 Transmitter R T T R R 6 (DSR) 8 (DCD) 7 (GND) R T T 7 (RTS) 8 (CTS) T 20 (DTR) 3 (TD) 2 (RD) T 4 (RTS) 5 (CTS) T 9 Pin DCE 2 (TD) 3 (RD) T 7 (RTS) T 5 (CTS) 25 Pin DCE 3 (TD) T 3 (RD) 4 (RTS) T 9 Pin DTE 4 (DTR) 6 (DSR) 1 (DCD) 5 (GND) R = RS-232 Receiver Figure 2.1.
LED Indicators The 232BRC has three LED indicators. The first, labeled “POWER” indicates that power is applied to the converter. The other two, labeled “PORT A BUFFER” and “PORT B BUFFER” indicate that data is present in that port’s receive buffer. Note that the buffer LEDs indicate buffered data only. If either device is fast enough to receive the data as fast as it can be sent, no data will be buffered, so the LED may not be lit.
12 232BRC-0812 Manual B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445
Chapter 3: SETUP SOFTWARE Introduction The 232BRC comes with simple setup software for configuring the A and B ports. The software can run on any PC compatible computer using Microsoft Windows 95, 98, NT, 2000, or Vista operating system. Once the ports are configured, all parameters are saved in nonvolatile memory so the 232BRC can be powered down and used anywhere without the loss of configuration data.
Figure 3.1 Setup Jumper Location Software Installation The setup software for the 232BRC must be installed on your hard drive before it can be run. Software Uninstall To remove the 232BRC setup software, follow these steps: Select SETTINGS, CONTROL PANEL from the Windows START menu. Double Click ADD/REMOVE PROGRAMS Select 232BRC SETUP from the list of installed programs. Click the ADD/REMOVE button to remove the software components.
Main Screen All configuration of the 232BRC is done from the Main Screen. Each port’s parameters can be individually selected and modified. Parameters can be selected from the drop-down lists. Any baud rate that is not in the list can be entered into the window.
File Menu: From the file menu, a configuration can be saved to disk, loaded from a disk, or printed. This provides an easy method of configuring multiple units with the same setup. Read 232BRC Configuration Button: This button will read the configuration from the connected 232BRC. The 232BRC is read upon entering the Main Screen, so it should not have to be read again unless it is necessary to set the parameters back after changing.
Step 4: Connect the 232BRC to be copied to the serial (COM) port of the PC. Install the setup jumper. Apply power to the 232BRC. Step 5: Click Next. Step 6: Select Save As from the File menu. Save the configuration to disk. Step 7: Disconnect the first 232BRC from the COM port. Step 8: Connect the destination 232BRC to the serial (COM) port of the PC. Install the setup jumper. Apply power to the 232BRC. Step 9: Select File/Load File and load the saved configuration.
18 2232BRC-0812Manual B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445
Appendix A: Cable Charts All charts give full pinouts. Only pins 2 & 3 are required for basic operation. Pins 7 and 8 are needed for hardware (RTS/CTS) handshaking. If the connected device requires DTR or DSR, these signals are available on pins 4 and 6 respectively. See Appendix B for a block diagram of the 232BRC. Port A Connections Chart A.1.
Chart A.3. DCE (Modem) DB9 Connector to Port A (DCE) DCE (Modem) Serial Port DB9 Connector 2 3 4 5 6 7 8 Signal Direction -----------> <----------<----------<---------> ----------> <---------------------> 232BRC Port A (DCE) DB9F Connector 3 (TD) 2 (RD) 6 (DSR) 5 (GND) 4 (DTR) 8 (CTS) 7 (RTS) Chart A.4.
Chart A.6. DCE (Modem) DB25 Connector to Port B (DTE) DCE (Modem) Serial Port DB25 Connector 2 3 4 5 6 7 20 Signal Direction <---------------------> <--------------------> ----------> <---------> <----------- 232BRC Port B (DTE) DB9M Connector 3 (TD) 2 (RD) 7 (RTS) 8 (CTS) 6 (DSR) 5 (GND) 4 (DTR) Chart A.7.
A-4 Appendix A: Cable Charts 232BRC-0812 Manual B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445
Appendix B: Block Diagram Microcontroller EEPROM TD RD RTS CTS DTR DSR GND UART TD RD RTS CTS DTR DSR GND UART 32K SRAM 3 2 7 8 4 6 5 3 2 7 8 4 6 5 PORT A PORT B Female DB9 Male DB9 232BRC Block Diagram 232BRC-0812 Manual Appendix B B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445 B-1
B-2 Appendix B 232BRC-0812 Manual B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph 353-91-792444 – Fax 353-91-792445
Appendix C: Declaration of Conformity DECLARATION OF CONFORMITY Manufacturer’s Name: Manufacturer’s Address: Model Number: Description: Type: Application of Council Directive: Standards: B&B Electronics Manufacturing Company P.O. Box 1040 707 Dayton Road Ottawa, IL 61350 USA 232BRC RS-232 Baud Rate Converter Light industrial ITE equipment 89/336/EEC EN 55022 EN 61000-6-1 EN 61000 (-4-2, -4-3, -4-4, -4-5, -4-6, -4-8, -4-11) Robert M.
C-2 Appendix C 232BRC-0812 Manual B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph 353-91-792444 – Fax 353-91-792445