B&B Electronics 232MSS2 manual Serial Data Configuration, Smart Switch Operation

Page 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 through to the master port. All other lines are not connected.

The Mini 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 Mini Smart Switch must be set to match the host's communication format. Dipswitch “SW1” is used to select the communication format of the Mini Smart Switch. Switch positions 1 through 3 select the baud rate. Switch position 5 selects 7 or 8 data bits. 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 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 232MSS2 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 232MSS2 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

Documentation Number 232MSS2-0108 Manual

5

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

Image 9
Contents Mini Smart Switch CE Page Table of Contents Table of Contents Documentation Number 232MSS2-0108 Manual Introduction Checklist Communication & Port Setup Dipswitch SW1 3 4 5 6 7 Setting SetupPort Configuration DCE Master Port Chart C & D PortsPin# Direction Description Serial Data Configuration Smart Switch OperationDTE Master Port Chart C & D Ports ESC STX B Dipswitch SW2* Weight Programmable Character SettingProgramming the Second Character Binary File TransferSmart Switch/Port Combiner Mode Enhanced Mode -- Timer Features Timer Values Model 232MSS2 SpecificationsDocumentation Number 232MSS2-0108 Manual Installation Windows SSwitchRunning SSwitch Software IntroductionDOS Sstsr SETUP.EXE Method preferredSSTSR.EXE Method Command Description OptionsParameters Type Sstsr A03F8 B7 D8 P1 U8 H6 and press the Enter keyPort Address Default Values Help Screen Un-InstallSelecting Ports Hot Key Method Command Line Method Documentation Number 232MSS2-0108 Manual Appendix a Decimal to HEX to Ascii Conversion Table Appendix B Chart 2. IBM PC DB9 Connector to Master Port Chart 1. IBM PC DB25 Connector to Master PortChart 4. IBM PC DB25 Connector to Ports a D DTE Chart 3. Modem DB25 Connector to Master Port Async ModemChart 5. IBM PC DB25 Connector to Ports a D DCE Chart 6. IBM PC DB9 Connector to Ports a D DTEDB9 Connector Direction 232MSS2 Ports a D DTE DB9 Connector Direction 232MSS2 Ports a D DCE Chart 7. IBM PC DB9 Connector to Ports a D DCEChart 8. IBM PC DB25 Connector to Ports a D DCE DB25 Connector Direction DB9 ConnectorDB9 Connector Direction Chart 9. IBM PC DB9 Connector to Ports a D DCEDeclaration of Conformity Appendix C Declaration of ConformityAppendix C Documentation Number 232MSS2-0108 Manual