Streszczenie treści zawartej na stronie nr. 1
Mini Smart Switch CE
Model 232MSS2
Documentation Number 232MSS2-0108
pn3662-rev006
This product 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 (815) 433-5105
Home Page: www.bb-elec.com
Sales e-mail: orders@bb-elec.com -- Fax (815) 433-5109
Technical Support e-mail: support@bb.elec.com -- Fax (815) 433-
Streszczenie treści zawartej na stronie nr. 2
© B&B Electronics RESERVED. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photography, recording, or any information storage and retrieval system without written consent. Information in this manual is subject 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
Streszczenie treści zawartej na stronie nr. 3
TABLE OF CONTENTS Chapter 1: INTRODUCTION ................................................ 1 Checklist ................................................................................ 2 Chapter 2: SETUP ................................................................ 3 Port Configuration ................................................................. 4 Serial Data Configuration ...................................................... 5 Smart Switch Operation .........................
Streszczenie treści zawartej na stronie nr. 4
ii Table of Contents 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
Streszczenie treści zawartej na stronie nr. 5
Chapter 1: INTRODUCTION The RS-232 Four Port Mini Smart Switch/Port Combiner, Model 232MSS2, allows one RS-232 host device to connect to as many as four RS-232 devices. The switch can be controlled in two different ways. The first way is referred to as smart switch mode. In this mode, the switch is controlled by sending a programmable preamble code to the "Master" port of the 232MSS2. The other way the switch can be controlled is referred to as port combiner mode. In port combiner m
Streszczenie treści zawartej na stronie nr. 6
Checklist 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 Mini Smart Switch 2. Instruction manual 3. Software media If any of the items above are not in the shipping carton contact the shipper immediately. Documentation Number 232MSS2-0108 Manual 2 B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph
Streszczenie treści zawartej na stronie nr. 7
Chapter 2: SETUP The 232MSS2 is set up using an eight-position dipswitch. This dipswitch is used to set the communication format, port config- uration, smart switch/port combiner mode and to enable/disable the enhanced features. To change the settings on the switch, remove the power from the unit, and remove the screws (4) from the bottom of the 232MSS2. The dipswitch is located on the top of the PC board (side with LEDs) and is labeled “SW1.” The other dipswitch, labeled “SW2” is u
Streszczenie treści zawartej na stronie nr. 8
Port Configuration In order to determine the proper port configuration of the 232MSS2, it is necessary to have a basic understanding of the terms DCE and DTE. RS-232 was designed, using DB-25 connectors, for connecting a DTE (Data Terminal Equipment) device to a DCE (Data Communication Equipment) device. Each device will have inputs on pins that correspond to outputs on the same pins of the other device. For example, a DTE device will transmit data out on pin 2 (on a DB-25) and a DCE de
Streszczenie treści zawartej na stronie nr. 9
Table 3. DTE MASTER PORT CHART Master Port A,B,C & D Ports (DTE) Signal (DCE) Pin# Direction Description Pin# Direction 2 Output Transmit Data (TD) 3 Input 3 Input Receive Data (RD) 2 Output 4 Output Request to Send (RTS) 7 Input 5 Input Clear to Send (CTS) 8 Output 7 <-------> Signal Ground (SG) 5 <-----> The 232MSS2 supports the following RS-232 signals: TD, RD, SG, RTS & CTS. NOTE: Handshake lines DSR and DTR are tied together on each connector and are not passed throu
Streszczenie treści zawartej na stronie nr. 10
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
Streszczenie treści zawartej na stronie nr. 11
Programming the Second Character The second character comes programmed as the ASCII STX character (decimal 2). You can change this to any 8-bit character you wish by reprogramming dipswitch “SW2”. “SW2” is an eight- position switch with each position equal to a certain weight. Refer to “Setup” for instructions on removing the cover to access “SW2”. Table 4 shows the weight chart for “SW2”. Table 4. Programmable Character Setting Dipswitch SW2* WEIGHT 1 1 2 2 3 4 4 8 5 16 6 3
Streszczenie treści zawartej na stronie nr. 12
Smart Switch/Port Combiner Mode This mode allow Ports A-D to select the master port using a handshake line. It also allows selection from the master port via the preamble code described in the Smart Switch Only Mode section. Position 7 of “SW1” must be ON to be in port combiner mode. When a handshake line goes high on any of the four ports, it will establish a connection from that port to the master port. This works on first- come-first-serve basis. If multiple ports have their handshake
Streszczenie treści zawartej na stronie nr. 13
A typical application would be to have RTS and CTS tied together on the master port. When RTS (assuming DTE slave port) on port A is asserted, CTS on port A will be asserted when a connection is established. If a port is not connected to the master port, then CTS on that port will remain low. Therefore, a port can monitor the handshake line to determine if a connection has been established. Enhanced Mode -- Timer Features The 232MSS2 has an enhanced mode, which offers special t
Streszczenie treści zawartej na stronie nr. 14
Table 3 - Timer Values 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. 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 232MSS2 will set up the timer as an inactivity timer (assuming programmable character is the factory default of 2). SetTM$ =
Streszczenie treści zawartej na stronie nr. 15
The “M” tells the 232MSS2 it is the set timer mode command and the “1” indicates to set up up the timer to ignore switching commands. When the timer is configured in this mode, the 232MSS2 will not accept any switching commands (“A”, ”B”, ”C”, ”D”, or “EOT”) for the specified timer value. After the timer has expired, the slave port that is connected to the master port will be disconnected. This feature is useful to prevent inadvertent switching during binary/graphic type file transfer
Streszczenie treści zawartej na stronie nr. 16
12 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
Streszczenie treści zawartej na stronie nr. 17
Chapter 3: SOFTWARE Introduction The 232MSS2 comes with two application programs that can be used to switch between ports. Either can be used independently as the final application or for testing the functionality of the hardware. The SSwitch program is a Windows program that allows you to switch ports with buttons on a Windows interface, or from the DOS command line. It will run on Windows 98, Windows NT 4.0 with service pack 3 installed or Vista. When the software is installed, an
Streszczenie treści zawartej na stronie nr. 18
To Uninstall SSwitch.exe • From START/ SETTINGS/ CONTROL PANEL • Select Add/ Remove Programs • Select SSwitch from the list of programs • Click on the Add/Remove button DOS SSTSR Installation To Install the SSTSR Program (DOS) • Insert the Smart Switch software media. • At the DOS prompt • Type a:\INSTALL.exe and press the ENTER key. The following files will be located on your hard drive: 1) SSTSR.EXE - The executable file for the Smart Switch. 2) SETUP.EXE - Configu
Streszczenie treści zawartej na stronie nr. 19
Enter Port Address [02F8]: Enter Baud Rate ( 1 = 150 2 = 300 3 = 600 4 = 1200 5 = 2400 6 = 4800 7 = 9600 8 = 19200) [7]: Enter Parity (0 = No 1 = Odd 2 = Even) [0]: Enter Number of Data Bits ( 7 = Seven Data Bits 8 = Eight Data Bits) [8]: Enter Smart Switch Second Char (Decimal Value) [2]: Enter Hot Key Sequence (1 = 2 = 3 = <1|2|3|4|N> 4 = <1|2|3|4|N>
Streszczenie treści zawartej na stronie nr. 20
If the software was installed in the default directory: • At the DOS prompt Type C: and press the ENTER key. • Type CD\232MSS2 and press the ENTER key. To begin the SSTSR program (the following will be used as an example): Port Address = 03F8 Parity = Odd Baud = 9600 User Defined Char. = 8 Data Bits = 8 Hot Key Sequence = 4 • Type SSTSR A03F8 B7 D8 P1 U8 H6 and press the ENTER key. Using this method, every time you want to install the SSTSR with different parameter se