B&B Electronics 232SS2 Manual

Smart switch

Advertisement

Quick Links

Smart Switch
Model 232SS2
Document No. 232SS21600
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
orders@bb.elec.com
Sales e-mail:
-- Fax (815) 433-5109
support@bb.elec.com
Technical Support e-mail:
-- Fax (815) 433-5104
 1992 B&B Electronics -- Revised April 2000
232SS21600 Manual
Cover Page
B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

Advertisement

Table of Contents
loading

Summary of Contents for B&B Electronics 232SS2

  • Page 1 Smart Switch Model 232SS2 Document No. 232SS21600 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...
  • Page 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.
  • Page 3: Table Of Contents

    TABLE OF CONTENTS Chapter 1: INTRODUCTION..........1 Checklist.................2 Chapter 2: SETUP ...............3 Port Configuration ..............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 Introduction ................12 Windows SSwitch..............12 DOS SSTSR ................13 Parameters................15...
  • Page 4: Chapter 1: Introduction

    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 232SS2. The other way the switch can be controlled is referred to as port combiner mode. In port combiner mode, a slave port can gain access to the master port by asserting a handshake line.
  • Page 5: Checklist

    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 Smart Switch 2. Instruction Manual 3. (2) 3.5" floppy disks If any of the items above are not in the shipping carton contact the shipper immediately.
  • Page 6: Chapter 2: Setup

    To change the settings on the switch, remove the power from the unit, and remove the screws (2) from the bottom of the 232SS2. The dipswitch is located on the top of the PC board (side with LEDs) and is labeled “SW1.” The other dipswitch, labeled “SW2”...
  • Page 7: Port Configuration

    Port Configuration In order to determine the proper port configuration of the 232SS2, 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.
  • Page 8: Serial Data Configuration

    Output Output DTE Ready (DTR) Input The 232SS2 supports the following RS-232 signals: TD, RD, SG, RTS, CTS, DSR, DCD, and DTR. The Smart Switch selects port A as the default port at power up. Serial Data Configuration In order for the host device that is connected to the master port to select any of the four ports, the Smart Switch must be set to match the host's communication format.
  • Page 9: Smart Switch Operation

    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.
  • Page 10: Programming The Second Character

    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”...
  • Page 11: Smart Switch/Port Combiner Mode

    B-D may raise RTS at any time to request a connection. However, if port A is connected to the master port, any data sent from the devices on ports B-D to the 232SS2 will be lost. The 232SS2 does not have any buffering.
  • Page 12 5 seconds (assuming programmable character is the factory default of 2). SetTV$ = CHR$(27) + CHR$(2) +”T” + “6” The “T” tells the 232SS2 it is the set timer value command and the “6” indicates which timer value to use. 232SS21600Manual...
  • Page 13 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).
  • Page 14: Specifications

    The “M” tells the 232SS2 it is the set timer mode command and the “1” indicates to set up the timer to ignore switching commands. When the timer is configured in this mode, the 232SS2 will not accept any switching commands (“A”, ”B”, ”C”, ”D”, or “EOT”) for the specified timer value.
  • Page 15: Chapter 3: Software

    Chapter 3: SOFTWARE Introduction The 232M`SS2 comes with two application programs that can be used to switch between ports. Each comes on a separate floppy disk. 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.
  • Page 16: Dos Sstsr

    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) If A drive is your floppy drive: •...
  • Page 17 Enter Port Address [02F8]: Enter Baud Rate ( 1 = 150 2 = 300 3 = 600 4 = 1200 5 = 24006 = 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]:...
  • Page 18: Parameters

    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...
  • Page 19: Default Values

    The Hot Key is a sequence of three keys that must be pressed simultaneously to switch from one Smart Switch Port to another. For example, the hot key sequence, <Left Shift> <ALT> <A|B|C|D|N> states that the left shift, Alt, and either A, B, C, D, or N must be pressed at the same time to select the corresponding Smart Switch Port.
  • Page 20: Hot Key Method

    Hot Key Method This 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 sequence <Lft Shift><Alt><A|B|C|D|N> was selected, to change ports you would press at the same time: Left Shift - Alt - A ..
  • Page 21: Appendix A: Ascii Character Codes

    APPENDIX A: ASCII Character Codes DECIMAL to HEX to ASCII CONVERSION TABLE DEC HEX ASCII KEY DEC HEX ASCII DEC HEX ASCII DEC HEX ASCII ctrl @ ctrl A ctrl B “ ctrl C ctrl D ctrl E ctrl F &...
  • Page 22: Appendix B: Cable Charts

    APPENDIX B: Cable Charts All charts will indicate if the Master Port of the 232SS2 should be configured as a DCE port or a DTE port. Refer to the Port Configuration section of the manual for information on Master Port configurations.
  • Page 23 Chart 3. Modem DB25 Connector to Master Port Straight Through Connection Async Modem 232SS2 Serial Port Signal Master Port (DTE) DB25 Connector Direction DB25 Connector <----------- -----------> <----------- -----------> GROUND -----------> <----------- Chart 4. IBM PC DB25 Connector to Ports A - D (DTE) Master port DCE, Slave port DTE.
  • Page 24 Chart 5. IBM PC DB25 Connector to Ports A - D (DCE) Master port DTE, Slave ports DCE. Straight Through Connection IBM PC 232SS2 Serial Port Signal Ports A - D (DCE) DB25 Connector Direction DB25 Connector -----------> <----------- ----------->...
  • Page 25 Chart 7. IBM PC DB9 Connector to Ports A - D (DCE) Master port DTE, Slave port DCE. Straight Through Connection IBM PC 232SS2 Serial Port Signal Ports A – D (DCE) DB9 Connector Direction DB25 Connector <----------- <----------- ----------->...
  • Page 26 FEDERAL COMMUNICATIONS COMMISSION RADIO FREQUENCY INTERFACE STATEMENT Class A Equipment This equipment has been tested and found to comply with the limits for Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.

Table of Contents