B&B Electronics manual Expansion Mode, Esc Stx C B, 232XS5 Expander Mode Commands

Page 9

Expansion Mode

Expansion

Expansion

Expansion

Port

Port

Port

You could then send SWB$ to select port B of Expansion switch unit address “C”. Similar strings could be used for turning on the other ports. To turn off the ports the string might look like this:

Slave

Slave

Slave

Slave

Slave

Slave

Port

Port

Port

Port

Port

Port

Slave Slave

Port Port

TOFF$ = CHR$(27) + CHR$(2) + CHR$(4)

Master Port

E

D

 

 

Address D C

 

 

 

A

B

 

 

 

 

 

 

Slave

Slave

 

Port

Port

 

E

D

 

 

Address C C

 

 

 

A

B

 

 

 

 

 

 

Slave

Slave

Port

Port

E D

Address B C

A B

Slave Slave

Port Port

E

D

 

Slave

 

Address A C

 

 

 

A

B

 

Port

 

 

 

 

 

 

 

Slave

Slave

 

Port

Port

 

When you are done with a port you can either select a new one directly or turn off the selected port and then turn on the next one. For information on preventing command codes from being received by slave devices, refer to the Enhanced Mode section.

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” thru “D”. Expansion Switch unit address “A” is the last Switch in the chain.

Expander mode is selected when jumper “JP6-B” is OFF (removed.) In Expander mode, the 232XS5 is constantly looking for a four character preamble code by monitoring the data that is being received on the master port from the host device. The 232XS5 requires a four character preamble code to turn on and off a port. The first character must be the ASCII escape character (decimal 27). The second character is user programmable by setting dipswitch “SW2”. “SW2” comes from the factory programmed to the ASCII character STX (decimal 2). The third character is the Expansion Switch Unit Address character “A” through “D”. The fourth character should be the ASCII upper case letters "A", "B", "C", "D" or “E” (decimal 65, 66, 67, 68 or 69 respectively) to select those ports. To turn off the selected port the third character should be the ASCII EOT character (decimal 4). For instance, to turn on port B of Expansion Switch unit address C, you would send:

ESC STX C B

If you were writing a program in BASIC to control the Smart Switch you would form a string like this:

SWB$ = CHR$(27) + CHR$(2) + "C" + ”B”

232XS5-1005 Manual

13

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 Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445

Table 9 - 232XS5 Expander Mode Commands

 

Command Characters

 

Function

1st

2nd

3rd

4th

Comments

 

 

 

 

 

 

Select Port A

ESC

X*

“A”

“A”

Address A

Select Port B

ESC

X*

“A”

“B”

Address A

Select Port C

ESC

X*

“A”

“C”***

Address A

Select Port D

ESC

X*

“A”

“D”

Address A

Select Port E

ESC

X*

“A”

“E”

Address A

Select Port A

ESC

X*

“B”

“A”

Address B

Select Port B

ESC

X*

“B”

“B”

Address B

Select Port D

ESC

X*

“B”

“D”

Address B

Select Port E

ESC

X*

“B”

“E”

Address B

Select Port A

ESC

X*

“C”

“A”

Address C

Select Port B

ESC

X*

“C”

“B”

Address C

Select Port D

ESC

X*

“C”

“D”

Address C

Select Port E

ESC

X*

“C”

“E”

Address C

Select Port A

ESC

X*

“D”

“A”

Address D

Select Port B

ESC

X*

“D”

“B”

Address D

Select Port D

ESC

X*

“D”

“D”

Address D

Select Port E

ESC

X*

“D”

“E”

Address D

Deselect Port

ESC

X*

EOT

NU**

Switching Command

Set Timer Value

ESC

X*

“T”

“0”-”9”

Enhanced Mode

Set Timer Mode

ESC

X*

“M”

“0”,”1”

Enhanced Mode

*X represents the programmable character set by dipswitch SW2

**NU = Not Used

***Port C is used as the expansion port for unit addresses B thru D.

14

232XS5-1005 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 Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445

Image 9
Contents Five Port Expandable Smart Switch Table of Contents Specifications ChecklistIntroduction Model 232XS5Port Configuration SetupCommunication & Port Setup Dipswitch SW1 Setting Mode Setup Jumper JP6 SettingRS-485 Support Serial Data ConfigurationDCE DTE DTE DCEProgrammable Character Setting Smart Switch OperationWeight Programming the Second CharacterEnhanced Timer Mode -- Timer Features Smart Switch/Port Combiner Mode232XS5 Smart Switch Mode Commands Timer ValuesExpansion Mode 232XS5 Expander Mode CommandsESC STX C B Method One Description Default Value Port AddressMethod Two Baud Rate 9600 Data Bits Second CharacterCOM Appendix a Ascii Character Codes 232XS-1005 Manual Appendix a 232XS5-1005 ManualDecimal to HEX to Ascii Conversion Table IBM PC Appendix B Cable ChartsChart 6. IBM PC DB9 Connector to Ports a E DTE Chart 5. IBM PC DB25 Connector to Ports a E DCESignal Ports a E DTE Chart 7. IBM PC DB9 Connector to Ports a E DCE232XS5-1005 Manual Appendix B Chart 9. IBM PC DB9 Connector to Ports a E DCE
Related manuals
Manual 26 pages 9.88 Kb

232XS5 specifications

B&B Electronics 232XS5 is a state-of-the-art Five Port Expandable Smart Switch, designed to provide businesses with enhanced connectivity options and efficient network management. This robust switch addresses the growing needs for high-performance networking in various applications, including industrial, commercial, and residential settings.

One of the main features of the 232XS5 is its ability to expand with additional ports. Users can easily increase their connectivity by adding more devices as their network requirements change, which ensures a future-proof solution without the need for a complete system overhaul. This flexibility makes it an ideal choice for organizations anticipating growth or changes in their networking needs.

The switch supports a range of advanced technologies designed to optimize performance. With its Layer 2 switching capabilities, the 232XS5 can efficiently manage data traffic, ensuring smoother communication between connected devices. Its support for auto-negotiation and auto-MDIX simplifies installations, automatically configuring each port to the appropriate speed and cable type, thereby reducing setup time and potential errors.

Another notable characteristic of the 232XS5 is its robust security features. The smart switch includes VLAN support, which allows network administrators to segment traffic and enhance security by isolating sensitive data transmissions. Additionally, it supports port security features, enabling organizations to restrict access to specific devices, thus preventing unauthorized access and potential breaches.

Energy efficiency is also a key component of the B&B Electronics 232XS5. The switch employs energy-saving technologies that reduce power consumption without compromising performance. This not only lowers operational costs but also supports sustainability initiatives, making it a responsible choice for environmentally-conscious businesses.

Furthermore, the switch's compact design and solid construction ensure durability in demanding environments. Whether deployed in an office space or an industrial setting, the 232XS5 is built to withstand various conditions, ensuring reliable operation over time.

Overall, the B&B Electronics 232XS5 Five Port Expandable Smart Switch combines flexibility, advanced features, and robust security, making it a compelling solution for any organization looking to enhance its networking capabilities. With its easy expandability and commitment to energy efficiency, it is a smart investment for the future of networking.