background image

KeyAT-5 Keyboard Port Adapter

 

L3 Systems 

11/14/2011 

 

Serial Port Connector 

The port is configured as a DCE device.  On the 9 
pin DB-9S connector, it transmits data on pin 2 
and receives data on pin 3.  No other RS-232 signal 
is required for it to operate.  

Pin 6

Pin 9

Pin 1

Pin 5

 

Pin  Signal 

KeyAT-5 Function 

1  DCD 

Not Used 

2  RX (Receive) from KB232 

RS-232 Output 

3  TX (Transmit) to KB232 

RS-232 Input 

4  DTR 

Not Used 

5  Signal Ground 

Ground 

6  DSR 

Not Used 

7  RTS 

Not Used 

8  CTS 

Not Used 

9  RI 

Not Used. 

Summary of Contents for KeyAT-5

Page 1: ...KeyAT 5 Version 5 0 RS232 to USB Copyright 2006 2010 Keyboard Mouse L3 Systems Inc Port Adapter Redmond WA ...

Page 2: ... n Boot OS Mode 11 Sleep Znn Sleeps nn seconds 12 Test T Test KeyAT LED Control 12 Help Version H V H for help V for Version 13 Setup Mode SETUP Setup Mode Commands 14 Command Pg Command Pg LC Load Config 16 LK Load Scan Code Table 19 PC Print Config 14 PK Print Scan Code Table 20 D Config to default 18 EK Erase Key Scan Codes 20 LP Load Power On 21 H Display Help Info 21 PP Print Power on 22 Q Ex...

Page 3: ...ements that simulate user input from another computer using RS 232 communications Remote Access The KeyAT 5 allows remote access to a system where the software does not provide any other method Attaching input devices Allows you to attach RS 232 devices to the keyboard port such as bar code readers scales and credit card readers Note The KeyAT 5 also operates during boot mode for use with BIOS men...

Page 4: ...as L3 Systems part number CL0017 2 The RS 232 connector connects to an RS 232 port on the host system either directly or via an RS 232 extension cable such as L3 Systems part number CL0015 KeyAT 5 RS232 to USB Adapter Target PC CL00 15 U S BEx tensio n Cabl e Host PC 3 Systems 3 Systems CL0017 RS 232 Cable The above example shows two extension cables one on each connector of the KeyAT 5 Generally ...

Page 5: ... it transmits data on pin 2 and receives data on pin 3 No other RS 232 signal is required for it to operate Pin 6 Pin 9 Pin 1 Pin 5 Pin Signal KeyAT 5 Function 1 DCD Not Used 2 RX Receive from KB232 RS 232 Output 3 TX Transmit to KB232 RS 232 Input 4 DTR Not Used 5 Signal Ground Ground 6 DSR Not Used 7 RTS Not Used 8 CTS Not Used 9 RI Not Used ...

Page 6: ...n job of the KeyAT 5 is to transfer data from the RS 232 port and send it through to the computer s keyboard port Data can be sent using ASCII ASCII control codes HID keyboard scan codes or ASCII hex A line can have a maximum length of 80 characters and should end with an ENTER CR hex 0D When using immediate mode data and commands are interpreted as received with buffering up to 80 characters If y...

Page 7: ...TER Commands Commands are instructions to the KeyAT 5 to do something other than just pass data through to the computer All commands begin with a tilde hex 7E character followed by a command character and in some cases additional data Disable Commands All commands are disabled until 10 consecutive tildes or reset power cycle Reset Enable Commands If commands are disabled sending 10 consecutive til...

Page 8: ...ds PgUp E1 4B ENTER sends Shift PgUp Modifier Keys The following commands allow you to prepend a modifier key to a subsequent key You can prepend multiple modifiers to a single key Capitalized command letter specifies the left key lower case specifies the right key S Left s Right Shift Apply Shift to next key C Left c Right Ctrl Apply Ctrl to next key A Left a Right Alt Apply Alt to next key G Lef...

Page 9: ... not considered scan codes are hex 02 Ctrl B which is interpreted as an end of line and hex 03 Ctrl C which is interpreted as a command to exit Raw Mode In Raw Mode commands are effectively disabled and the bytes received are not echoed Note that this mode is not practical to use from the command line with Tera Term or Hyperterm It is designed to work with a script such as the Tera Term macro lang...

