B&B Electronics 232BSS4 manual Commands Select Port A to transmit and receive - “A”

Page 13
Commands:

Commands:

Select Port A to transmit and receive – “A”

Select Port B to transmit and receive – “B”

Select Port C to transmit and receive – “C”

Select Port D to transmit and receive – “D”

The Select Port commands turn on the selected port for both transmit and receive operations. Once the command is received by the switch, any data that had been buffered from the selected Slave device will be sent to the Master. Any data received on the Master port that is not a valid command sequence will be passed to the selected Slave port until another command is received.

For instance, to send and receive data from port B, send: {Char1}{Char2}{Char3}”B”

VB Example:

SwitchB$ = CHR$(27) & CHR$(2) & “B”

Turn Off all selected ports – ASCII EOT character (decimal 4)

The Turn Off command deselects all ports. No ports will transmit or receive to/from the Master port until another command is received by the Master port.

The full command sequence to disable all ports is: {Char1}{Char2}{Char3}EOT

VB Example:

OFF$ = CHR$(27) & CHR$(2) & CHR$(4)

Send Only to specific ports – “S” + one control byte specifying which ports to send.

The Send Only command will tell the 232BSS4 which Slave ports to send the following data to. This command can be used to broadcast data to more than one port at a time. The Slave port that is sending to the Master is not affected.

The lowest four bits of the control byte tell the 232BSS4 which ports should receive the following data. Bit 0 represents port A, Bit 1 represents port B, Bit 2 represents port C, and Bit 3 represents port D. In decimal, this is represents a value of 1, 2, 4, and 8 respectively. To turn on more than one port, the decimal equivalents of each port are added together to give the final byte.

Documentation Number 232BSS4-2907m

9

&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104www.bb-elec.com

B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445www.bb-europe.com

Image 13
Contents Model 232BSS4 Buffered Smart SwitchThis product designed and manufactured in Ottawa, Illinois USA of domestic and imported parts byPage CHAPTER 4 SETUP SOFTWARE Table of ContentsAPPENDIX B CABLE CHARTS APPENDIX C BLOCK DIAGRAMDocumentation Number 232BSS4-2907m Documentation Number 232BSS4-2907m Chapter 1 - IntroductionDefault Parameters Specifications1. RS-232 Buffered Smart Switch model 232BSS4 2. Instruction Manual ChecklistThe following equipment should be in the shipping carton 3. 2 3.5 floppy disksDocumentation Number 232BSS4-2907m LED Indicators Symbols and ConventionsChapter 2 OPERATION Port Configurations Description Smart Switch Only ModeOptions Three Character Command Format Command SummaryFour 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 Figure 2.1. Multiple Terminals to a Host Controller Using the 232BSS4 as a Buffered Splitter/CombinerFigure 2.2. Back to Back Operation Back to Back Operation mux/demuxFigure 2.3. Expanding the Number of Slave Ports Cascading Multiple SwitchesSlave Devices that Automatically Send their Data Slave Devices that Require Polling DTE/DCE Explanation Chapter 3 PORT CONNECTIONS25 Pin DTE 25 Pin DCESlave Port Connections Master Port ConnectionsIntroduction Chapter 4 SETUP SOFTWAREConnection Software Uninstall Software InstallationSelect SETTINGS, CONTROL PANEL from the Windows START menu Double Click ADD/REMOVE PROGRAMSSingle Unit Main Screen Setup Tutorial26Documentation Number 232BSS42907 Manual Back to Back Main Screen 28Documentation Number 232BSS42907 Manual Default Parameters Copying Parameters Between SwitchesDocumentation Number 232BSS42907 Manual DECIMAL to HEX to ASCII CONVERSION TABLE Appendix A ASCII Character CodesASCII Appendix A Pins 6, 8, & 20 looped back internally on the 232BSS4 Appendix B Cable ChartsChart B.1. DTE PC DB25 Connector to Master Port Chart B.2. DTE PC DB9 Connector to Master PortAppendix B Cable Charts Chart B.3. DCE Modem DB25 Connector to Master Port Pins 6, 8, & 20 looped back internally on the 232BSS4Chart B.4. DCE Modem DB9 Connector to Master Port Chart B.5. Ports A - D DTE to DTE PC DB25 Connector Pins 1, 4, & 6 looped back internally on the 232BSS4Chart B.6. Ports A - D DTE to DTE PC DB9 Connector Chart B.7. Ports A - D DTE to DCE Modem DB25 ConnectorChart B.8. Ports A - D DTE to DCE Modem DB9 Connector Pins 1, 4, & 6 looped back internally on the 232BSS4Documentation Number 232BSS42907 Manual MASTER Appendix C Block DiagramUART UART UARTDocumentation Number 232BSS42907 Manual DECLARATION OF CONFORMITY Appendix D Declaration of Conformity