B&B Electronics 232MSS2 manual Smart Switch/Port Combiner Mode

Page 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 lines high, the port that has been waiting the longest will be next to be connected to the master port. For example: (Initial conditions -- no slave ports with handshake lines asserted.) In chronological order, Port C asserts its handshake line, Port A asserts its handshake line, Port D asserts its handshake line and then Port C disasserts its handshake line. When Port C asserts its handshake line, a connection will be made between the master port and Port C. When Port C disasserts its handshake line, Port C will disconnected and Port A will be connected to the master port. When Port 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 the master port (which in turn determines the configuration of the slave ports). If the master port is configured as a DTE port, then the slave ports are configured as DCE and RTS must be raised to connect to the master port. If the master port is configured as a DCE port, then the slave ports are configured as DTE and CTS must be raised to connect to the master port.

For example, port A is configured as a DTE port. In order to establish a connection to the master port, port A must set CTS high (assert). The 232MSS2 would recognize this as a prompt for connection to the master port. The connection would be dropped as soon as CTS on port A is brought low. Ports B-D may raise CTS 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 232MSS2 will be lost. The 232MSS2 does not have any buffering.

NOTE: When a port is selected via the Master Port, the handshake lines will be ignored until the Master Port sends the turn off code. When the Master Port is selected by a handshake line, all preamble codes will be ignored.

8Documentation 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

Image 12
Contents Mini Smart Switch CE Page Table of Contents Table of Contents Documentation Number 232MSS2-0108 Manual Introduction Checklist Setup Communication & Port Setup Dipswitch SW1 3 4 5 6 7 SettingPort 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 Programmable Character Setting Dipswitch SW2* WeightProgramming the Second Character Binary File TransferSmart Switch/Port Combiner Mode Enhanced Mode -- Timer Features Timer Values Specifications Model 232MSS2Documentation Number 232MSS2-0108 Manual Windows SSwitch InstallationRunning SSwitch Software IntroductionSETUP.EXE Method preferred DOS SstsrCommand Description Options SSTSR.EXE MethodParameters 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 1. IBM PC DB25 Connector to Master Port Chart 2. IBM PC DB9 Connector to Master PortChart 3. Modem DB25 Connector to Master Port Async Modem Chart 4. IBM PC DB25 Connector to Ports a D DTEChart 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 Chart 7. IBM PC DB9 Connector to Ports a D DCE DB9 Connector Direction 232MSS2 Ports a D DCEChart 8. IBM PC DB25 Connector to Ports a D DCE DB25 Connector Direction DB9 ConnectorChart 9. IBM PC DB9 Connector to Ports a D DCE DB9 Connector DirectionAppendix C Declaration of Conformity Declaration of ConformityAppendix C Documentation Number 232MSS2-0108 Manual