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

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

10

Table 3 - Timer Values

The Set Timer Mode command requires the third byte to be an

ASCII “M”.  If the data byte (fourth byte) is an ASCII “0”, zero
(default),  the timer will be setup as an inactivity timer. For example:
Sending the following string to the 232SS2 will set up the timer as an
inactivity timer (assuming programmable character is the factory
default of 2).

SetTM$ = CHR$(27) + CHR$(2) +”M” + “0”

The “M” tells the 232SS2 it is the set timer mode command and the
“0” indicates to set up the timer as a inactivity timer.  When the timer
is configured as an inactivity timer, the 232SS2 will monitor the data
lines (TD & RD) for data. If there is no activity for the specified timer
value, the slave port that is connected 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 inactivity timer can be used to
prevent devices from tying up the master port. For example (port
combiner mode), all the slave ports have their handshake lines
asserted. The device on Port C has its handshake line asserted and
is currently connected to the master port, but has not been
transmitting or receiving data. When the inactivity timer expires, Port
C will be disconnected and the next slave port will then be
connected to the master port (following the first-come-first-serve
rule). Port C will then be placed at the “end of the line”.

If the data byte of the Set Timer Mode command is an ASCII “1”,

the timer will be setup to ignore switching commands. Sending the
following string to the 232SS2 will set up the timer to ignore
switching commands. (Assuming programmable character is the
factory default of 2).

SetTM$ = CHR$(27) + CHR$(2) +”M” + “1”

Data Byte

Value

0

timer disabled

1

10ms

2

25ms

3

100ms

4

500ms

5

1  s

6

5  s

7

30 s

8

1  min.

9

5  min.

Содержание 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...

Отзывы: