Black Box SW925A, SW928C, SW929C Setting Serial-Port Protocols and Options, Hardware Handshake

Page 11

MODULAR SMART SWITCH

NOTE

Automatic detection of the direction of parallel ports is achieved by detecting the state of the SELECT IN signal on the hardware interface. This will operate with most PCs and printers. Automatic detection is not guaranteed to work with all equipment, so if you experience any problems, set the ports as dedicated inputs or outputs.

4.3 Setting Serial-Port Protocols and Options

Protocols

For serial devices, you must set a number of parameters to make sure that the Modular Smart Switch is “speaking the same language” as the equipment that it will communicate with. These parameters include the handshake mode, the baud rate, the parity, the number of bits per character, and the number of stop bits. Most computers and printers are able to set these parameters, so it is generally advisable to set the fastest available. This is often 9600 baud, 8 bits per character, one stop bit, no parity, and either hardware handshake or XON/XOFF.

Hardware Handshake

DTR/CTS (hardware) handshake uses hardware signal lines to control the flow of data (pins 5 and 20).

Software Handshake

ETX/ACK—the flow of data is controlled by sending blocks of data and waiting for an ACKnowledgement character to be received.

XON/XOFF (printer and plotter connections)—the flow of data is controlled by the receiving device by transmitting XOFF (stop data flow) and XON (start data flow) characters. Set this protocol on ports connected to printers and plotters.

XON/XOFF (computer connections)—the flow of data is controlled by the Modular Smart Switch. This is done by sending XON (start data flow) and XOFF (stop data flow) characters to the computer. Set this protocol on ports connected to computers.

MODULAR SMART SWITCH

NOTE

The XON/XOFF setting for printer and plotter con-nections is a bidirectional protocol that recognizes the XON and XOFF characters in both directions. The XON/XOFF setting for com-puter connections recog-nizes the XON and XOFF characters in one direction only. This allows graphics, font and other non text data to be sent from computers without problems (the XON and XOFF characters often form part of this data).

Ports on the Modular Smart Switch that are set to XON/XOFF handshake will also give the hardware handshake signal to ensure maximum compatibility.

The bidirectional XON/XOFF protocol used for printer and plotter connec- tions can also be used for computer connections if the computer will never send the XON or XOFF characters as part of the data stream.)

RS-232/RS-422 Selection

Each dual serial module supports both RS-232 and RS-422 serial communication. The hardware signals for RS-232 and RS-422 communication appear on different pins of the interface

(see Appendix A for pin-configuration details).

18

 

 

 

19

 

 

 

 

 

Image 11
Contents Modular Smart Switch Modular Smart Switch Modular Smart Switch Contents Chapter Modular Smart Switch Product Information SpecificationsFeatures IntroductionFitting Expansion-Buffer Memory Installing Memory and Port ModulesFitting Port Modules Fitting Port ModulesSetting the Global Timeout Period Configuring the Modular Smart SwitchOFF Timeout PeriodSoftware Handshake Setting Serial-Port Protocols and OptionsProtocols Hardware HandshakeSelecting Ports for Your Equipment Installing the Modular Smart SwitchPositioning the Modular Smart Switch Connecting Devices to the Modular Smart SwitchComputers Connected to Parallel Ports Switching OnMode LPT1=COM1 Enabling ComputersBuffer Status Indicators Using the Modular Smart SwitchPort Indicators 1 to Running the Control Software from the DOS Prompt Using the Control SoftwareInstalling the Resident Software Command-Line OptionsRight Shift Using the Control SoftwareRunning the Control Software from within Microsoft Windows Selecting a Destination Printer, Plotter, or Modem Main MenuFile Transfer Direct Output Functions Options Destination Direct Output of Typed Keyboard CharactersSetting the Options Using the Functions MenuHigh-Baud-Rate Limitations Serial Port Control UtilityAdmode COMn baud, parity, databits, stopbits ExampleEither Using the Control Software with Windows VersionTransferring Files Between IBM Compatible PCs Using the Modular Smart Switch to Transfer FilesHotkey Using the Control Software with File-Transfer SoftwareTransferring Data Between PCs Not Compatible with IBM General Hints and TipsPM Connect Software CommandsConnect Command IntroductionPM Clear Clear CommandEnd-of-File Command PM Connect 1 TimeoutoffSending Default Start-of-Day Destination Ports Troubleshooting RS-232 and RS-422 Pin Assignments Appendix a Serial PortsMerged Printouts Print Data Transmitted but File Transfer FailsCTS Connecting to Computers-RS-232 ConnectionsConnecting to Modems Connecting to PrintersConnecting to NEC Spinwriter Connecting to PlottersRS-422 Cables Connecting to DEC LN03 Laser PrinterParallel Pin Assignments Appendix B Parallel PortsCable for IBM PC, PC/XT, AT, or Compatible Cable to 36-Pin Amphenol Connector