B&B Electronics 232BSS4, Buffered Smart Switch Slave Devices that Automatically Send their Data

Page 23
Slave Devices that Automatically Send their Data:

Figure 2.3 shows a typical setup, with 16 devices sending information at random times to the PC. The switches at Level 2 receive the data and send it on to the Level 1 switch. The Level 1 switch buffers the data and sends it to the PC. Each of the switches will automatically send the data when it is available. If another port has access to the PC, the data will be buffered until a path is available.

Slave Devices that Automatically Send their Data:

For best results in an automatic system, the 232BSS4s in the system should be set up the following way.

Set the switches to turn on the Auto Select feature.

Set the Port Timer to 0

Set the Inactivity Timer on all of the switches to somewhere between 20 and 500 milliseconds, depending on the space between data packets and the response time required to each connected device.

If you need your software to identify which port sent the data, set up the port preamble on the Level 2 switches. Set each port to have a unique preamble. The preamble can be 1, 2, 3, or 4 characters long, and any characters can be used. The preamble will be added to the beginning of each new data packet arriving at the PC. The data collection software on the PC should be written to recognize this preamble as an address or identifier of the data source.

Documentation Number 232BSS4-2907m

19

&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 23
Contents of domestic and imported parts by Buffered Smart SwitchModel 232BSS4 This product designed and manufactured in Ottawa, Illinois USAPage APPENDIX C BLOCK DIAGRAM Table of ContentsCHAPTER 4 SETUP SOFTWARE APPENDIX B CABLE CHARTSDocumentation Number 232BSS4-2907m Documentation Number 232BSS4-2907m Chapter 1 - IntroductionDefault Parameters Specifications3. 2 3.5 floppy disks Checklist1. RS-232 Buffered Smart Switch model 232BSS4 2. Instruction Manual The following equipment should be in the shipping cartonDocumentation Number 232BSS4-2907m Chapter 2 OPERATION Symbols and ConventionsLED Indicators Port Configurations Options Smart Switch Only ModeDescription Command Explanation Command SummaryThree Character Command Format Four Character Command FormatCommands 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 25 Pin DCE Chapter 3 PORT CONNECTIONSDTE/DCE Explanation 25 Pin DTESlave Port Connections Master Port ConnectionsConnection Chapter 4 SETUP SOFTWAREIntroduction Double Click ADD/REMOVE PROGRAMS Software InstallationSoftware Uninstall Select SETTINGS, CONTROL PANEL from the Windows START menuSingle 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 Chart B.2. DTE PC DB9 Connector to Master Port Appendix B Cable ChartsPins 6, 8, & 20 looped back internally on the 232BSS4 Chart B.1. DTE PC DB25 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.7. Ports A - D DTE to DCE Modem DB25 Connector Pins 1, 4, & 6 looped back internally on the 232BSS4Chart B.5. Ports A - D DTE to DTE PC DB25 Connector Chart B.6. Ports A - D DTE to DTE PC DB9 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 UART UART Appendix C Block DiagramMASTER UARTDocumentation Number 232BSS42907 Manual DECLARATION OF CONFORMITY Appendix D Declaration of Conformity