Page 10: ...d allow you to move the mouse pointer M xx yy Move Mouse Moves the mouse xx increments in the x axis and yy increments in the y axis Examples M 07 32 ENTER Moves mouse right 7 and up 32 M 12 23 ENTER Moves mouse left 12 and down 23 Note that mouse sensitivity is controlled by host computer settings For Windows look for mouse settings in the control panel ...

Page 11: ...resses Bnn Mouse Button Presses mouse button s where nn 01 Left Button nn 02 Right Button nn 03 Right Left nn 04 Middle Button nn 05 Left Middle nn 06 Right Middle nn 07 Left Right Middle Buttons Examples B01 ENTER Left Button click B02 ENTER Right Button click B01 B01 ENTER Left Double click B03 ENTER Left Right click ...

Page 12: ...action Immediate Mode I can better simulate keyboard operation in some cases Warning Immediate mode provides no throttling of input thus data sent to the KeyAT can be lost if it exceeds the keyboard input rate of the computer L Line Mode Set to a line oriented basis each line must end with an ENTER or CR hex OD I Immediate Mode Data is interpreted on the fly Note that in this mode ENTER or CR Hex ...

Page 13: ... character is passed through F Send CR mode This causes the Enter or ASCII CR character to be passed through The setting persists until the next I or L command or until power is cycled Status Request Request Status The response format is LEDs n Boot OS Mode where n LED status 0 All Off 1 Num Lock ON 2 Caps Lock ON 3 Num Caps Lock ON 4 Scroll Lock ON 5 Num Scroll Lock ON 6 Cap Scroll Lock ON 7 Num ...

Page 14: ... ENTER Testing Keyboard LEDS light up in a pattern Sleep Znn Sleep Use sleep to provide delays The value nn is in seconds approx or use n for tents of a second This can be helpful when doing scripting allowing the KeyAT 5 to help you pace keystrokes not out running the application Z05 ENTER delays 5 seconds prompt appears when done Z 8 ENTER delays 8 tenths of a second prompt appears when done Z26...

Page 15: ...ode A Alt preset for next char C Ctrl preset for next char S Shift preset for next char G GUI preset for next char H Display this help screen T Test Keyboard LED control V Display Version Info Display LED Status nn Scancode nn Znn Delay nn nn ASCII byte X Control X Mouse Commands Mxy Move mouse x and y Bnn Press Mouse buttons nn Displaying Version V Version V Displays firmware version V ENTER KeyA...

Page 16: ... Configuration string The KeyAT 5 stores operating parameters in a configuration string located in non volatile flash memory These include parameters such as the settings of the baud rate enabling command mode and determining the turn around character Displaying Configuration To display the configuration string do the following command Note that the results shown below are the default settings Set...

Page 17: ...y Even for even parity and Odd for odd parity The default is NoPar Yecho Echoing RS 232 characters Valid settings are Necho for no echo and Yecho for echo enabled The default is Yecho YesCmd Command mode YesCmd enables KeyAT commands and NoCmd disables these commands The default is YesCmd NoCR CR Pass through mode NoCR does not send through the CR or ENTER at end of command line YesCR will send it...

Page 18: ...ud 9600 1 Data 8 2 Parity NoPar 3 Echo Yecho 4 Commands YesCmd 5 CR Pass Thru Mode NoCR 6 Line Immediate Mode LM 7 EOL Char 0D 8 Command Char 7E 9 Inter Char Delay 03 Select 0 1 9 or S Save quit or Enter quit no save In the above menu you can exit without saving changes by just hitting Enter Typing S saves the changes and exits The following illustrates attaching a string to the LC command changin...

Page 19: ...e KeyAT 5 configuration string you can force it to use the default settings if you send an RS 232 Break condition to the when applying power This will cause the KeyAT 5 to return to the following settings 9600 8 NoPar Yecho YesCmd NoCR LM 0D 7E 03 Specifically this will force it operate at 9600 baud with no parity If you use the application Tera Term send ten Alt B s and then quickly connect the K...

