B&B Electronics Buffered Smart Switch, 232BSS4 Command Summary, Three Character Command Format

Page 12
Command Summary:

Command Summary:

Three Character Command Format:

Char1 Char2 Command Char Control Char Control Char is only needed for Tx Only, Clear Buffer, and Ignore Commands

Four Character Command Format:

Char1 Char2 Char3 Command Char Control Char

Control Char is only needed for Tx Only, Clear Buffer, and Ignore Commands

Table 2.1 - 232BSS4 Command Summary

Function

Command

Control

Comments

 

Char.

Char.

 

 

 

 

 

Select Port A Tx & Rx

“A”

None

Switching Command

Select Port B Tx & Rx

“B”

None

Switching Command

Select Port C Tx & Rx

“C”

None

Switching Command

Select Port D Tx & Rx

“D”

None

Switching Command

Deselect All Ports

EOT

None

Switching Command

Tx Only to Specific Ports

“S”

Dec 0 to 15

Use to Broadcast

Clear Buffer on Specific

“X”

Dec 0 to 15

Clear the Receive

Ports

 

 

Buffer

Ignore Commands

“T”

“0” to “9”

Sets Timer Value

Values in quotes “” are ASCII characters.

Dec. is an abbreviation for decimal value.

Command Explanation:

Where applicable, this section will provide an example of how to create the command strings in Visual Basic. Other programming languages may require a slightly different syntax, but the examples given should provide enough information to port to other languages. For our examples, we will use the default settings of the switch:

3 Character Command Sequence

Character 1 set to ASCII ESC character (Decimal 27)

Character 2 set to ASCII STX character (Decimal 2)

If you choose to use a four character command sequence, just add another character between the second programmable character and the command character in the command string.

8

Documentation Number 232BSS4-2907m

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104www.bb-elec.comB&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445www.bb-europe.com

Image 12
Contents Buffered Smart Switch Model 232BSS4This product designed and manufactured in Ottawa, Illinois USA of domestic and imported parts byPage Table of Contents CHAPTER 4 SETUP SOFTWAREAPPENDIX B CABLE CHARTS APPENDIX C BLOCK DIAGRAMDocumentation Number 232BSS4-2907m Chapter 1 - Introduction Documentation Number 232BSS4-2907mSpecifications Default ParametersChecklist 1. RS-232 Buffered Smart Switch model 232BSS4 2. Instruction ManualThe following equipment should be in the shipping carton 3. 2 3.5 floppy disksDocumentation Number 232BSS4-2907m Symbols and Conventions LED IndicatorsChapter 2 OPERATION Port Configurations Smart Switch Only Mode DescriptionOptions Command Summary Three Character Command FormatFour Character Command Format Command ExplanationCommands Select Port A to transmit and receive - “A” VB Example Table 2.2 Send Only and Clear Buffer Control Characters Table 2.3 - Timer Values commands and the Master can initiate the next communications sequence Auto Select/Smart Switch Mode Inactivity Time Using the 232BSS4 as a Buffered Splitter/Combiner Figure 2.1. Multiple Terminals to a Host ControllerBack to Back Operation mux/demux Figure 2.2. Back to Back OperationCascading Multiple Switches Figure 2.3. Expanding the Number of Slave PortsSlave Devices that Automatically Send their Data Slave Devices that Require Polling Chapter 3 PORT CONNECTIONS DTE/DCE Explanation25 Pin DTE 25 Pin DCEMaster Port Connections Slave Port ConnectionsChapter 4 SETUP SOFTWARE IntroductionConnection Software Installation Software UninstallSelect SETTINGS, CONTROL PANEL from the Windows START menu Double Click ADD/REMOVE PROGRAMSSetup Tutorial Single Unit Main Screen26Documentation Number 232BSS42907 Manual Back to Back Main Screen 28Documentation Number 232BSS42907 Manual Copying Parameters Between Switches Default ParametersDocumentation Number 232BSS42907 Manual Appendix A ASCII Character Codes DECIMAL to HEX to ASCII CONVERSION TABLEASCII Appendix A Appendix B Cable Charts Pins 6, 8, & 20 looped back internally on the 232BSS4Chart B.1. DTE PC DB25 Connector to Master Port Chart B.2. DTE PC DB9 Connector to Master PortAppendix B Cable Charts Pins 6, 8, & 20 looped back internally on the 232BSS4 Chart B.3. DCE Modem DB25 Connector to Master PortChart B.4. DCE Modem DB9 Connector to Master Port Pins 1, 4, & 6 looped back internally on the 232BSS4 Chart B.5. Ports A - D DTE to DTE PC DB25 ConnectorChart B.6. Ports A - D DTE to DTE PC DB9 Connector Chart B.7. Ports A - D DTE to DCE Modem DB25 ConnectorPins 1, 4, & 6 looped back internally on the 232BSS4 Chart B.8. Ports A - D DTE to DCE Modem DB9 ConnectorAppendix B Cable Charts Appendix C Block Diagram MASTERUART UART UARTAppendix C Appendix D Declaration of Conformity DECLARATION OF CONFORMITY