background image

 

Documentation Number 232MSS2-0108 Manual 

 

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

B&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445  

6

ASCII character STX (decimal 2). The third character should be the 
ASCII upper case letters "A", "B", "C" or "D" (decimal 65, 66, 67, or 
68 respectively) to select those ports. To turn off the selected port 
the third character should be the ASCII EOT character (decimal 4). 
For instance, to turn on port B you would send: 
 

ESC STX B 

 
 

If you were writing a program in BASIC to control the Mini Smart 

Switch you would form a string like this: 
 

SWB$ = CHR$(27) + CHR$(2) + "B" 

 

 

You could then send SWB$ to select port B. Similar strings 

could be used for turning on the other ports. To turn off the ports the 
string might look like this: 
 

TOFF$ = CHR$(27) + CHR$(2) + CHR$(4) 

 

 

When you are done with a port you can either select a new one 

directly or turn off the selected port and then turn on the next one. 
We recommend that you turn off the selected port before selecting 
the next one. The turn off command consists of three characters that 
are nonprinting (ESC STX EOT). If port A is selected and you send 
the command to select port B, all three characters (ESC STX B) will 
pass through the A port since it is still selected and the letter B will 
show up on your port A device. For information on preventing 
command codes from being received by slave devices, refer to the 
Enhance Mode section. 

 NOTE:

 There is no delay through the Mini Smart Switch   and 

the data is not buffered.  

Содержание 232MSS2

Страница 1: ...c and imported parts by International Headquarters B B Electronics Mfg Co Inc 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA Phone 815 433 5100 General Fax 815 433 5105 Home Page www bb elec com Sal...

Страница 2: ...to change without notice and does not represent a commitment on the part of B B Electronics B B Electronics shall not be liable for incidental or consequential damages resulting from the furnishing pe...

Страница 3: ...SOFTWARE 13 Introduction 13 Windows SSwitch 13 DOS SSTSR 14 Parameters 16 Default Values 17 Help Screen 17 Un Install 17 Selecting Ports 17 Hot Key Method 18 Command Line Method 19 APPENDIX A ASCII Ch...

Страница 4: ...Number 232MSS2 0108 Manual B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland P...

Страница 5: ...using the preamble code The master port can be configured as a DTE or DCE port by an internal switch setting If the master port is configured as a DTE port the four slave ports will become DCE ports...

Страница 6: ...Galway Ireland Ph 353 91 792444 Fax 353 91 792445 2 Checklist Examine the shipping carton and contents for physical damage If damage is found file a claim with the shipper immediately The following e...

Страница 7: ...second character of the preamble After the switches have been set to match your requirements you can put the unit back together NOTE The end panel should be open end towards the bottom of the PC boar...

Страница 8: ...ng to be connected to the 232MSS2 master port the master port should be configured as a DCE port If a modem DCE device is going to be connected to the master port it should be configured as a DTE port...

Страница 9: ...its Switch position 6 determines if parity is enabled or disabled NOTE A data format of 7 data bits no parity and one stop is not allowed Switch position 8 selects the port configuration see section t...

Страница 10: ...2 B You could then send SWB to select port B Similar strings could be used for turning on the other ports To turn off the ports the string might look like this TOFF CHR 27 CHR 2 CHR 4 When you are do...

Страница 11: ...d 7 1 4 16 64 85 Caution should be used when selecting the second character so that by itself or with the ESC character in front of it it is not a valid command to any of the devices on the port For i...

Страница 12: ...sasserts its handshake line Port C will disconnected and Port A will be connected to the master port When Port A disasserts its handshake Port A will be disconnected and Port D will be connected to th...

Страница 13: ...mode the 232MSS2 will monitor the data lines If there is no activity for the specified time the selected slave port will be disconnected from the master port When in inadvertent switch mode the 232MSS...

Страница 14: ...onnected to the master port will be disconnected In smart switch mode the inactivity timer can be used to prevent the preamble codes from being received by the slave devices In port combiner mode the...

Страница 15: ...switching commands for 5 seconds The select Port D command is sent to the 232MSS2 Once Port D is connected a file of unknown data type so file may or may not contain a switching command sequence is t...

Страница 16: ...32MSS2 0108 Manual B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 353 91...

Страница 17: ...H Sample Code The Smart Switch Terminate and Stay Resident SSTSR Program IBM PC or Compatible is a DOS only application which allows the user to change Smart Switch ports either through the command li...

Страница 18: ...les will be located on your hard drive 1 SSTSR EXE The executable file for the Smart Switch 2 SETUP EXE Configuration program for the SSTSR There are two methods to begin the SSTSR program The first a...

Страница 19: ...every time you wish to begin the SSTSR all that you need to do is type GO and press the ENTER key If you need to change any of the settings of the SSTSR simply run the SETUP EXE program again to crea...

Страница 20: ...Port Address is the address where the serial communications port is located Some of the typical port addresses are as follows The Baud Rate is the speed at which communication takes place between the...

Страница 21: ...sing the SSTSR COM method you can type SSTSR and press the ENTER key to obtain a list of the commands and their options Un Install The SSTSR may be un installed easily by typing SSTSR and pressing the...

Страница 22: ...his method enables the user to select any Smart Switch port by pressing a predefined sequence of keys at the same time after the SSTSR is installed refer to Program Installation Example If Hot Key seq...

Страница 23: ...he port Example To change to Smart Switch port C you would type SSTSR XC at the Dos prompt and press the ENTER key Before a Smart Switch port is changed a check is made to determine if the port is bus...

Страница 24: ...32MSS2 0108 Manual B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 353 91...

Страница 25: ...ix A A 1 B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax...

Страница 26: ...9 9 HT ctrl I 41 29 73 49 I 105 69 i 10 A LF ctrl J 42 2A 74 4A J 106 6A j 11 B VT ctrl K 43 2B 75 4B K 107 6B k 12 C FF ctrl L 44 2C 76 4C L 108 6C l 13 D CR ctrl M 45 2D 77 4D M 109 6D m 14 E SO ctr...

Страница 27: ...pendix B B 1 B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444...

Страница 28: ...Configuration section of the manual for information on Master Port configurations Chart 1 IBM PC DB25 Connector to Master Port Pins are tied together inside the 232MSS2 they are not connected to port...

Страница 29: ...Direction 232MSS2 Master Port DTE DB25 Connector 2 2 3 3 4 6 5 20 7 7 8 5 20 4 Pins are tied together inside the 232MSS2 they are not connected to ports A B C or D NOTE When connecting a DTE device t...

Страница 30: ...ort configured as a DTE port IBM PC Serial Port DB25 Connector Signal Direction 232MSS2 Ports A D DCE DB9 Connector 2 3 3 2 4 7 5 8 6 6 7 5 8 4 20 4 Pins are tied together inside the 232MSS2 they are...

Страница 31: ...DTE port IBM PC Serial Port DB9 Connector Signal Direction 232MSS2 Ports A D DCE DB9 Connector 1 4 2 2 3 3 4 4 5 5 6 6 7 7 8 8 Pins are tied together inside the 232MSS2 they are not connected to the...

Страница 32: ...ercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 Chart 9 IBM PC DB9 Connector to Ports A D DCE Master port configured as a DTE port with a modem connected see Chart 3 IBM PC Seri...

Страница 33: ...PENDIX C Declaration of Conformity DECLARATION OF CONFORMITY Manufacturer s Name B B Electronics Manufacturing Company Manufacturer s Address P O Box 1040 707 Dayton Road Ottawa IL 61350 USA Model Num...

Страница 34: ...mber 232MSS2 0108 Manual B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 3...

Отзывы: