L3 Systems KeyAT Manual

Rs232/485 keyboard port adapter

Advertisement

Quick Links

KeyAT
RS232/485
Keyboard
Port Adapter
(Version 2.0P and above)
Copyright 1996-2003
L3 Systems, Inc.
Redmond, WA

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for L3 Systems KeyAT

  • Page 1 KeyAT RS232/485 Keyboard Port Adapter (Version 2.0P and above) Copyright 1996-2003 L3 Systems, Inc. Redmond, WA...
  • Page 2 Re-maps ASCII characters aa and 2b1122 bb as 1122 **Test Mode KeyAT test EEPROM Read ~ERnn Read EEPROM string #nn EEPROM Write ~EWnn Write EEPROM string #nn EEPROM Execute ~EEnn Execute EEPROM string #nn *default setting **Available only with KeyAT-2 with EEPROM...
  • Page 3 KeyAT NOTE: LED Solid=Keyboard activity, Blinking=RS-232/485 Activity Copyright 1996-2003 L3 Systems, Inc. Redmond, WA...
  • Page 5: Table Of Contents

    KeyAT Keyboard Port Adapter Contents Introduction Connections LED Status Jumpers & Switches K1 Keyboard Jumper K2 RS232/485 Jumper Mini-DIN Connector Pin out DIP Switch Settings Sending Data Commands Data Mode Commands Send a Scan Code Up/Down Scan Codes Transfer Setting...
  • Page 6 KeyAT Keyboard Port Adapter. If you are anyway unsure that two computers share the same ground, do not connect them in any way using the KeyAT Keyboard Port Adapter.
  • Page 7 KeyAT Keyboard Port Adapter • Consult the dealer or an experienced radio/TV technician for help L3 Systems 5/19/2007...
  • Page 9: Introduction

    232 or RS-485 signals to/from keyboard interface signals. Typical uses for the KeyAT Keyboard Port Adapter are: • Testing software - With the help of a KeyAT, you can develop a sequence of keys and send them to the keyboard port of a computer running the software that you want to test.
  • Page 10: Connections

    6-pin mini-DIN male) for older 5-pin DIN AT style connectors. 2. A 6 PIN male-to-male Mini-DIN cable (PN CL0008) is supplied to connect the KeyAT to the computer. Use CL0003 adapter (6-pin mini-DIN female to 5-pin DIN male) for older 5-pin DIN AT style motherboard connections.
  • Page 11 KeyAT Keyboard Port Adapter keyboard port is being used. It blinks whenever the RS- 232/485 port is active. If a non-zero address is set, the LED blinks only when selected. L3 Systems 5/19/2007...
  • Page 12 K3 – 5 Volt From DB-25 RS-232 Connector K3 connects DB-25 Pin 9 to 5 volts. This can be used to power KeyAT from DB-25 connector. Warning: This is not normally connected. If 5V power is connected to PC, then damage can can occur if also connected to external supply! KeyAT Keyboard &...
  • Page 13: Dip Switch Settings

    * Special setting, CR pass-through Mode (~F), KeyAT not addressed ** Special setting, for Immediate Mode, KeyAT not addressed *** Special Setting, for Qw erty Monitor Mode (~Q) , KeyAT not addressed **** Special Setting, for Monitor Mode (~M) , KeyAT not addressed...
  • Page 14 KeyAT Keyboard Port Adapter 1200 5/19/2007 L3 Systems...
  • Page 15: Sending Data

    KeyAT Keyboard Port Adapter Sending Data The main job of a KeyAT is to transfer data from the RS-232 or RS-485 port and send it through to the computer's keyboard port. Data can be sent using ASCII, ASCII control codes, DOS scan codes, keyboard scan codes or ASCII hex.
  • Page 16 KeyAT Keyboard Port Adapter commands are enabled, this will reset the KeyAT (& run power-up string if loaded). 5/19/2007 L3 Systems...
  • Page 17: Data Mode Commands

    Data Mode Commands The four mode commands set the way data is interpreted by the KeyAT. A mode is set until another mode is given or until a power failure occurs. Character Mode - is the default mode of operation.
  • Page 18 KeyAT Keyboard Port Adapter Care should be taken in using keyboard scan codes, as the computer can be left in a very confused state if the scan code sequence is not properly completed 5/19/2007 L3 Systems...
  • Page 19: Send A Scan Code

    KeyAT Keyboard Port Adapter Send a scan code If you want to send a scan code without going into scan code mode, then use the ~:nn command. This is useful for the occasional function key, arrow key or any other keys that doesn’t have an ASCII equivalent.
  • Page 20 KeyAT Keyboard Port Adapter Binary Transfer - In scan code or key code modes. data is sent as 8 bit binary. 5/19/2007 L3 Systems...
  • Page 21: Turn Around Setting

    (Note: you must send two digits. For 7 milliseconds, send ~P07.) Keyboard Monitor The KeyAT can send either binary key codes (~M) or ASCII translations (~Q) of keys struck at the local keyboard through to the RS-232/RS-485 port. The QWERTY monitor can be used...
  • Page 22 KeyAT Keyboard Port Adapter for constructing an RS-232 or RS485 keyboard, and it will send only keys with ASCII translations. ~M Monitor ON – Monitor Key Scan codes. (Note: special address 61 sets this mode, see page 4.) QWERTY Monitor ON – Monitor ASCII translation (Note: special address 60 sets this mode, see page 4.)
  • Page 23: Status Request

    ASCII hex encoded byte nn to the keyboard. This command requires technical knowledge of keyboards. Test KeyAT Test KeyAT - This command to the KeyAT causes it to undergo tests to validate the keyboard and computer interface. You will see the keyboard LED’s cycle, testing the keyboard interface.
  • Page 24 KeyAT Keyboard Port Adapter The test runs until<ENTER> is received. 5/19/2007 L3 Systems...
  • Page 25: Sleep

    *~Z15<ENTER> (delays 15 seconds) EEPROM Commands The onboard EEPROM (available only on the KeyAT-2) provides memory to store strings of keys and or commands that can be later exe cuted. The EEPROM consists of a set of 8 strings, 31 characters in length, numbered 0 to 7.
  • Page 26 KeyAT Keyboard Port Adapter 5/19/2007 L3 Systems...
  • Page 27: Chaining

    PC. This reset generally occurs when the system is re-booted, so it can be used to initialize the PC and/or initialize the KeyAT. To be recognized as a autoexec boot string, the string must begin with a ~Znn command.
  • Page 28 POWER-UP String The EEPROM string 01 is special string that can be executed after the KeyAT receives powers or is reset. This is generally used to initialize the KeyAT. To be recognized as a power-up string, it must begin with a ~Znn command.
  • Page 29: Autoexec

    KeyAT Keyboard Port Adapter Special Characters ASCII Hex (~nn) - ASCII hex characters can be sent by sending the hex code preceded by a ~(tilde, hex 7E). For example, to send an M character in hex, send a ~4D. Tilde and Caret Characters (~~ ^^) - To send a ~ (tilde, hex 7E) or ^ (caret, hex 5E) character, send the character twice.
  • Page 30: Serial Port Operation

    KeyAT Keyboard Port Adapter Serial Port Operation The Serial Port operation is configured by the DIP switch for baud rates of 1200, 2400, 4800 or 9600 baud. The asynchronous character frame is configured for 1 start bit, 8 data bits, one stop bit. The port is configured as a DCE device (it connects to a computer like a modem).
  • Page 31: Rs485 Wiring

    KeyAT Keyboard Port Adapter Multi Drop Operation If the DIP switch address setting is not zero, KeyAT looks for an address select prefix to any buffer received. The address must be the first byte of the transmission and the high bit set.
  • Page 32: Scan Codes

    KeyAT Keyboard Port Adapter Scan Codes Below is the table of Scan definitions. KEYAT SCAN SCAN CODE CODE KEYBOARD SCAN CODES 76 F0 76 1 / ! 16 F0 16 2 / @ 1E F0 1E 3 / # 26 F0 26...
  • Page 33 KeyAT Keyboard Port Adapter Scan Codes (cont.) KEYAT SCAN SCAN CODE CODE KEYBOARD SCAN CODES 23 F0 23 2B F0 2B 34 F0 34 33 F0 33 3B F0 3B 42 F0 42 4B F0 4B ; / : 4C F0 4C ' / "...
  • Page 34 KeyAT Keyboard Port Adapter Scan Codes (cont.) KEYAT SCAN SCAN CODE CODE KEYBOARD SCAN CODES 0A F0 0A 01 F0 01 09 F0 09 NUM LOCK 77 F0 77 SCROLL LOCK 7E F0 7E Home E0 6C E0 F0 6C...
  • Page 35 KeyAT Keyboard Port Adapter L3 Systems 5/19/2007...
  • Page 36: Ascii Scan Codes

    KeyAT Keyboard Port Adapter ASCII Scan Codes Below is the table of ASCII scan code definitions. ASCII ASCII CHAR KEYBOARD SCAN CODES NUL ^@ 14 1E F0 1E F0 14 SOH ^A 14 1C F0 1C F0 14 STX ^B...
  • Page 37 KeyAT Keyboard Port Adapter ASCII Scan Codes (cont.) ASCII ASCII CHAR KEYBOARD SCAN CODES Space 29 F0 29 12 16 F0 16 F0 12 " 12 52 F0 52 F0 12 12 26 F0 26 F0 12 12 25 F0 25 F0 12 12 2E F0 2E F0 12 &...
  • Page 38 KeyAT Keyboard Port Adapter ASCII Scan Codes (cont.) ASCII ASCII CHAR KEY SCAN CODES 12 1E F0 1E F0 12 12 1C F0 1C F0 12 12 32 F0 32 F0 12 12 21 F0 21 F0 12 12 23 F0 23 F0 12...
  • Page 39 KeyAT Keyboard Port Adapter ASCII Scan Codes (cont.) ASCII ASCII CHAR KEY SCAN CODES 0E F0 0E 1C F0 1C 32 F0 32 21 F0 21 23 F0 23 24 F0 24 2B F0 2B 34 F0 34 33 F0 33...
  • Page 41: Warranty

    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. Damage or defect caused by shipping is excluded.
  • Page 42 KeyAT Keyboard Port Adapter The KeyAT Keyboard Port Adapter allows you to make an RS- 232 or RS-485 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