Black Box RS-232 Manual

Black Box RS-232 Manual

Keyboard converter
Hide thumbs Also See for RS-232:

Advertisement

Quick Links

© Copyright 2000. Black Box Corporation. All rights reserved.
1000 Park Drive
Lawrence, PA 15055-1018
724-746-5500
Fax 724-746-0746

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RS-232 and is the answer not in the manual?

Questions and answers

Summary of Contents for Black Box RS-232

  • Page 1 © Copyright 2000. Black Box Corporation. All rights reserved. 1000 Park Drive • Lawrence, PA 15055-1018 • 724-746-5500 • Fax 724-746-0746...
  • Page 2 Order toll-free in the U.S. 24 hours, 7 A.M. Monday to midnight Friday: 877-877-BBOX SUPPORT FREE technical support, 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746 INFORMATION Mail order: Black Box Corporation, 1000 Park Drive, Lawrence, PA 15055-1018 Web site: www.blackbox.com • E-mail: info@blackbox.com...
  • Page 4 FCC STATEMENT FEDERAL COMMUNICATIONS COMMISSION INDUSTRY CANADA RADIO FREQUENCY INTERFERENCE STATEMENTS This equipment generates, uses, and can radiate radio frequency energy and if not installed and used properly, that is, in strict accordance with the manufacturer’s instructions, may cause interference to radio communication. It has been tested and found to comply with the limits for a Class A computing device in accordance with the specifications in Subpart J of Part 15 of FCC rules, which are designed to provide reasonable protection against such interference when the equipment is...
  • Page 5 RS-232 KEYBOARD CONVERTER NORMAS OFICIALES MEXICANAS (NOM) ELECTRICAL SAFETY STATEMENT INSTRUCCIONES DE SEGURIDAD 1. Todas las instrucciones de seguridad y operación deberán ser leídas antes de que el aparato eléctrico sea operado. 2. Las instrucciones de seguridad y operación deberán ser guardadas para referencia futura.
  • Page 6 NOM STATEMENT 12. Precaución debe ser tomada de tal manera que la tierra fisica y la polarización del equipo no sea eliminada. 13. Los cables de la fuente de poder deben ser guiados de tal manera que no sean pisados ni pellizcados por objetos colocados sobre o contra ellos, poniendo particular atención a los contactos y receptáculos donde salen del aparato.
  • Page 7 Any other trademarks mentioned in this manual are acknowledged to be the property of the trademark owners. CE Notice The CE symbol on your RS-232 Keyboard Converter indicates that it is in compliance with the Electromagnetic Compatibility (EMC) directive and the Low Voltage Directive (LVD) of the Union European (EU).
  • Page 8: Table Of Contents

    3.2.1 Opening the Case ..................13 3.2.2 Jumpers K1 and K2 ................14 4. Installation ......................16 4.1 Connecting RS-232/RS-485 Devices ............17 4.1.1 Connecting RS-232 Terminal Equipment ..........17 4.1.2 Connecting RS-485 Terminal Equipment ..........18 4.2 Connecting the Computer and Keyboard Ports ..........19 5. Operation........................20 5.1 Command/Data Entry ..................20...
  • Page 9: Specifications

    Data Rates: 1200, 2400, 4800, and 9600 bps Serial Interface: RS-232 or RS-485 2-wire (jumper-selectable) Connectors: (1) DB25F for RS-232 and RS-485 device connection; (2) 6-pin mini-DIN connectors LEDs: Keyboard, Receive, Transmit Codes Accepted: Character, HEX ASCII, Scan Code, Key Code...
  • Page 10: Introduction

    RS-485 host to simultaneously control the testing of up to 54 (RS-485) target systems, monitor keyboard activity (Monitor Mode), “add” an RS-232 or RS-485 port to a PC, or connect a keyboard to an RS- 232 or RS-485 port.
  • Page 11: Applications

    Typical applications are for: • Software Testing. With the help of a RS-232 Keyboard Converter, you can develop a sequence of keystrokes and send them to the keyboard port of a computer running the software that you want to test.
  • Page 12 CHAPTER 2: Introduction RS-232 Keyboard Converter AT keyboard Modem 6-pin mini-DIN cable Serial cable Scale Host PC RS-232/RS-485 Port Figure 2-2. Creating an “extra” RS-232 or RS-485 port for a remote input device.
  • Page 13: Configuration

    RS-232 Keyboard Converter. 3.1 Configuration Switches The RS-232 Keyboard Converter has eight DIP switches that you can use to set the port address and the bit rate. These externally accessible switches are located on the front of the RS-232 Keyboard Converter, as shown in Figure 3-1.
  • Page 14: Address Configuration (Switches S1 Through S6)

    Switches S1 through S6 allow you to set an address for the Converter. You must set an address for each RS-232 Keyboard Converter configured in a multidrop topology. (You don’t need to set an address when you’re using only one Converter.) To set a Converter address, choose an address from the left-most...
  • Page 15 RS-232 KEYBOARD CONVERTER Table 3-1 (continued). RS-232 Keyboard Converter Address Settings Switch Settings Address Open Open Closed Closed Closed Open Closed Open Closed Closed Closed Open Open Closed Closed Closed Closed Open Closed Closed Closed Closed Closed Open Open Open...
  • Page 16: Bit-Rate Switches (S7 And S8)

    3.2 Configuration Straps In addition to the configuration switches described in Section 3.1, the RS-232 Keyboard Converter also has two internal straps: one that sets the RS-232 or RS-485 operation, and one that determines whether the keyboard connection passes through the RS-232 Keyboard Converter or connects between devices in parallel.
  • Page 17: Jumpers K1 And K2

    UMPERS The internal jumpers mounted on the RS-232 Keyboard Converter’s PC board (labeled K1 and K2) are used to configure the RS-232/RS-485 operation and keyboard operation. Figure 3-5 shows the location of the RS-232 Keyboard Converter’s jumpers on the internal PC board.
  • Page 18 DIN keyboard interface. However, most computers already supply voltage on pin 9. Connect this jumper only if : a. You aren’t connecting the Converter to the computer keyboard port, and b. The computer does not supply power on pin 9 of its RS-232 port. Setting Strap On Connects +5V from the RS-232 device to pin 9 of the DB25 connector.
  • Page 19: Installation

    Computer port to a computer’s keyboard port. This section describes connection procedures. There are three data ports on the rear panel of the RS-232 Keyboard Converter— an RS-232/RS-485 female DB25 port, a Keyboard port, and a Computer port (see Figure 4-1).
  • Page 20: Connecting Rs-232/Rs-485 Devices

    CHAPTER 4: Installation 4.1 Connecting RS-232/RS-485 Devices When the Converter’s DB25 port is configured as an RS-232 port, it looks like DCE (Data Circuit-Terminating Equipment). Therefore, the RS-232 Keyboard Converter serial port will connect directly to a DTE (Data Terminal Equipment).
  • Page 21: Connecting Rs-485 Terminal Equipment

    RS-485 T ONNECTING ERMINAL QUIPMENT The diagrams below show pin connections between the RS-232 Keyboard Converter’s RS-485 half-duplex serial interface and typical RS-485 serial interfaces. You can use these diagrams to construct your own cables, or you can custom-order pre-made cables.
  • Page 22: Connecting The Computer And Keyboard Ports

    1. Connect the keyboard’s 6-pin mini-DIN connector to the keyboard port on the RS-232 Keyboard Converter. 2. Connect the enclosed 6-pin mini-DIN cable between the port labeled “Computer” on the RS-232 Keyboard Converter to the target PC’s Keyboard DIN port.
  • Page 23: Operation

    5. Operation 5.1 Command/Data Entry The RS-232 Keyboard Converter’s main job is to accept data from the RS-232 or RS-485 port and send it through to another computer’s keyboard port. However, you may also enter configuration commands to the RS-232 Keyboard Converter.
  • Page 24: Operating Modes

    Characters are not echoed when the RS-232 Keyboard Converter is addressed. Rule #7 If line turnaround is set or if the RS-232 Keyboard Converter is addressed, a colon is sent back acknowledging the data sent. Rule #8 After receiving an addressed message, a colon is sent back immediately.
  • Page 25: Data Transfer Commands

    RS-232 KEYBOARD CONVERTER DOS scan code. Note that all DOS scan codes are sent complete with make and break sequences. Key Code Mode—In this mode, codes are sent directly to the computer without interpretation. For an ASCII transfer, each pair of ASCII-encoded characters is interpreted as a keyboard code.
  • Page 26: Turnaround Commands

    ~Pnn Set Turnaround Delay (nn milliseconds)—This sets the delay that the RS-232 Keyboard Converter waits before sending data in response to a command. The default setting in non-addressed mode is 0, and in addressed mode the default setting is 3 milliseconds.
  • Page 27: Multidrop Operation

    The address must be the first byte of the transmission and the high bit set. Address 1 is hex 81, Address 2 is hex 82, etc. If you send a command to address 80, all RS-232 Keyboard Converters will read the command.
  • Page 28 CHAPTER 5: Operation Blinks green when RS-232 Keyboard Converter transmits data Transmit through the RS-232/RS-485 port.
  • Page 29: Appendix A. Scan Codes

    RS-232 KEYBOARD CONVERTER Appendix A. Scan Codes AT Scan Converter Keyboard Code SC Code Scan Codes 76 F0 76 16 F0 1E 1E F0 1E 26 F0 26 25 F0 25 2E F0 2E 36 F0 36 7/& 3D F0 3D...
  • Page 30 APPENDIX A: Scan Codes AT Scan Converter Keyboard Code SC Code Scan Codes 2B F0 2B 34 F0 34 33 F0 33 3B F0 3B 42 F0 42 4B F0 4B ; / : 4C F0 4C ‘/” 52 F0 52 0E F0 0E Left Shift 12 F0 12...
  • Page 31 RS-232 KEYBOARD CONVERTER AT Scan Converter Keyboard Code SC Code Scan Codes 01 F0 01 09 F0 09 NUM LOCK 77 F0 77 SCROLL LOCK 7E F0 7E HOME E0 6C E0 F0 6C Keypad Home/7 C6 F0 6C Up Arrow...
  • Page 32: Appendix B. Ascii Scan Codes

    APPENDIX B: ASCII Scan Codes Appendix B. ASCII Scan Codes ASCII ASCII KEYBOARD CHAR. SCAN CODES NUL ^@ 14 1E F0 1E F0 14 SOH ^A 14 1C F0 1C F0 14 STX ^B 14 32 F0 32 F0 14 ETX ^C 14 21 F0 21 F0 14 EOT ^D...
  • Page 33 RS-232 KEYBOARD CONVERTER ASCII ASCII KEYBOARD CHAR. SCAN CODES 12 2E F0 2E F0 12 & 12 3D F0 3D F0 12 52 F0 52 12 46 F0 46 F0 12 12 45 F0 45 F0 12 7C F0 7C...
  • Page 34 APPENDIX B: ASCII Scan Codes ASCII ASCII KEYBOARD CHAR. SCAN CODES 12 3B F0 3B F0 12 12 42 F0 42 F0 12 12 4B F0 4B F0 12 12 3A F0 3A F0 12 12 31 F0 31 F0 12 12 44 F0 44 F0 12 12 4D F0 4D F0 12 12 15 F0 15 F0 12...
  • Page 35 RS-232 KEYBOARD CONVERTER ASCII ASCII KEYBOARD CHAR. SCAN CODES 44 F0 44 4D F0 4D 15 F0 15 2D F0 2D 1B F0 1B 2C F0 2C 3C F0 3C 2A F0 2A 1D F0 1D 22 F0 22 35 F0 35...

Table of Contents