B&B Electronics 232D4SS8 User Manual

Size:
610.66 Kb
Download

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

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

Sales e-mail:orders@bb-elec.com--Fax (815)433-5109Technical Supporte-mail:support@bb.elec.com --Fax (815)433-5104

European Headquarters

B&B Electronics Ltd.

Westlink Commercial Park, Oranmore, Co. Galway, Ireland

Phone +353 91-792444--Fax +35391-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

Documentation Number 232D4SS84502 Manual

Cover Page

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-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-232Configuration......................................................

9

RS-422/485Slave Port Option......................................

10

RS-422/RS-485Mode..................................................

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/4854-WireDevice to Port (A - H)

 

Configured as an RS-422/485Port. ....................

B-5

Chart 10. RS-4852-WireDevice to Port (A - H)

 

Configured as an RS-485Port. ...........................

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- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

Chapter 1: HARDWARE

Introduction

The RS-232Eight Port Smart Switch (232D4SS8) allows oneRS-232host device to connect to eight asynchronous serial devices. Refer to Figure 1. FourRS-232ports and fourRS-232orRS-485(two or four wire, send data contol) are standard on the 232D4SS8, depending on the pins you use. Other options and additionalRS-422/485ports are available by contacting B&B technical support. Ports configured asRS-232support signals TD, RD, RTS, CTS, DTR, and DSR or CD. Refer to Figure 5. Ports configured asRS-422/485support signals TD and RD only. Refer to Figure 6.

The Master port is DTE or DCE configurable. RS-232ports "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 DB25S female Master port connector, and eight DB-25Pmale 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-definedcharacter, 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- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

Specifications Model:
Size:
Power:
Connectors:

232D4SS8

25.65 W x 19.05 D x 8.38 H cm 12VAC 830mA, 2.5mm power jack

Master - DB-25female(RS-232orRS-422)

Slave - DB-25male(RS-232orRS-422/485)

Switching Baud Rate: From 300 to 38.4 Kbps

Connected Baud Rate: Any baud rate up to 115.2 Kbps

Front View

B&Belectronics

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- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

Master Port

Switch

 

Control

Ports "A-H"

TD

 

TD Port A

 

 

TD Port B

UART

 

TD Port C

Microcontroller

 

TD Port D

 

 

 

 

TD Port E

 

 

TD Port F

 

 

TD Port G

Port Combiner

 

TD Port H

Control Lines

 

CTS Port A

 

 

 

 

CTS Port H

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

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- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

Table 1. Communication & Configuration Switch

 

 

DIP Switch 1

 

 

 

1

2

3

4

5

6

7

8

Setting

0

0

0

 

0

X

X

X

X

300 Baud

1

0

0

 

0

X

X

X

X

600 Baud

0

1

0

 

0

X

X

X

X

1200 Baud

1

1

0

 

0

X

X

X

X

2400 Baud

0

0

1

 

0

X

X

X

X

4800 Baud

1

0

1

 

0

X

X

X

X

9600 Baud *

0

1

1

 

0

X

X

X

X

19.2K Baud

1

1

1

 

0

X

X

X

X

38.4K Baud

X

X

X

 

X

0

X

X

X

8 Data Bits *

X

X

X

 

X

1

X

X

X

7 Data Bits

X

X

X

 

X

X

0

X

X

Smart Switch Mode *

X

X

X

 

X

X

1

X

X

Smart Switch and

 

 

 

 

 

 

 

 

 

Port Combiner Mode

X

X

X

 

X

X

X

0

X

3 Char. Command *

X

X

X

 

X

X

X

1

X

4 Char. Command

X

X

X

 

X

X

X

X

0

Port Select Test Off *

X

X

X

 

X

X

X

X

1

Port Select Test On

 

 

0

= OFF

1 = ON

X = DON'T CARE

 

 

 

 

 

* = 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-232device that will be selecting the ports. Ports "A - H” connect to theRS-232orRS-422/485devices 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-232was designed, usingDB-25connectors, for connecting a DTE (DataTerminalEquipment) device to a DCE (DataCommunicationEquipment) 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- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-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- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-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- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

Table 2. DCE MASTER PORT CHART

 

 

 

Signal

 

 

 

Direction of

 

 

 

DCE Master

Pin #

Signal

Description

Port

2

TD

Transmit Data

Input

3

RD

Receive Data

Output

4

RTS

Request to Send

Input

5

CTS

Clear to Send

Output

6*

DSR

Data Set Ready

Output

7

SG

Signal Ground

<------>

8*

CD

Carrier Detect

Output

20

DTR

Data Term. Ready

Input

14**

TD (B)

Transmit +

Output

15**

TD (A)

Transmit -

Output

16**

RD (B)

Receive +

Input

17**

RD (A)

Receive -

Input

*Pins 6 & 8 are tied together inside the 232D4SS8 and share the same output. Refer to Figure 5.

**RS-422Master 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- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

Table 3. DTE MASTER PORT CHART

 

 

 

Signal

 

 

 

Direction of

 

 

 

DTE Master

Pin #

Signal

Description

Port

2

TD

Transmit Data

Output

3

RD

Receive Data

Input

4

RTS

Request to Send

Output

5

CTS

Clear to Send

Input

 

 

 

 

6*

DSR

Data Set Ready

Input

7

SG

Signal Ground

<------>

8*

CD

Carrier Detect

Input

20

DTR

Data Term. Ready

Output

14**

TD (B)

Transmit +

Output

15**

TD (A)

Transmit -

Output

16**

RD (B)

Receive +

Input

17**

RD (A)

Receive -

Input

*Pins 6 & 8 are tied together inside the 232D4SS8 and share the same input. Refer to Figure 5.

**RS-422master port option only.

8

Documentation Number 232D4SS84502 Manual

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445