Page 20: ...two options to the default settings Valid Options are N Disables Commands C CR pass thru mode I Immediate Mode Setup DC ENTER Default settings w CR pass thru mode Setup PC ENTER Displays Configuration Data 9600 8 NoPar Yecho YesCmd YeCR LM 0D 7E 03 Setup Setup DIN ENTER Default settings w Immediate Mode Setup Commands Disabled Setup PC ENTER Displays Configuration Data 9600 8 NoPar Yecho No_Cmd Ye...

Page 21: ...nes what happens when the ASCII asterisk character is sent via the RS 232 port to the computer Normal mappings are shown in the ASCII Scan Code table at the end of this manual The custom scan code table can be used to map keys to any ASCII character The key code 57 defines the key Special scan codes E0 to E7 are the modifier keys such as Shift Alt and Ctrl When these are included in a table entry ...

Page 22: ...played to review entries Setup PK ENTER Displays Code Table AS Codes 2A 57 Shows data of 1st preceding example 3F E1 0B 08 0F 0F 12 Shows data of 2nd preceding example Setup 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 command and re enter the codes with the LK ...

Page 23: ... n P Power On Buffer D Set Default Config EK Erase Key Codes H Help V Version Setup Power On String The KeyAT 5 can execute a command string when power is applied This string can include keys to send to the computer and or KeyAT 5 commands It s strongly recommended when using this feature to start the string with a delay command Znn to allow the KeyAT 5 to wait for the computer to finish its power...

Page 24: ...d then sends a DIR Enter command Displaying Power on string The PP command displays the Power On string Setup PP ENTER Shows Power On string Z80DIR M loaded in example above Setup 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...

Page 25: ...lying power the KeyAT 5 will start with default configuration settings Configuration Power On and Reset Strings will not be changed The message Loading Defaults will be sent to the RS 232 Port Keyboard 20 Consecutive Num Locks Typing 20 Num Lock keys consecutively causing the Num Lock LED to tun on and off 10 times will cause the KeyAT 5 to load the default configuration string and the Power On an...

Page 26: ...iment the operation of the KeyAT 5 You can also create scripts to automate the keystrokes Examples Command shell examples dir M ENTER Sends a dir and an Enter key dir 28 ENTER Sends a dir ended with a Enter key F ENTER Puts KeyAT in CR Pass Thru Mode dir ENTER Sends a dir command ended with implicit Enter key L ENTER Ends CR Pass Thru Mode Sending Keys that don t have ASCII equivalents 3A ENTER Se...

Page 27: ...05 05 B 33 21 4 06 06 C 34 22 5 07 07 D 35 23 6 08 08 E 36 24 7 09 09 F 37 25 8 10 0A G 38 26 9 11 0B H 39 27 0 12 0C I 40 28 Enter 13 0D J 41 29 Esc 14 0E K 42 2A Backspace 15 0F L 43 2B Tab 16 10 M 44 2C Spacebar 17 11 N 45 2D _ 18 12 O 46 2E 19 13 P 47 2F 20 14 Q 48 30 21 15 R 49 31 22 16 S 50 32 Euro 1 23 17 T 51 33 24 18 U 52 34 25 19 V 53 35 26 1A W 54 36 27 1B X 55 37 ...

Page 28: ...row 65 41 F8 93 5D Kpd 5 66 42 F9 94 5E Kpd 6 Rt Arrow 67 43 F10 95 5F Kpd 7 Home 68 44 F11 96 60 Kpd 8 Up Arrow 69 45 F12 97 61 Kpd 9 Page Up 70 46 Print Screen 98 62 Kpd 0 Insert 71 47 Scroll Lock 99 63 Kpd Del 72 48 Pause 100 64 Kpd Euro 2 73 49 Insert 101 65 Application 74 4A Home 102 66 Power 75 4B Page Up 103 67 Kpd 76 4C Delete 104 68 F13 77 4D End 1 105 69 F14 78 4E Page Down 106 6A F15 79...

Page 29: ...8 94 Language 5 121 79 Again 149 95 Language 6 122 7A Undo 150 96 Language 7 123 7B Cut 151 97 Language 8 124 7C Copy 152 98 Language 9 125 7D Paste 153 99 Alt Erase 126 7E Find 154 9A Sys Req 127 7F Mute 155 9B Cancel 128 80 Vol Up 156 9C Clear 129 81 Vol Down 157 9D Prior 130 82 Caps Lock 158 9E Return 131 83 Num Lock 159 9F Separator 132 84 Scroll Lock 160 A0 Out 133 85 Comma 161 A1 Oper 134 86...

