B&B Electronics Buffered Smart Switch, 232BSS4 manual 3 - Timer Values

Page 16
Table 2.3 - Timer Values

For instance, to ignore switching commands for 30 Seconds, send: {Char1}{Char2}{Char3}”T””7”

VB Example:

Ignore30s$ = CHR$(27) & CHR$(2) & “T” & “7”

Table 2.3 - Timer Values

Control Byte

Control Byte

Timer Setting

(ASCII)

(Decimal)

 

 

 

 

“0”

48

Timer disabled

“1”

49

10ms

“2”

50

25ms

“3”

51

100ms

“4”

52

500ms

“5”

53

1 s

“6”

54

5 s

“7”

55

30 s

“8”

56

1 min.

“9”

57

5 min.

Binary file transfer:

Two methods are provided in the 232BSS4 to prevent inadvertent switching during a transfer of raw data bytes from the Master device to one or more Slaves. Because the user doesn’t know if a command sequence is imbedded in the raw data, the switch must be set to ignore commands.

Note that these procedures are not needed if the binary file will be transferred from the Slave devices to the Master device. No switching commands are used in the 232BSS4 with data from this direction, so no inadvertent switching can occur.

Method1 – Ignore Commands For a Specific Length of Time

The first method is to ignore commands for a specific length of time. This method is useful if the user knows how long the transfer will take. The Master would first send the command to connect it to the Slave port(s) that are to receive the data. Then the Master device would send the “T” command along with the byte telling the 232BSS4 how long to ignore commands. Once this is sent, data can be transferred to the Slave(s) without the 232BSS4 looking for command sequences. Once the timeout has been reached, the switch will continue looking for

12

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 16
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 LED Indicators Symbols and ConventionsChapter 2 OPERATION Port Configurations Description Smart Switch Only ModeOptions 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 ConnectionsIntroduction Chapter 4 SETUP SOFTWAREConnection 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 DECIMAL to HEX to ASCII CONVERSION TABLE Appendix A ASCII Character CodesASCII 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 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 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