B&B Electronics 232SS2 Скачать руководство пользователя страница 9

232SS21600 Manual

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

6

Switch position 8 selects the port configuration, see section titled

"Port Configuration". Refer to Table 1. Always power down the smart
switch when changing switch settings.

Smart Switch Operation

Smart Switch mode is selected when dipswitch “SW1” position 7

is “Off.”  In Smart Switch mode, the 232SS2 is constantly looking for
the three character preamble code by monitoring the data that is
being received on the master port from the host device. The 232SS2
requires a three character preamble code to turn on and off a port.
The first character must be the ASCII escape character (decimal
27). The second character is user programmable by setting
dipswitch “SW2”. “SW2” comes from the factory programmed to the
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 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 non-printing (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 Smart Switch and the

data is not buffered.

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

Страница 1: ...duct Designed and Manufactured of domestic 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 8...

Страница 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: ...ation 4 Serial Data Configuration 5 Smart Switch Operation 6 Programming the Second Character 7 Binary File Transfer 7 Smart Switch Port Combiner Mode 8 Specifications 11 Chapter 3 SOFTWARE 12 Introdu...

Страница 4: ...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 The 232SS2 supports the following signals TD RD RTS CTS DSR DCD and DTR...

Страница 5: ...Examine the shipping carton and contents for physical damage If damage is found file a claim with the shipper immediately The following equipment should be in the shipping carton 1 RS 232 Smart Switch...

Страница 6: ...character of the preamble After the switches have been set to match your requirements you can put the unit back together Table 1 shows the settings for dipswitch SW1 FACTORY DEFAULT Table 1 Communicat...

Страница 7: ...rs are DTE devices modems are DCE devices If an IBM PC DTE device is going to be connected to the 232SS2 master port the master port should be configured as a DCE port If a modem DCE device is going t...

Страница 8: ...is enabled or disabled NOTE A data format of 7 data bits no parity and one stop is not allowed Table 2 DCE MASTER PORT CHART Master Port DCE Signal A B C D Ports DTE Pin Direction Description Pin Dir...

Страница 9: ...lect 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...

Страница 10: ...d 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 instance on some printers ESC is the reset command If you tried t...

Страница 11: ...rt A disasserts its handshake Port A will be disconnected and Port D will be connected to the master port The handshake line that is used to connect to the master port depends on the configuration of...

Страница 12: ...is no activity for the specified time the selected slave port will be disconnected from the master port When in inadvertent switch mode the 232SS2 will ignore switching commands for the specified per...

Страница 13: ...itch mode the inactivity timer can be used to prevent the preamble codes from being received by the slave devices In port combiner mode the inactivity timer can be used to prevent devices from tying u...

Страница 14: ...sent to the 232SS2 Once Port D is connected a file of unknown data type so file may or may not contain a switching command sequence is to be transferred through the 232SS2 For a period of 5 seconds af...

Страница 15: ...nt SSTSR Program IBM PC or Compatible is a DOS only application which allows the user to change Smart Switch ports either through the command line or by hitting a sequence of keys at the same time ref...

Страница 16: ...TSR 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 and preferred way is to use the SETUP EXE pr...

Страница 17: ...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 create a new GO BAT file 2 SSTSR EXE Method The SSTSR EXE method req...

Страница 18: ...is located Some of the typical port addresses are as follows The Baud Rate is the speed at which communication takes place between the SSTSR and the Smart Switch It must be specified so that it is eq...

Страница 19: ...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 ENTER key In some cases the SSTSR will not un install This may...

Страница 20: ...f the 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...

Страница 21: ...rl 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 ctrl N 46 2E 78 4E N 110 6E n 15 F SI ctrl O 47 2F...

Страница 22: ...Configuration section of the manual for information on Master Port configurations Chart 1 IBM PC DB25 Connector to Master Port Straight Through Connection Chart 2 IBM PC DB9 Connector to Master Port S...

Страница 23: ...ight Through Connection Async Modem Serial Port DB25 Connector Signal Direction 232SS2 Master Port DTE DB25 Connector 2 2 3 3 4 4 5 5 7 GROUND 7 8 8 20 20 Chart 4 IBM PC DB25 Connector to Ports A D DT...

Страница 24: ...Slave ports DCE Straight Through Connection IBM PC Serial Port DB25 Connector Signal Direction 232SS2 Ports A D DCE DB25 Connector 2 2 3 3 4 4 5 5 6 6 7 GROUND 7 8 8 20 20 Chart 6 IBM PC DB9 Connecto...

Страница 25: ...40 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 Chart 7 IBM PC DB9 Connector to Ports A D DCE Master port DTE Slave port DCE Straight Through Connection IBM PC Serial Port DB9 Connector Signal Dir...

Страница 26: ...vide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not insta...

Отзывы: