B&B Electronics 232D4SS8 User Manual

8 Port Smart Switch CE
Model 232D4SS8
Documentation Number 232D4SS84502
This product designed and manufactured in Ottawa, Illinois USA
of domestic and imported parts by
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
Sales e-mail: orders@bb-elec.com -- Fax (815) 433-5109
Technical Support e-mail: support@bb.elec.com
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
Sales e-mail: orders@bb-europe.com
Technical Support e-mail: support@bb-europe.com
1999 B&B Electronics -- Revised November 2002
-- Fax (815) 433-5104
Documentation Number 232D4SS84502 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
TABLE OF CONTENTS
Chapter 1: HARDWARE ......................................................1
Introduction............................................................................1
Specifications ........................................................................2
Checklist ................................................................................3
Serial Data Configuration ......................................................3
Port Configuration..................................................................4
Master Port.........................................................................4
RS-232 Configuration......................................................9
RS-422/485 Slave Port Option......................................10
RS-422/ RS-485 Mode..................................................11
Smart Switch Operation.......................................................13
Smart Switch Mode ..........................................................13
Three Character Command String ................................13
Four Character Command String ..................................14
Programming the User Defined Character....................15
Smart Switch/Port Combiner Mode ..................................16
Binary File Transfer .............................................................17
Port Select Test ...................................................................17
Chapter 2: SOFTWARE ....................................................18
Introduction..........................................................................18
Windows Selector Program Installation/Instructions ...........18
Smart Switch Setup .............................................................19
Default Values .....................................................................19
Selecting Ports ....................................................................20
Uninstalling Windows Smart Switch Selector Program .......20
APPENDIX A: ASCII Character Codes .......................... A-1
APPENDIX B: Cable Charts ...........................................B-1
Chart 1. IBM PC DB25 Connector to Master Port ............ B-1
Chart 2. IBM PC DB9 Connector to Master Port .............. B-1
Chart 3. Modem DB25 Connector to Master Port............. B-2
Chart 4. DCE w/DB25 Connector to Ports A -H (DTE).....B-2
Chart 5. IBM PC DB25 Connector to Ports A - H (DTE)... B-3
Chart 6. IBM PC DB9 Connector to Ports A - H (DTE)..... B-3
Chart 7. IBM PC DB25 Connector to Ports A - H (DTE)... B-4
Chart 8. IBM PC DB9 Connector to Ports A - H (DTE)..... B-4
Chart 9. RS-422/485 4-Wire Device to Port (A - H)
Configured as an RS-422/485 Port. ....................B-5
Chart 10. RS-485 2-Wire Device to Port (A - H)
Configured as an RS-485 Port. ...........................B-5
APPENDIX C: Declaration of Conformity .....................C-1
Documentation Number 232D4SS84502 Manual Table of Contents i
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
Chapter 1: HARDWARE
Introduction
The RS-232 Eight Port Smart Switch (232D4SS8) allows one RS-232 host device to connect to eight asynchronous serial devices. Refer to Figure 1. Four RS-232 ports and four RS-232 or RS-485 (two or four wire, send data contol) are standard on the 232D4SS8, depending on the pins you use. Other options and additional RS-422/485 ports are available by contacting B&B technical support. Ports configured as RS-232 support signals TD, RD, RTS, CTS, DTR, and DSR or CD. Refer to Figure 5. Ports configured as RS-422/485 support signals TD and RD only. Refer to Figure 6.
The Master port is DTE or DCE configurable. RS-232 ports "A" through "H" are configured as DTE ports. The 232D4SS8 will switch with baud rates from 300 to 38,400 bps, 7 or 8 data bits, even, odd or no parity, and 1 or 2 stop bits. After the switch is made the 232D4SS8 is transparent to data flow.
There are nine red indicator LED's on the front of the 232D4SS8. Eight LED's represent ports "A" through "H" and indicate the selected port. The ninth LED is the power on indicator. Nine connectors are located on the back of the 232D4SS8, a DB­25S female Master port connector, and eight DB-25P male connectors for ports "A" through "H". Refer to “Front View” diagram.
Port selection is accomplished by sending a programmable control string to the "Master" port of the Smart Switch. This control string consists of a user-defined character, address character, and port character. When the 232D4SS8 receives the control string the "Master" port will be connected to the designated port. There is no delay through the 232D4SS8 and the data is not buffered. When the 232D4SS8 is set to Smart Switch Mode Port "A" will be selected at power up.
The eight ports on the 232D4SS8 can also be used as a smart switch/port combiner. In addition to using the Master Port for port selection, any of the eight ports can select the Master Port by asserting their CTS line. This function is enabled by setting a switch inside the 232D4SS8.
Documentation Number 232D4SS84502 Manual 1
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
Specifications Model: 232D4SS8
Size: 25.65 W x 19.05 D x 8.38 H cm
Power: 12VAC 830mA, 2.5mm power jack
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
Connected Baud Rate: Any baud rate up to 115.2 Kbps
Front View
electronics
&
BB
SMART SWITCH
Rear View
AC Power
2 Documentation Number 232D4SS84502 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
Master Port
TD
Port Combiner
Control Lines
UART
Microcontroller
Switch Control
Figure 1. Simplified Functional Diagram
NOTE: This diagram illustrates only the transmit data (TD) signal.
Checklist
The following equipment should be in the shipping carton:
1. Smart Switch
2. Instruction Manual
Ports "A-H"
Port A
TD
Port BTD Port C
TDTDPort D
Port ETD
TD
Port F
Port G
TD
Port HTD
CTS
Port A
CTS
Port H
3. (2) 3 1/2" disks
If any of the items above are damaged or missing contact the shipper immediately.
Serial Data Configuration
In order for the host device, which is connected to the Master Port of the Smart Switch, to select a port, the Smart Switch must be set to match the host's communication format. This is accomplished by setting an eight position DIP switch labeled "SW1" located inside the Smart Switch. Refer to Figure 2. Switch positions 1 through 4 select the baud rate. Switch position 5 selects 7 or 8 data bits. Refer to Table 1. The remaining switch positions will be discussed later. Always power down the Smart Switch before changing switch settings.
Documentation Number 232D4SS84502 Manual 3
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
Table 1. Communication & Configuration Switch
DIP Switch 1
12 3456 78 Setting
0000XXXX300Baud 1000XXXX600Baud 0100XXXX1200 Baud 1100XXXX2400 Baud 0010XXXX4800 Baud 1010XXXX9600 Baud * 0110XXXX19.2KBaud 1110XXXX38.4KBaud XXXX0XXX8DataBits* XXXX1XXX7DataBits XXXXX0XXSmartSwitchMode* XXXXX1XXSmartSwitchand
Port Combiner Mode XXXXXX0X3Char.Command* XXXXXX1X4Char.Command XXXXXXX0PortSelectTestOff* XXXXXXX1PortSelectTestOn
0=OFF 1=ON X=DON'TCARE
* = FACTORY DEFAULT
Port Configuration
The 232D4SS8 has a Master port and eight selectable ports labeled "A" through "H". Refer to “Rear View”. The Master port should be connected to the RS-232 device that will be selecting the ports. Ports "A - H” connect to the RS-232 or RS-422/485 devices that will communicate with the Master port device.
Master Port
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 232D4SS8 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. Each device will have inputs on pins that correspond to outputs on the same pins of the other device. For example, a DTE device transmits data out on pin 2 and a DCE device receives data in on pin 2. IBM PC's are DTE devices, modems are DCE devices. The Master port is shipped configured as a DCE port.
4 Documentation Number 232D4SS84502 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
Figure 2. Printed Circuit Board Outline
Documentation Number 232D4SS84502 Manual 5
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
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 232D4SS8 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. Refer to cable charts in Appendix B.
The Master port is configured as either a DCE port or a DTE port by moving jumpers JP1: 1 through JP1: 7. JP1 is located inside the Smart Switch. Refer to Figures 2 & 3. To configure the Master port as a DCE port, jumpers JP1: 1 through JP1: 7 must be moved to the DCE position. Refer to Table 2. To configure the Master port as a DTE port, jumpers JP1: 1 through JP1: 7 must be moved to the DTE position. Refer to Table 3.
6 Documentation Number 232D4SS84502 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
Table 2. DCE MASTER PORT CHART
Signal Direction of DCE Master
Pin # Signal Description
2 3 4 5
6*
7
8*
20 14** 15** 16** 17**
TD Transmit Data Input
RD Receive Data Output RTS Request to Send Input CTS Clear to Send Output DSR Data Set Ready Output
SG Signal Ground <------>
CD Carrier Detect Output DTR Data Term. Ready Input
TD (B) Transmit + Output TD (A) Transmit - Output RD (B) Receive + Input RD (A) Receive - Input
Port
* Pins 6 & 8 are tied together inside the 232D4SS8 and share the same output. Refer to Figure 5.
** RS-422 Master port option.
Important: All jumpers must be in the same position, either DCE or DTE positions. Do not mix positions! Refer to Figure 3 which shows the Master port configured as a DCE port.
CAUTION: Always power down the Smart Switch before removing
its cover.
Documentation Number 232D4SS84502 Manual 7
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
Loading...
+ 20 hidden pages