L3 Systems KeyAT-4 Manual Download Page 15

KeyAT-4 Keyboard Port Adapter

 

L3 Systems 

13

 

5/19/2007 

 

Scan Codes 

Below is the table of Scan definitions. 

AT 

KeyA

 

Keyboard 

AT 

KeyA

 

Keyboard 

Scan  SCAN   

Scan 

Scan 

SCAN   

Scan 

Code   Code   KEY 

Codes 

Code  

Code   KEY 

Codes 

01 

01 

ESC 

76 F0 76  

37 

37 

42 F0 42  

02 

02 

1 / ! 

16 F0 16  

38 

38 

4B F0 4B  

03 

03 

2 / @ 

1E F0 1E  

39 

39 

; / : 

4C F0 4C  

04 

04 

3 / # 

26 F0 26  

40 

40 

' / " 

52 F0 52  

05 

05 

4 / $ 

25 F0 25  

41 

41 

` / ~ 

0E F0 0E  

06 

06 

5 / % 

2E F0 2E  

42 

42 

Left Shift 

12 F0 12  

07 

07 

6 / ^ 

36 F0 36  

43 

43 

\ / | 

5D F0 5D  

08 

08 

7 / & 

3D F0 3D  

44 

44 

1A F0 1A  

09 

09 

8 / * 

3E F0 3E  

45 

45 

22 F0 22  

10 

10 

9 / ( 

46 F0 46  

46 

46 

21 F0 21  

11 

11 

0 / ) 

45 F0 45  

47 

47 

2A F0 2A  

12 

12 

- / _ 

4E F0 4E  

48 

48 

32 F0 32  

13 

13 

= / + 

55 F0 55  

49 

49 

31 F0 31  

14 

14 

Backspace  66 F0 66  

50 

50 

3A F0 3A  

15 

15 

Tab 

0D F0 0D  

51 

51 

, / < 

41 F0 41  

16 

16 

15 F0 15  

52 

52 

. / > 

49 F0 49  

17 

17 

1D F0 1D  

53 

53 

/ / ? 

4A F0 4A  

18 

18 

24 F0 24  

53 

93 

E0 4A E0 F0 4A  

19 

19 

2D F0 2D  

54 

54 

Right Shift 

59 F0 59  

20 

20 

2C F0 2C  

55 

55 

7C F0 7C  

21 

21 

35 F0 35  

55 

A4 

Prt Scrn 

E0 12 E0 7C E0 
F0 7C E0 F0 12  

22 

22 

3C F0 3C  

56 

56 

Left Alt 

11 F0 11  

23 

23 

43 F0 43  

56 

A5 

Right Alt 

E0 11 E0 F0 11  

24 

24 

44 F0 44  

57 

57 

Space 

29 F0 29  

25 

25 

4D F0 4D  

58 

58 

Caps Lock 

58 F0 58  

26 

26 

[ / { 

54 F0 54  

59 

59 

F1 

05 F0 05  

27 

27 

] / } 

5B F0 5B  

60 

60 

F2 

06 F0 06  

28 

28 

Enter 

5A F0 5A  

61 

61 

F3 

04 F0 04  

28 

A0 

Kpad Enter  E0 5A E0 F0 

5A  

62 

62 

F4 

0C F0 0C  

29 

29 

Left Ctrl 

14 F0 14  

63 

63 

F5 

03 F0 03  

29 

A1 

Right Ctrl 

E0 14 E0 F0 
14  

64 

64 

F6 

0B F0 0B  

29+69  A2 

PAUSE 

E1 14 77 E1 
F0 14 F0 77  

65 

65 

F7 

83 F0 83  

30 

30 

1C F0 1C  

66 

66 

F8 

0A F0 0A  

31 

31 

1B F0 1B  

67 

67 

F9 

01 F0 01  

32 

32 

23 F0 23  

68 

68 

F10 

09 F0 09  

33 

33 

2B F0 2B  

69 

69 

Num Lock 

77 F0 77  

34 

34 

34 F0 34  

70 

70 

Scr Lock 

7E F0 7E  

35 

35 

33 F0 33  

71 

71 

Home 

E0 6C E0 F0 6C  

36 

36 

3B F0 3B  

71 

A6 

Keypad 
Home / 7 

6C F0 6C  

Summary of Contents for KeyAT-4

Page 1: ...T 4 Version 4 0 RS 232 Copyright 2006 Keyboard L3 Systems Inc Port Adapter Redmond WA 3 Systems L3 Systems Inc KeyAT 4 Part SA0064 www L3sys com Pb RoHS Computer PS 2 Keyboard Serial No 2602249 RS 232 PS 2 ...

Page 2: ...sfer to keyboard Xnn Sends hex byte nn to keyboard 7 Status request Response AA EELLDBTM 6 Sleep Znn Sleeps nn seconds 7 Set turnaround delay Pnn Sets turnaround to nn milli sec 6 Send CR mode F Sends CR through 6 Setup Mode SETUP Enter Setup Mode Commands below 8 Command Pg Command Pg D Set Config to default 9 LK Load Scan Code Table 9 LC Load Config string 9 PK Print Scan Code Table 10 PC Print ...

Page 3: ...g problems with target software Serial Keyboard You can use the KeyAT to send and receive from a Keyboard attached to an RS 232 port Attaching input devices Allows you to attach RS 232 devices to the keyboard port such as bar code readers scales and credit card readers Connections The following illustrates a typical connection of the KeyAT 1 The keyboard connects to the 6 pin mini DIN To Keyboard ...

Page 4: ...modem 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 KB232 Function 1 DCD RS 232 Output High when Ready 2 RX Receive from KB232 RS 232 Output 3 TX Transmit to KB232 RS 232 Input 4 DTR RS 232 Input Not Required 5 Signal Ground Ground 6 DSR RS 232 Output High when Ready 7 RTS C...

Page 5: ...tor can be used to provide 5 volts power K1 Jumper K1 connects DB 9 Pin 9 to 5 volts This can be used to power KeyAT from DB 9 connector Warning This is not normally connected If 5V power is connected to PC then damage can occur if also connected to external supply 5V Pin 4 GND Pin 3 CLOCK Pin 5 Male cable connector DATA Pin 1 1 2 3 4 5 6 1 2 3 4 5 6 CLOCK Pin 5 GND Pin 3 DATA Pin 1 5V Pin 4 KeyRF...

Page 6: ...haracter followed by a command character and then in some cases some 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 tilde characters will enable commands If commands are enabled this will reset the KeyAT run power up string if loaded Data Mode Commands The four mode commands set ...

Page 7: ...rly completed 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 See the scan code table later on for a list of valid scan codes nn Send Scan Code This scan code nn Example 73 ENTER sends PgUp Up Down Scan Codes Use these two comma...

Page 8: ...overrun the PC s keyboard receive buffer Pnn Set Turn Around Delay nn milliseconds This sets the delay that the KeyAT waits before responding to a command The default setting is 0 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 port The QWERTY m...

Page 9: ...urn on or off local keyboard LED indicators The nn field is an ASCII hex encoded binary field where b0 Scroll lock b1 Num Lock b2 Caps Lock Examples D01 Scroll Lock on Caps Num Lock off D04 Caps Lock on Scroll Num Lock off D00 Turn off all LEDs Sending Data to the Keyboard Xnn Send Data to Keyboard Use this command to send the ASCII hex encoded byte nn to the keyboard This command requires technic...

Page 10: ...and Note that the results shown below are the default settings Setup PC ENTER Displays Configuration Data 9600 NoPar YesCmd NoCR LM NM 0D 7E Setup The configuration settings are defined as follows The underlined characters represent the minimum required entry in each field 9600 Baud Rate 1200 2400 4800 9600 19200 38400 and 57600 are valid parameters 9600 is the default setting NoPar RS 232 Parity ...

Page 11: ...n Tera Term send ten Alt B s and then quickly connect the KeyAT while the break is in progress Restoring Configuration Default Settings Restore the KeyAT default configuration with the D command Setup D ENTER Restores default settings Setup Key Scan Code Table The KeyAT allows you to define custom keyboard scan codes for any ASCII character in the Code Table Loading Key Scan Codes The LK command l...

Page 12: ...mmand string when power is applied 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 power on sequence Loading the Power ON String The LP command loads a code table entry LP String Loading Power On String Example Setup LP ...

Page 13: ...delays 80 seconds and then sends a DIR Enter command Displaying Reset string The PR command displays the Power On string Setup PR ENTER Z80DIR M Shows Reset string loaded in example above Setup Test KeyAT T 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 Setup Y ENTE...

Page 14: ...rl F1 key 56 59 56 ENTER Sends Alt F1 key 72 ENTER Sends Up Arrow key Use of different data modes C ENTER Sets to character mode DIR M ENTER Sends DOS a directory command H ENTER Sets to ASCII HEX mode 4449520D ENTER Sends DOS a directory command S ENTER Sets to scan code mode 32231928 ENTER Sends DOS a directory command K ENTER Sets to key code mode 23F02343F0432DF02D5AF05A ENTER Sends DOS a dire...

Page 15: ...49 17 17 W 1D F0 1D 53 53 4A F0 4A 18 18 E 24 F0 24 53 93 E0 4A E0 F0 4A 19 19 R 2D F0 2D 54 54 Right Shift 59 F0 59 20 20 T 2C F0 2C 55 55 7C F0 7C 21 21 Y 35 F0 35 55 A4 Prt Scrn E0 12 E0 7C E0 F0 7C E0 F0 12 22 22 U 3C F0 3C 56 56 Left Alt 11 F0 11 23 23 I 43 F0 43 56 A5 Right Alt E0 11 E0 F0 11 24 24 O 44 F0 44 57 57 Space 29 F0 29 25 25 P 4D F0 4D 58 58 Caps Lock 58 F0 58 26 26 54 F0 54 59 59...

Page 16: ...0 F0 6B E0 F0 12 83 83 Delete E0 12 E0 71 E0 F0 71 E0 F0 12 75 A9 Kpad Left Arrow 4 6B F0 6B 83 B5 Kpad Del 71 F0 71 76 76 5 73 F0 73 84 Undefined 77 77 Rt Arrow E0 12 E0 74 E0 F0 74 E0 F0 12 85 Undefined 77 B0 Kpad Rt Arrow 6 74 F0 74 86 Undefined 78 78 79 F0 79 87 87 F11 78 F0 78 79 79 End E0 12 E0 69 E0 F0 69 E0 F0 12 88 88 F12 07 F0 07 79 B1 End 1 69 F0 69 89 Undefined 80 80 Down Arrow E0 12 E...

Page 17: ...2A 7C F0 7C VT K 0B 14 42 F0 42 F0 14 2B 79 F0 79 FF L 0C 14 4B F0 4B F0 14 2C 41 F0 41 CR M 0D 3A F0 3A 2D 7B F0 7B SO N 0E 14 31 F0 31 F0 14 2E 49 F0 49 SI O 0F 14 44 F0 44 F0 14 2F 4A F0 4A DLE P 10 14 4D F0 4D F0 14 0 30 45 F0 45 DC1 Q 11 14 15 F0 15 F0 14 1 31 16 F0 16 DC2 R 12 14 2D F0 2D F0 14 2 32 1E F0 1E DC3 S 13 14 1B F0 1B F0 14 3 33 26 F0 26 DC4 T 14 14 2C F0 2C F0 14 4 34 25 F0 25 NA...

Page 18: ...j 6A 3B F0 3B K 4B 12 42 F0 42 F0 12 k 6B 42 F0 42 L 4C 12 4B F0 4B F0 12 l 6C 4B F0 4B M 4D 12 3A F0 3A F0 12 m 6D 3A F0 3A N 4E 12 31 F0 31 F0 12 n 6E 31 F0 31 O 4F 12 44 F0 44 F0 12 p 70 4D F0 4D P 50 12 4D F0 4D F0 12 q 71 15 F0 15 Q 51 12 15 F0 15 F0 12 r 72 2D F0 2D R 52 12 2D F0 2D F0 12 s 73 1B F0 1B S 53 12 1B F0 1B F0 12 t 74 2C F0 2C T 54 12 2C F0 2C F0 12 u 75 3C F0 3C U 55 12 3C F0 3C...

Page 19: ...y consequential damage or losses from the use of or inability to use its products Any unauthorized repair or modification of the product voids the warranty L3 Systems makes no other warranty express or implied nor have we authorized anyone to make representations to the contrary FCC Class B Approval Information NOTE This equipment has been tested and found to comply with the limits for a class B d...

Page 20: ...ions You can monitor keyboard session to develop keyboard test scripts Connect a Keyboard to an RS 232 Port You can use a KeyAT to connect a keyboard to a computer s RS 232 port and receive key codes from the keyboard Attaching input devices Allows you to attach RS 232 devices to the keyboard port such as bar code readers scales and credit card readers Some advanced features of the KeyAT Adapter a...

Reviews: