Page 1
Expandable Smart Switch Model 232XSSD4 Document No. 232XSSD43800 This product designed and manufactured in Ottawa, Illinois USA of domestic and imported parts by International Headquarters B&B Electronics Mfg. Co. Inc. USA 707 Dayton Road - P.O. Box 1040 -- Ottawa, IL 61350...
Page 3
APPENDIX A: ACSII CHARACTER CODES......A-1 APPENDIX B: CABLE CHARTS..........B-1 1. IBM PC DB25 C ....B-1 HART ONNECTOR TO ASTER 2. IBM PC DB9 C ....B-1 HART ONNECTOR TO ASTER 3. M DB25 C ....B-2 HART ODEM ONNECTOR TO ASTER 4.
When the 232XSSD4 receive the control string the "Master" port will be connected to the designated port. There is no delay through the 232XSSD4 and the data is not buffered. When the 232XSSD4 is set to Smart Switch Mode Port "A"...
Specifications Model: 232XSSD4 Size: 10.1"w x 7.5"d x 3.3"h Power: 120VAC 60hz 16w Connectors: Master - DB-25 female (RS-232 or RS-422) Slave - DB-25 male (RS-232 or RS-422/485) Switching Baud Rate: from 300 to 38.4 Kbps Baud Rate: Any baud rate up to 115.2 Kbps...
Switch Master Port Control Ports "A-H" T D Port A Port B Port C UART Microcontroller Port D Port E Expansion B u s Port F Port G Port H Port Combiner Control Lines C T S Port A C T S Port H Figure 1.
The Master port can be configured by the user as a DCE or a DTE port. In order to determine the proper Master port configuration of the 232XSSD4 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 9
Figure 3. Master Port DCE/DTE Jumpers Figure 4. PC Board Options for RS-485 If an IBM PC (DTE device) is connected to the 232XSSD4 Master port, the Master port should be configured as a DCE port. If a modem (DCE device) is connected to the Master port, it should be configured as a DTE port.
Page 10
RD (A) Receive - Input * Pins 6 & 8 are tied together inside the 232XSSD4 and share the same output. Refer to Figure 5. ** 422 master port option. Important: All jumpers must be in the same position, either DCE or DTE positions.
Page 11
17** RD (A) Receive - Input * Pins 6 & 8 are tied together inside the 232XSSD4 and share the same input. Refer to Figure 5. ** 422 master port option only 232XSSD43800 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350...
RD(A) Receive (-) Input *Pins 6 & 8 are tied together inside the 232XSSD4 and share the same input. Refer to Figure 5. ** RS-422/485 option if installed The 232XSSD4 has eight ports labeled "A - H". Refer to “Rear View”.
The RS-232 transmit and receive data signals on the Master port will be converted to balanced, full-duplex RS-422 or half-duplex RS-485 signals with this option. The 232XSSD4 comes standard with four RS-485 (2 or 4-wire) slave ports. Refer to Appendix B for cable charts.
Figure 6. Simplified RS-422/485 Schematic When a port has this option, additional circuitry will be mounted to the main board. The standard 232XSSD4 comes with the RS-485 option on four ports (Port A-D). Use Figure 2 to locate its position.
Page 15
There are two components located in the port B circuit area on the main printed circuit board, a resistor (R75) and a capacitor (C4), that are part of the send data control circuit. These components are factory selected for 9600 baud, which allows the send data control to operate at 9600 baud or higher.
(232PE) adds four additional serial ports. The Port Expansion Bus connects each port to the electronic switch control circuit in the 232XSSD4. In order for the 232XSSD4 to select a port on a Port Expander unit, each unit must be assigned its own unique address from "1"...
Page 17
Example 1: To turn on port E of the 232XSSD4 (address zero) with ASCII STX (2 decimal) character set as the user defined character. Send to the Master Port: STX 0 E (2 48 69 decimal) Example 2: To turn on port B located at port expander (232PE) address ten with ASCII STX (2 decimal) character set as the user defined character.
Command String" section for more information regarding the last three characters. Example 1: To turn on port E of the 232XSSD4 (address zero) with ASCII STX set as the user defined character. Send to Master port: ESC STX 0 E...
If you were writing a program in GWBASIC to select port E of the 232XSSD4 (address zero) you would form a string like this: SW0E$ = CHR$(27) + CHR$(2) + "0" + "E" You could then send SW0E$ to select port E. Similar strings could be used for turning on the other ports.
Appendix A. Smart Switch/Port Combiner Mode This mode allows the CTS lines of ports A - H of the 232XSSD4 to select the Master port. It also allows selection from the Master port via the command control string described in the Smart Switch Mode section.
The 232XSSD4 has a built-in port select test. Placing DIP switch 1 (SW1) position 8 in the on position and powering up the 232XSSD4 starts this test. Refer to Figure 2. It will test the port selection, port expansion, and address circuits for all sixty-eight ports.
Chapter 2: SOFTWARE Introduction The Expandable Smart Switch Selector program for Windows allows the user to select ports in the windows environment. The SS program requires 2M of memory. The Expandable Smart Switch, Terminate and Stay Resident (XSSTSR) Program (IBM PC or Compatible), allows the user to change Smart Switch ports either through the command line or by hitting a sequence of keys at the same time, referred to as hot keys.
Description Default Value Port Address COM 1 Baud Rate 9600 Data Bits 8 Data Bits Second Character 2 = STX (CTRL B) The following files will be located on your hard drive: • SS.EXE - The executable file for the Smart Switch. •...
Selecting Ports To select a port the user need only pick from the Menu-> Comport the comport to which the device is attached. The Smart Switch program supports comports 1 through 6. If the port exists but does not have a smart switch device attached, SS will not detect it. The SS software will only detect invalid/undefined comports.
Page 25
1) SETUP.EXE Method (preferred) If the software was installed on your hard drive follow these steps: • Type C: and press the ENTER key. • Type CD\XSS and press the ENTER key. Or if you are going to execute SETUP.EXE from the floppy drive follow these steps: •...
Page 26
Enter Hot Key Sequence ( 1 = <Lft Shift><Alt><A|B|C|D|E|F|G|H|N> 2 = <Rht Shift><Alt><A|B|C|D|E|F|G|H|N> 3 = <Lft Shift><Alt><1|2|3|4|5|6|7|8|N> 4 = <Rht Shift><Alt><1|2|3|4|5|6|7|8|N> 5 = <CTRL><ALT><A|B|C|D|E|F|G|H|N> 6 =<CTRL><ALT><1|2|3|4|5|6|7|8|N>)[1]: At this point, a file called GO.BAT will be created. • Type GO and press the ENTER key. Once the GO.BAT file is created, every time you wish to begin the XSSTSR all that you need to do is type GO and press the ENTER key.
If the software was installed on your hard drive follow these steps: • Type C: and press the ENTER key. • Type CD\XSS and press the ENTER key. Or if you are going to execute XSSTSR.COM from the floppy drive follow these steps: •...
Page 28
The User Defined Character must be set so that it is equal to SW2 on the Smart Switch. The Command String of the 232XSSD4 can be set to respond to a three character or four character command. For more information on this feature refer to the Smart Switch Operation section of this manual.
Then press the Address Character where the desired port is located. This character is represented by a hexadecimal number from "0 to 9" and "A to F". The address for the 232XSSD4 is always zero (0) and the 232PEs can be set from 1 through 15 (1 to 9 and A to F).
Hot Key Method This method enables the user to select any Smart Switch port by pressing a pre-defined sequence of keys at the same time after the XSSTSR is installed (refer to Program Installation section). Example: If Hot Key sequence <Lft Shift><Alt><A|B|C|D|E|F|G|H|N> was selected, to change ports you would press at the same time: Left Shift - Alt - A...…...
Example 1: To turn on port "C" of the 232XSSD4 you would type XSSTSR XC0 at the command line and press the ENTER key. Example 2: To turn on port "A" of a 232PE set to address 9 you would type XSSTSR XA9 at the command line and press the ENTER key.
APPENDIX A: ACSII 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 & ctrl G ctrl H ctrl I...
<----------- <----------- <---------> <----------- -----------> * Pins 6 & 8 are tied together inside the 232XSSD4 and share the same output. Chart 2. IBM PC DB9 Connector to Master Port Master port configured as a DCE port. IBM PC 232XSSD4...
<---------> -----------> <----------- * Pins 6 & 8 are tied together inside the 232XSSD4 and share the same input. NOTE: When using chart 3 above and connecting a DTE device to ports A - H of the smart switch, refer to Charts 7 and 8.
<---------> <----------- -----------> * Pins 6 & 8 are tied together inside the 232XSSD4 and share the same input. Chart 8. IBM PC DB9 Connector to Ports A - H (DTE) Master port configured as a DTE port with a modem connected (see Chart 3).
Chart 9. RS-422/485 4-Wire Device to Port (A - H) Configured as an RS-422 /485 Port. RS-422/485 232XSSD4 4-Wire Signal Ports A - H Device Direction DB25 Connector TD (A)* -----------> 17 - RD (A) TD (B)* -----------> 16 - RD (B) Signal Ground <---------->...
Page 38
FEDERAL COMMUNICATIONS COMMISSION RADIO FREQUENCY INTERFACE STATEMENT Class A Equipment This equipment has been tested and found to comply with the limits for Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
Need help?
Do you have a question about the 232XSSD4 and is the answer not in the manual?
Questions and answers