Page 30: ...8 B2 Thous Sep 206 CE Kpd 179 B3 Decimal Sep 207 CF Kpd 180 B4 Curr Unit 208 D0 Kpd Mem Store 181 B5 Curr S Unit 209 D1 Kpd Mem Recall 182 B6 Kpd 210 D2 Kpd Mem Clear 183 B7 Kpd 211 D3 Kpd Mem Add 184 B8 Kpd 212 D4 Kpd Mem Sub 185 B9 Kpd 213 D5 Kpd Mem Mult 186 BA Kpd Tab 214 D6 Kpd Mem Div 187 BB Kpd Backspace 215 D7 Kpd 188 BC Kpd A 216 D8 Kpd Clear 189 BD Kpd B 217 D9 Kpd Clear Entry 190 BE Kpd...

Page 31: ...d Key 224 E0 Left Control 240 F0 225 E1 Left Shift 241 F1 226 E2 Left Alt 242 F2 227 E3 Left GUI 243 F3 228 E4 Right Control 244 F4 229 E5 Right Shift 245 F5 230 E6 Right Alt 246 F6 231 E7 Right GUI 247 F7 232 E8 248 F8 233 E9 249 F9 234 EA 250 FA 235 EB 251 FB 236 EC 252 FC 237 ED 253 FD 238 EE 254 FE 239 EF 255 FF ...

Page 32: ...rl 07 FS 1C Ctrl 31 ENQ E 05 Ctrl 08 GS 1D Ctrl 30 ACK F 06 Ctrl 09 RS 1E C S 23 BEL G 07 Ctrl 0A US _ 1F C S 2D BS H 08 Ctrl 0B Space 20 2C TAB I 09 Ctrl 0C 21 Shift 1E LF J 0A Ctrl 0D 22 Shift 34 VT K 0B Ctrl 0E 23 Shift 20 FF L 0C Ctrl 0F 24 Shift 21 CR M 0D Ctrl 10 25 Shift 22 SO N 0E Ctrl 11 26 Shift 24 SI O 0F Ctrl 12 27 34 DLE P 10 Ctrl 13 28 Shift 26 DC1 Q 11 Ctrl 14 29 Shift 27 DC2 R 12 C...

Page 33: ... Shift 0F 5 35 22 M 4D Shift 10 6 36 23 N 4E Shift 11 7 37 24 O 4F Shift 12 8 38 25 P 50 Shift 13 9 39 26 Q 51 Shift 14 3A Shift 33 R 52 Shift 15 3B 33 S 53 Shift 16 3C Shift 36 T 54 Shift 17 3D 2E U 55 Shift 18 3E Shift 37 V 56 Shift 19 3F Shift 38 W 57 Shift 1A 40 Shift 1F X 58 Shift 1B A 41 Shift 04 Y 59 Shift 1C B 42 Shift 05 Z 5A Shift 1D C 43 Shift 06 5B 2F D 44 Shift 07 5C 31 E 45 Shift 08 ...

Page 34: ...N CHAR HEX Pref CODE CHAR HEX Prefix CODE 60 p 70 13 a 61 04 q 71 14 b 62 05 r 72 15 c 63 06 s 73 16 d 64 07 t 74 17 e 65 08 u 75 18 f 66 09 v 76 19 g 67 0A w 77 1A h 68 0B x 78 1B i 69 0C y 79 1C j 6A 0D z 7A 1D k 6B 0E 7B Shift 2F l 6C 0F 7C Shift 31 m 6D 10 7D Shift 30 n 6E 11 7E Shift 35 o 6F 12 Del 7F 4C ...

Page 35: ...cts in material and workmanship for 180 days from date of shipment to the end user L3 Systems will repair or replace at our option products within the warranty period at no charge for parts and labor 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 use...

Page 36: ...ovide other options Attaching input devices Such as bar code readers scales and credit card readers Some advanced KeyAT 5 Adapter features are Accepts ASCII and Scan Codes Accepts printable and encoded ASCII characters and maps to the correct key Also you can send keyboard scan codes Simple Mouse Control Mouse movements and clicks are done with simple commands Programmable Keys You can load a tabl...

Reviews: