B&B Electronics manual Timer Values, 232XS5 Smart Switch Mode Commands

Page 8

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

 

Value

Byte

 

timer disabled

 

0

 

1

 

10ms

2

 

25ms

3

 

100ms

4

 

500ms

5

 

1 s

6

 

5 s

7

 

30 s

8

 

1 min.

9

 

5 min.

The Set Timer Mode command tells the 232XS5 whether the time set by the Set Timer Value command will be used to determine the time-out of an inactive port, or the length of time switching commands are ignored. The third byte of the Set Timer Mode command is an ASCII “M”. If the data byte (fourth byte) is an ASCII “0”, zero (default), the timer will be setup as an inactivity timer. For example, sending the following string to the 232XS5 will set up the timer as an inactivity timer (assuming programmable character is the factory default of 2).

SetTM$ = CHR$(27) + CHR$(2) +”M” + “0”

The “M” tells the 232XS5 it is the set timer mode command and the “0” indicates to set up the timer as an inactivity timer. When the timer is configured as an inactivity timer, the 232XS5 will monitor the data lines (TD & RD) for data. If there is no activity for the specified timer value, the slave port that is connected to the master port will be disconnected. In smart switch mode, the inactivity timer can be used to prevent the preamble codes from being received by the slave devices. In port combiner mode, the inactivity timer can be used to prevent devices from tying up the master port. For example (port combiner mode), all the slave ports have their handshake lines asserted. The device on Port C has its handshake line asserted and is currently connected to the master port, but has not been transmitting or receiving data. When the inactivity timer expires, Port C will be disconnected and the next slave port will then be

232XS5-1005 Manual

11

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

connected to the master port (following the first-come-first-served rule). Port C will then be placed at the “end of the line”.

If the data byte of the Set Timer Mode command is an ASCII “1”, the timer will be setup to ignore switching commands. Sending the following string to the 232XS5 will set up the timer to ignore switching commands. (Assuming programmable character is the factory default of 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 the specified timer value. After the timer has expired, the slave port that is connected to the master port will be disconnected. This feature is useful to prevent inadvertent switching during binary/graphic type file transfers. For example (smart switch mode), the timer is configured to ignore switching commands for 5 seconds. The select Port D command is sent to the 232XS5. Once Port D is connected a file of unknown data type (so file may or may not contain a switching command sequence) is to be transferred through the 232XS5. For a period of 5 seconds after Port D is connected, no switching commands will be accepted. As long as the file transfer takes less than 5 seconds, there is no chance the 232XS5 will inadvertently switch ports.

Table 8 - 232XS5 Smart Switch Mode Commands

 

Command Characters

 

Function

1st

2nd

3rd

4th

Comments

 

 

 

 

 

 

Select Port A

ESC

X*

“A”

NU**

Switching Command

Select Port B

ESC

X*

“B”

NU**

Switching Command

Select Port C

ESC

X*

“C”

NU**

Switching Command

Select Port D

ESC

X*

“D”

NU**

Switching Command

Select Port E

ESC

X*

“E”

NU**

Switching Command

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

12

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 8
Contents Five Port Expandable Smart Switch Table of Contents Checklist SpecificationsIntroduction Model 232XS5Setup Port ConfigurationCommunication & Port Setup Dipswitch SW1 Setting Mode Setup Jumper JP6 SettingSerial Data Configuration RS-485 SupportDCE DTE DTE DCESmart Switch Operation Programmable Character SettingWeight Programming the Second CharacterSmart Switch/Port Combiner Mode Enhanced Timer Mode -- Timer FeaturesTimer Values 232XS5 Smart Switch Mode CommandsESC STX C B Expansion Mode232XS5 Expander Mode Commands Description Default Value Port Address Method OneMethod Two Baud Rate 9600 Data Bits Second CharacterCOM Decimal to HEX to Ascii Conversion Table Appendix a Ascii Character Codes232XS-1005 Manual Appendix a 232XS5-1005 Manual Appendix B Cable Charts IBM PCChart 5. IBM PC DB25 Connector to Ports a E DCE Chart 6. IBM PC DB9 Connector to Ports a E DTESignal Ports a E DTE Chart 7. IBM PC DB9 Connector to Ports a E DCEChart 9. IBM PC DB9 Connector to Ports a E DCE 232XS5-1005 Manual Appendix B
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.