Page 1
Five Port Expandable Smart Switch Model 232XS5 Document No. 232XS53800 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
2000 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.
TABLE OF CONTENTS Chapter 1: INTRODUCTION ........... 1 Checklist ..................2 Specifications................2 Chapter 2: SETUP ..............3 Port Configuration............... 4 Serial Data Configuration............6 RS-485 Support ................6 Chapter 3: Smart Switch Operation ........7 Programming the Second Character .......... 8 Binary File Transfer ..............
Chapter 1: INTRODUCTION The RS-232 Five Port Expandable Smart Switch, Model 232XS5, allows one RS-232 host device to connect to as many as five RS-232 devices. The switch can be controlled in three different ways. The first way is referred to as smart switch mode or code activated switch mode.
There are five LED's on the 232XS5 to indicate which port is connected to the master port. The master port has a DB-9S female connector and the slave ports have DB-9P male connectors. The 232XS5 requires 12Vdc at 100ma. which is provided through a 2.5mm power jack.
Expander mode. To change the settings on the switch, remove the power from the unit, and remove the screws (4) from the bottom of the 232XS5. The dipswitch is located on the top of the PC board (side with LED’s) and is labeled “SW1.” The other dipswitch, labeled “SW2”...
* = FACTORY DEFAULT Port Configuration In order to determine the proper port configuration of the 232XS5, it is necessary to have a basic understanding of the terms DCE and DTE. RS-232 was designed, using DB-25 connectors, for connecting a DTE (Data Terminal Equipment) device to a DCE (Data Communication Equipment) device.
Page 8
<-------> Signal Ground (SG) <-----> The 232XS5 supports the following RS-232 signals: TD, RD, SG, RTS, CTS, DCD, DSR and DTR. NOTE: All other lines are not connected. The Smart Switch selects port A as the default port at power up.
485SD9TB RS-232 to RS-485 converter or other recommended device to the slave ports of the 232XS5. Port power of about 30 mA may be applied through the DTR line (Pin 4) of the slave ports with jumper JP1-JP5. Normally, the jumpers are set to allow DTR to pass from the master port.
Programming the Second Character The second character comes programmed as the ASCII STX character (decimal 2). You can change this to any 8-bit character you wish by reprogramming dipswitch “SW2”. “SW2” is an eight- position switch with each position equal to a certain weight. Refer to “Setup”...
Port Port Combiner Mode With the 232XS5 set up with a DTE master port, this mode allows Slave Ports A-E to select the master port using the RTS input line. It also still allows selection from the master port via the preamble code described in the Smart Switch Only Mode section.
The timer has two different modes: an inactivity mode and an inadvertent switch mode. When in inactivity mode, the 232XS5 will monitor the data lines. If there is no activity for the specified time, the selected slave port will be disconnected from the master port.
Page 14
SetTV$ = CHR$(27) + CHR$(2) +”T” + “6” The “T” tells the 232XS5 it is the set timer value command and the “6” indicates which timer value to use. Table 7 - Timer Values Data Byte Value timer disabled 10ms...
Page 15
2). SetTM$ = CHR$(27) + CHR$(2) +”M” + “1” The “M” tells the 232XS5 it is the set timer mode command and the “1” indicates to set up the timer to ignore switching commands. When the timer is configured in this mode, the 232XS5 will not accept any switching commands (“A”, ”B”, ”C”, ”D”, “E”, or “EOT”) for...
Port Port 17-Port Cascaded Expansion Mode The number of serial ports on the 232XS5 can easily be expanded to a maximum of seventeen ports. Up to four 232XS5 units may be cascaded in expander mode. Each unit address adds four additional serial ports to the five on unit address “A”. Port C is used as the expansion port that connects to the follow-on master- port for switch units addressed “B”...
Page 17
For information on preventing command codes from being received by slave devices, refer to the Enhanced Mode section. Table 9 - 232XS5 Expander Mode Commands Command Characters Function...
The Smart Switch program will prompt the user for the Module that is in use the first time that the software is run. After the proper Module (i.e. PortMUX, 232XS5,etc.) is selected then a window specific to that Module will appear and the user may personalize communication parameters as per their specific needs.
Should the user wish to change the Module choice to another there is a Module menu choice with the three support Module types (PortMUX, 232XSS, and 232XS5). After changing the Module the user will be prompted to restart the Smart Switch software to reset the connection.
Page 20
The Baud Rate is the speed at which communication takes place between the PC and the Smart Switch. It must be specified so that it is equal to SW1 – positions 1 – 3 on the Smart Switch. The Number of Data Bits is the length of each character that gets sent from the PC to the Smart Switch.
Appendix A: ASCII Character Codes DECIMAL to HEX to ASCII CONVERSION TABLE DEC HEX ASCII KEY DEC HEX ASCII DEC HEX ASCII DEC HEX ASCII ctrl @ ctrl A ctrl B “ ctrl C ctrl D ctrl E ctrl F &...
Appendix B: Cable Charts All charts will indicate if the Master Port of the 232XS5 should be configured as a DCE port or a DTE port. Refer to the Port Configuration section of the manual for information on Master Port configurations.
<---------- <---------- <---------> <----------- -----------> * Pins are tied together inside the 232XS5, they are not connected to the master port. Appendix B 232XS53800 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5109...
<----------- <---------> <----------- -----------> * Pins are tied together inside the 232XS5, they are not connected to the master port. Chart 6. IBM PC DB9 Connector to Ports A - E (DTE) Master port configured as a DCE port. IBM PC...
<----------- -----------> <----------- * Pins are tied together inside the 232XS5, they are not connected to the master port. Chart 8. IBM PC DB25 Connector to Ports A - E (DCE) Master port configured as a DTE port with a modem connected (see Chart 3).
<----------- <----------- <---------> <----------- -----------> * Pins are tied together inside the 232XS5, they are not connected to the master port. 232XS53800 Manual Appendix B B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5109...
Need help?
Do you have a question about the 232XS5 and is the answer not in the manual?
Questions and answers