L3 Systems KeyAT-4 Manual

Rs-232 keyboard port adapter

Advertisement

Quick Links

KeyAT-4
Version 4.0
RS-232
Copyright 2006
Keyboard
L3 Systems, Inc.
Port Adapter
Redmond, WA

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KeyAT-4 and is the answer not in the manual?

Questions and answers

Summary of Contents for L3 Systems KeyAT-4

  • Page 1 KeyAT-4 Version 4.0 RS-232 Copyright 2006 Keyboard L3 Systems, Inc. Port Adapter Redmond, WA...
  • Page 2: Quick Reference

    Quick Reference Reference Description Serial Connector Pin-outs: RS-232 Connector PS/2 Connectors Pin-outs: Keyboard/Computer Connectors Command Description Set to character mode Send ASCII chars ASCII hex mode Send Hex ASCII chars Keyboard code mode Send direct key codes DOS scan code mode Send DOS scan codes Turn off Commands Turn off commands (~anything)
  • Page 3 KeyAT-4 Keyboard Port Adapter Introduction The KeyAT keyboard port adapter allows you to send keyboard keystrokes to a computer via an RS-232 interface. It can also be used to convert a PS/2 keyboard to send RS-232 data. Typical uses for the KeyAT are: •...
  • Page 4: Status Indicator

    KeyAT-4 Keyboard Port Adapter Status Indicator A red status indicator located on the side of the KeyAT indicates port activity. It turns solid red when the attached keyboard port is being used. It blinks whenever the RS-232 port is active.
  • Page 5 KeyAT-4 Keyboard Port Adapter KeyAT Keyboard & PC Mini-DIN Connector The following connector shows the pin definitions for the two 6 pin Min-DIN connectors. If the application is an RS-232 keyboard, the computer Mini-DIN connector can be used to provide 5 volts power.
  • Page 6: Sending Data

    The example shows the ASCII characters ‘DIR<ENTER>’ being sent through the KeyAT. Example: KeyAT, V4.0x1, [C]L3 Systems, Inc. 2005 :DIR^M<ENTER> Commands Commands are instructions to the KeyAT to do something other than just pass data through to the computer.
  • Page 7 KeyAT-4 Keyboard Port Adapter Scan Code Mode - In this mode, data is translated to the corresponding keyboard scan codes. For an ASCII transfer, each pair of ASCII encoded characters is interpreted as a DOS scan code. DOS assigns each key a DOS scan code. Note that all DOS scan codes are sent complete with make and break sequences.
  • Page 8: Status Request

    KeyAT-4 Keyboard Port Adapter Turn around setting Data can be sent and interpreted one line at a time, or be processed immediately. The default setting is for line turn around mode (~L). This is better for automated control and provides more reliable interaction. Immediate turn around mode (~I) can better simulate keyboard operation.
  • Page 9: Keyboard Commands

    *~*SETUP<ENTER> Setup> Leaving Setup Mode You can exit setup mode with the “Q” commad: Setup>Q<ENTER> Displaying Version The firmware version can be displayed with the “V” commad: Setup>V<ENTER> KeyAT, V4.0x1, [C]L3 Systems, Inc. 2006 L3 Systems 5/19/2007...
  • Page 10: Help Command

    KeyAT-4 Keyboard Port Adapter Help Command You can display a short setup help list with the “Q” commad: Setup>H<ENTER> ~:nn Scancode nn ~-nn/~+nn Make/Break Scancode nn ~Knn Send Keycode nn ~Dnn Set Keyboard LEDs ~Xnn Send Keyboard byte nn ~Znn Delay nn...
  • Page 11 KeyAT-4 Keyboard Port Adapter Changing Configuration You can change operating parameters of the KeyAT adapter with the LC command. The following example shows the baud rate changed to 4800 from default, and enabling the “CR pass-through mode”: Setup>LC4800,NoPar,YesCmd,YesCR,LM,NM,0D,7E<ENTER> The following shows the minimal entry for the same setting: Setup>LC48,N,Y,Y,LM,NM,0D,7E<ENTER>...
  • Page 12 KeyAT-4 Keyboard Port Adapter Displaying Code Table The code table can be displayed to review entries: (Displays Code Table) :PK<ENTER> AS Codes -- ------ ß Shows data of example above 2A 79 F0 79 Erasing the Key Code Table The “EK” command deletes all entries in the Key Scan Code table. If you want to change existing entries in the code table, you must clear the table with the “EK”...
  • Page 13: Special Characters

    KeyAT-4 Keyboard Port Adapter Reset String The KeyAT can execute a command string whenever the computer sends the keyboard a reset. This string can include keys to send to the computer and/or KeyAT commands. It’s strongly recommended when using this feature to start the string with a delay command (~Znn) to allow the KeyAT to wait for the computer to finish its reset sequence.
  • Page 14 KeyAT-4 Keyboard Port Adapter Tera Term For use with Microsoft Windows, we suggest using the application called Tera Term. It’s free to download and use. Tera Term is a terminal emulator that also has a macro (or scripting) capability. The terminal emulator provides a simple way to test and experiment the operation of the KeyAT.
  • Page 15: Scan Codes

    KeyAT-4 Keyboard Port Adapter Scan Codes Below is the table of Scan definitions. KeyA Keyboard KeyA Keyboard Scan SCAN Scan Scan SCAN Scan Code Code Codes Code Code Codes 42 F0 42 76 F0 76 1 / ! 16 F0 16...
  • Page 16 KeyAT-4 Keyboard Port Adapter Scan Codes (cont.) KeyA Keyboard KeyA Keyboard Scan SCAN Scan Scan SCAN Scan Code Code Codes Code Codes E0 12 E0 75 E0 Keypad 7A F0 7A Arrow F0 75 E0 F0 12 PgDn / 3...
  • Page 17 KeyAT-4 Keyboard Port Adapter ASCII Scan Codes Below is the table of ASCII scan code definitions. ASCII ASCII KEYBOARD ASCII ASCII KEYBOARD CHAR SCAN CODES CHAR SCAN CODES NUL ^@ 14 1E F0 1E F0 14 Space 29 F0 29...
  • Page 18 KeyAT-4 Keyboard Port Adapter ASCII Scan Codes (cont.) ASCII ASCII KEYBOARD ASCII ASCII KEYBOARD CHAR SCAN CODES CHAR SCAN CODES 12 1E F0 1E F0 12 0E F0 0E 12 1C F0 1C F0 12 1C F0 1C 12 32 F0 32 F0 12...
  • Page 19 All returns must obtain a Return of Merchandise Authorization number (RMA) available on request from L3 Systems. Shipping costs (plus customs and duty, if any) to and from L3 Systems must be paid by the user. Damage or defect caused by accident, misuse or neglect is not covered.
  • Page 20 KeyAT Keyboard Port Adapter KeyAT "To Computer" PS/2 RS-232 PS/2 "To Keyboard" The KeyAT Keyboard Port Adapter allows you to make an RS-232 connection to a computer’s keyboard port, and still use the keyboard. Typical uses are: ♦ Testing Software - Test software by sending it simulated keystrokes from another computer.

Table of Contents