B&B Electronics 232BSS4 commands and the Master can initiate the next communications sequence

Page 17
commands and the Master can initiate the next communications sequence.

commands and the Master can initiate the next communications sequence.

Example:

For a binary transfer from the Master to the device on Port A that will take less than one second to complete

Send Select Port A Command: {Char1}{Char2}{Char3}”A”

Send Ignore Commands Command: {Char1}{Char2}{Char3}”T””5”

Send the Binary File

Wait for the timeout period

Repeat for the next file/port

Method2 – Ignore Commands Using DTR

The second method of ignoring command sequences is to set the 232BSS4 to ignore commands if DTR is low from the Master device. This option is enabled through the setup software. This method is useful if the length of the binary file transfers are not known. The user would first raise DTR on the Master device, then send the command to connect it to the Slave port(s) that are to receive the data. Once the command is sent, the Master device would then lower DTR and transmit the data. The 232BSS4 would ignore command sequences and pass them through to any connected ports until DTR was raised.

Example:

For a binary transfer from the Master to the device on Port A

Raise DTR on the Master Device

Send Select Port A Command: {Char1}{Char2}{Char3}”A”

Lower DTR on the Master Device

Send the Binary File

Repeat for the next file/port

Documentation Number 232BSS4-2907m

13

&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 17
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 Chapter 2 OPERATION Symbols and ConventionsLED Indicators Port Configurations Options Smart Switch Only ModeDescription 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 ConnectionsConnection Chapter 4 SETUP SOFTWAREIntroduction 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 ASCII Appendix A ASCII Character CodesDECIMAL to HEX to ASCII CONVERSION TABLE 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.4. DCE Modem DB9 Connector to Master Port Pins 6, 8, & 20 looped back internally on the 232BSS4Chart B.3. DCE Modem DB25 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