background image

KeyAT-4 Keyboard Port Adapter

 

5/19/2007

 

14 

L3 Systems

 

Scan Codes (cont.) 

AT 

KeyA

 

Keyboard 

AT 

KeyA

 

Keyboard 

Scan  SCAN   

Scan 

Scan  SCAN   

Scan 

Code   Code   KEY 

Codes 

Cod

Code   KEY 

Codes 

72 

72 

Up 
Arrow  

E0 12 E0 75 E0 
F0 75 E0 F0 12  

81 

B3 

Keypad 
PgDn / 3 

7A F0 7A  

72 

A7 

Kpad Up 
Arrow / 

75 F0 75  

82 

82 

Insert 

E0 70 E0 F0 70  

73 

73 

Page Up 

E0 7D E0 F0 7D  

82 

B4 

Ins/0 

70 F0 70  

75 

75 

Lt Arrow   E0 12 E0 6B E0 

F0 6B E0 F0 12  

83 

83 

Delete 

E0 12 E0 71 E0 
F0 71 E0 F0 12  

75 

A9 

Kpad 
Left 
Arrow / 

6B F0 6B  

83 

B5 

Kpad Del / .  71 F0 71  

76 

76 

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 / 

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 E0 72 E0 
F0 72 E0 F0 12  

90 

90 

Left 
Window  

E0 1F E0 F0 1F 

80 

B2 

Kpad Dn 
Arrow / 

72 F0 72  

91 

91 

Right 
Window  

E0 27 E0 F0 27 

81 

81 

Page 
Down 

E0 12 E0 7A E0 
F0 7A E0 F0 12  

92 

92 

Menu 

E0 2F E0 F0 2F 

 

Содержание KeyAT-4

Страница 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 ...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: