Hagstrom KE24 User Manual

Pc keyboard encoder

Advertisement

Quick Links

KE24
PC Keyboard Encoder
User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KE24 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Hagstrom KE24

  • Page 1 KE24 PC Keyboard Encoder User Manual...
  • Page 2 HAGSTROM ELECTRONICS, INC. is pleased that you have selected this product for your application. The KE24 unit is configurable in a variety of ways in order to meet your specific requirements. Please take a few minutes to read this manual before using your KE24.
  • Page 3: Table Of Contents

    PC Keyboard to Serial Port KE24 I/O Data to Serial Port The KE24Load Program Programming Macros Appendix A - Specifications Appendix B - Connection of an External Supply Appendix C - Placing KE24 into PROGRAM Mode Appendix D - KE24 Operating Tips Accessories...
  • Page 4: Introduction To The Ke24

    Nonvolatile memory stores your configuration information. The KE24 I/O: The 52 pin header in the KE24 provides 24 I/O signals that can be programmed to scan a matrix or discrete inputs. Any of the 24 I/O pins can be programmed as a Row or Column in a matrix application, or as an individual input.
  • Page 5 5V power supply is required. See Appendix B for information on connecting an external 5V supply. Supported Computers: The KE24 may be used with PCXT, AT, PS/2, 286, 386, 486, Pentium, and compatibles. Hardware Required: For programming the KE24 configuration only. A serial port (COM1 through COM6) on your PC, and a DB9 serial cable (Male to Female).
  • Page 6: Interfacing To The Ke24 I/O Header

    Interfacing to the KE24 I/O Header The 52 pin header on the KE24 consists of 24 I/O points with ground connections on either end. Each pin of the dual row header is connected in parallel with its adjacent pin. Therefore, each I/O signal is available on two different pins.
  • Page 7: Connection To Computer And Keyboard

    There are two DIN type connectors located on your KE24. Although the connectors are physically alike, they have different functions. The connector marked “To PC” is for interface of the KE24 to the computer’s keyboard input. Insert one end of the 5 pin DIN (male to male) shielded cable into this port.
  • Page 8 KE24, you will receive an error message on your computer. If this happens, turn off the computer and correct the connection. The serial port on your KE24 may be used for input and output in several different modes. • Data received may be sent to the computer’s keyboard input.
  • Page 9: Serial Data To Pc Keyboard Input

    Ctr/Alt, etc. The second method receives codes from 1 to 127, which each correspond to a key on the PC keyboard. The KE24 translates these codes into PC keyboard signals. In addition, each code sent has a “make”...
  • Page 10 > none none When a code has been sent to the KE24 serial port, the sending unit must wait for a response from the KE24 before transmission of the next code. This acknowledge response is a “!” character transmitted by the KE24. Once this response has been received,...
  • Page 11 As in the ASCII mode, the sending unit must wait for a response from the KE24 after the transmission of each code. This acknowledge response is a “!” character transmitted by the KE24 and signifies that the KE24 can receive more data.
  • Page 12: Pc Keyboard To Serial Port

    PC Keyboard to Serial Port (key #) When the KE24 is programmed to direct the external PC keyboard data to the serial port, these are the codes that are sent. When the key on the keyboard is pressed, the corresponding “make” code is sent.
  • Page 13: Ke24 I/O Data To Serial Port

    I/O header. When detected, the user programmed code is transmitted when the input is “made.” In addition to the “make” code for the input, the KE24 may be programmed in this mode to send a “break” code when the key is released.
  • Page 14: The Ke24Load Program

    The KE24Load Program The disk shipped with your unit contains the program “KE24Load” for configuring the KE24. The program may be run from your diskette drive, but copying the program to its own directory on a hard drive is recommended.
  • Page 15 The Program Screen The KE24Load program allows the user to create a configuration for the KE24. The following is a list of the selections and how they pertain to the KE24 setup. Use your mouse to change the various options.
  • Page 16 For use of a matrix, program the number of columns in the highlighted area. This number may be from 0 to 23. Use 0 if all of the KE24 inputs are to be used as discrete (individual) inputs. Note: The total number of Rows and Columns may not be more than 24.
  • Page 17 Row Assignments For each Row in your application, you must assign an I/O pin from the KE24. You may specify any header pin (A-X) as a Row. Note: Take care not to assign the same pin to two different Rows, Columns, Inputs, or combination of these, as this will cause an error.
  • Page 18 Keyboard Output To: This option controls where input from an external keyboard connected to the KE24 sends its data. If set to COMPUTER, the data from the external keyboard is sent to the PC. (This allows the full use of the keyboard with the PC.) If set to RS-232 port as ASCII, the data from the external keyboard is sent to the RS-232 port as ASCII data (see table in the serial port section).
  • Page 19 “made,” then a “Break” code when the input is released, when sending the data to the PC. If the data is being directed to the serial port on the KE24, this setting may be either “Make” or “Make/Break.” If “Make” is selected, the KE24 will send the response code which you have programmed for that input when the input becomes active.
  • Page 20 When selected as “ASCII Input,” characters received on the serial port are sent to the PC as the corresponding ASCII character. See the section on the KE24 serial port for a list of valid ASCII codes in this mode. The “Key # Input” setting allows the reception of characters on the RS-232 port which correspond to any key from the standard 101 key keyboard.
  • Page 21 KE24 I/O header, and not the external keyboard. Note: The typematic settings programmed here are the values that the KE24 will use upon power up. A computer program can change these settings at power up or during execution of an application.
  • Page 22: Programming Macros

    Once you have created your configuration, you may choose this selection from the File menu to load the configuration to the KE24. Be sure to have the correct port selected. To select the port click the Options header on the menu and then select the communication port.
  • Page 23 The Macro dialog has two areas, the MAKE section and the BREAK section. The MAKE section contains the keystrokes that you want to KE24 to send when the input becomes active. The BREAK section contains the keystrokes to be sent when that input is released.
  • Page 24 You do not need to send a response for both MAKE and BREAK sections. For example, if you want the KE24 to send an “A” keystroke to the computer when your input is released, program a “Make” code for that key in the first section under the BREAK area, and the “Break code for the key in the second BREAK section.
  • Page 25 The lower right corner of the screen displays the amount of Macro memory available. Each keystroke occupies one position in the Macro memory. When the Macro memory is full, you may not create any more Macros. Below is an example of a completed matrix and set of inputs.
  • Page 26: Appendix A - Specifications

    Appendix A: KE24 Specifi cations 5 Volts DC +/- 5% Operating Voltage 65 ma Typical Operating Current 0 to 70 degrees C Operating Temp. XT or AT PC Compatible (5 pin PC Interface DIN) XT or AT Compatible (5 pin DIN)
  • Page 27: Appendix B - Connection Of An External Supply

    Use 5 volt source only. Do not attempt this connection if you are uncertain of your power supply voltage or polarity. NEVER attach a KE24 that is powered from an external source to a PC, as this may damage the KE24, the computer, and/or your supply.
  • Page 28: Appendix C - Placing Ke24 Into Program Mode

    Appendix C: Placing KE24 in PROGRAM Mode This section does not apply if the KE24 is set up to be programmed through the keyboard port. In most other KE24 configurations, a straight through 9 Pin Male/Female cable is required between the KE24 serial port and the Computer serial port (COM1 through COM6).
  • Page 29: Appendix D: Ke24 Operating Tips

    •The maximum recommended cable length from your computer to the KE24 is 10 feet. This distance is also the maximum length that you should use on connections from the switches or keypads in your applications to the KE24 I/O header.
  • Page 30: Accessories

    9 pin serial DB9 cable. 6 ft., Male to Female configuration KE-MM6-mini Connect from Encoder to PC 6 pin mini connector MTA-100-13-12 Cable set connects to KE24 header. Brings each pin to a discrete wire 12 in. long To order...
  • Page 31 Depending on the state in which you live, you may have additional rights. Great care has been taken during the assembly, testing, and burn-in of your KE24 to ensure its performance. If you have any questions, please send us an email or give us a call. Support is available Monday through Friday, 8:00 am to 5:00 pm (EST).
  • Page 32 HAGSTROM ELECTRONICS, INC. Toll Free 888-690-9080 Phone: (540) 465-4677 Fax: (540) 465-4678 Monday through Friday, 8:00 am to 5:00 pm (EST) sales@hagstromelectronics.com www.hagstromelectronics.com 1986 Junction Road, Strasburg, VA 22657 Copyright © 2017 HAGSTROM ELECTRONICS, INC. V. 07.16...

Table of Contents