background image

KeyAT Keyboard Port Adapter 

L3 Systems 

19

 

5/19/2007 

 

Chaining Strings 

EEPROM strings may be ‘chained’ for longer key sequences.  To 
do this, put the (~EEnn) for the next string.  Be careful not to 
generate an unending loop using this feature. The following 
example shows a string with a DIR command chained to 
another string with a 3 second delay and then the VER 
command. These two commands could both be in one string, 
but have been separated to simply illustrate the chain feature. 

Example: 

:~EW01DIR^M~EE02<ENTER>

      (Loads string 01)

 

:~EW02~Z03VER^M<ENTER>

      (Loads string 02)

 

:~EE01<ENTER>

    (Executes string 01 & string 2)

 

AUTOEXEC String 

The EEPROM string 00 is special string that can be executed 
when the keyboard receives a reset from the 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.  If commands are to be sent to the PC, 
make sure that the ~Znn delay is longer than the time it 
takes to boot the operating system.  If booting is especially 
long, multiple ~Znn commands can be used. 

The following shows an autoexec string that allows 30 seconds 
to boot, sets the KeyAT turn-around delay to 50 milliseconds, 
and executes a command on the PC named “INIT”. 

Example: 

:~EW00~Z30~P50INIT^M<ENTER>

    (Loads string 00)

 

:~ER00<ENTER>~Z30~P50INIT^M

      (Displays string 01)

 

Summary of Contents for KeyAT

Page 1: ...KeyAT Copyright 1996 2003 L3 Systems Inc Redmond WA RS232 485 Keyboard Port Adapter Version 2 0P and above ...

Page 2: ...non addressed mode only Line turn around L Data buffered until enter or CR Monitor ON M Monitor keyboard key codes Qwerty Monitor ON Q Monitor keyboard ASCII Monitor off N Turn off keyboard monitoring Display ON OFF LEDs Dnn Sets keyboard LED status to nn Transfer to keyboard Xnn Sends nn to keyboard Status request Response AA EELLDBTM Sleep Znn Sleeps nn seconds Set turnaround delay Pnn Sets turn...

Page 3: ...KeyAT Copyright 1996 2003 L3 Systems Inc Redmond WA NOTE LED Solid Keyboard activity Blinking RS 232 485 Activity ...

Page 4: ......

Page 5: ...ending Data 5 Commands 5 Data Mode Commands 6 Send a Scan Code 7 Up Down Scan Codes 7 Transfer Setting 7 Turn Around Setting 8 Keyboard Monitor 8 Status Request 9 Keyboard Commands 9 Test KeyAT 9 Sleep 10 EEPROM Commands 10 Chaining 11 Autoexec 11 Special Characters 12 Examples 12 Serial Port Operation 13 Serial Port Connector 13 Multi drop Connection 14 RS485 Wiring 14 Scan Codes 15 ASCII Scan Co...

Page 6: ...a class B digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee ...

Page 7: ...KeyAT Keyboard Port Adapter L3 Systems iii 5 19 2007 Consult the dealer or an experienced radio TV technician for help ...

Page 8: ......

Page 9: ...drop capability of the KeyAT keyboard port adapter allows centrally controlled testing of up to 58 systems simultaneously Only the KeyAT port adapter allows such flexibility Remote Access The KeyAT keyboard port adapter allows remote access to a system where the software does not provide any other method Monitoring Keyboard sessions The KeyAT can be used to monitor keyboard sessions This can be he...

Page 10: ...e computer Use CL0003 adapter 6 pin mini DIN female to 5 pin DIN male for older 5 pin DIN AT style motherboard connections 3 The Serial port connects the same as a modem if using the RS 232 interface See the Serial Port Operation section for more details When a keystroke is received from the keyboard the RS232 485 port is blocked Likewise when an RS232 command is received the keyboard is blocked N...

Page 11: ...KeyAT Keyboard Port Adapter L3 Systems 3 5 19 2007 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 ...

Page 12: ... If 5V power is connected to PC then damage can can occur if also connected to external supply 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 5V Pin 4 GND Pin 3 CLOCK Pin 5 Male cable connector DATA Pin 1 1 2 3 4 ...

Page 13: ... O C C O C 15 C C C C O O 46 O C C C O C 16 O O O O C O 47 C C C C O C 17 C O O O C O 48 O O O O C C 18 O C O O C O 49 C O O O C C 19 C C O O C O 50 O C O O C C 20 O O C O C O 51 C C O O C C 21 C O C O C O 52 O O C O C C 22 O C C O C O 53 C O C O C C 23 C C C O C O 54 O C C O C C 24 O O O C C O 55 C C C O C C 25 C O O C C O 56 O O O C C C 26 O C O C C O 57 C O O C C C 27 C C O C C O 58 O C O C C C...

Page 14: ...KeyAT Keyboard Port Adapter 5 19 2007 6 L3 Systems 1200 C C ...

Page 15: ...red Characters are not echoed when the KeyAT is addressed If the KeyAT is addressed a colon is sent back immediately to acknowledge that the data was received If the KeyAT is not addressed and in line turn mode a colon is sent back after the data has been processed signaling that another command can be sent The following example shows the ASCII characters DIR ENTER being sent through the KeyAT Exa...

Page 16: ...KeyAT Keyboard Port Adapter 5 19 2007 8 L3 Systems commands are enabled this will reset the KeyAT run power up string if loaded ...

Page 17: ...the corresponding letter For example a control C Hex 03 is C H Hex ASCII Mode Data is interpreted as hexadecimal encoded ASCII For example to send the computer the character A you would need to send its hexadecimal ASCII value Hex 41 as two ASCII digits 4 and 1 S Scan Code Mode In this mode data is translated to the corresponding keyboard scan codes For an ASCII transfer each pair of ASCII encoded...

Page 18: ...yAT Keyboard Port Adapter 5 19 2007 10 L3 Systems 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 ...

Page 19: ...tl keys which vary the meaning of successive scan codes See the scan code table later on for a list of valid scan codes nn Key down Scan Code This sends just the key down make sequence for scan code nn nn Key up Scan Code This sends just the key up break sequence for scan code nn Example 56 62 56 ENTER sends Alt F4 where 56 Sends Alt down sequence 62 Sends F4 scan code 56 Sends Alt up sequence Tra...

Page 20: ...KeyAT Keyboard Port Adapter 5 19 2007 12 L3 Systems B Binary Transfer In scan code or key code modes data is sent as 8 bit binary ...

Page 21: ...e page 4 A C command will clear this I Immediate Turn around Data is interpreted on the fly Note that in this mode ENTER or CR Hex 0D is not a special character and passed on to the computer XON XOFF flow control is provided However caution should exercised as it is easy to overrun the PC s keyboard receive buffer Note special address 59 sets this mode see page 4 Pnn Set Turn Around Delay nn milli...

Page 22: ...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 Q QWERTY Monitor ON Monitor ASCII translation Note special address 60 sets this mode see page 4 N Monitor OFF Turn keyboard monitor off default ...

Page 23: ... can cause the keyboard to miss the command Dnn Set Clear Keyboard LED s Use this command to turn 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 Xnn Send Data to Keyboard Use this command to send the ASCII ...

Page 24: ...KeyAT Keyboard Port Adapter 5 19 2007 16 L3 Systems The test runs until ENTER is received ...

Page 25: ...rs in length numbered 0 to 7 EEPROM commands are special commands with the following restrictions Use EEPROM commands in Line turn around only L Only use one EEPROM command per line Make sure that the EEPROM command is the last command in the line All other characters or commands on the line after an EEPROM command will be ignored Do not use the EEPROM read command ERnn in addressed mode ERnn Read...

Page 26: ...KeyAT Keyboard Port Adapter 5 19 2007 18 L3 Systems ...

Page 27: ...ng 2 AUTOEXEC String The EEPROM string 00 is special string that can be executed when the keyboard receives a reset from the 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 If commands are to be sent to the PC make sure that the Znn dela...

Page 28: ... or two ASCII characters All data is entered as HEX encoded ASCII Important This command has a fixed format and cannot be used in immediate mode Put zeros in for the second character if only one character is to be re mapped To ignore a character put all zeros for the map data To clear the table enter all zeros after the R Examples R414200454647 ENTER Re map A to B E to FG R0D0A0D1C0000 ENTER Re ma...

Page 29: ...ASCII transfer Line turn around monitor OFF 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 directory command Autoexec Com...

Page 30: ... 25S connector it transmits data on pin 3 and receives data on pin 2 No other RS 232 signal is required for it to operate Serial Port Connector In single drop not addressed mode pins 6 and 8 will always be active In multi drop mode they are only active when the KeyAT is not transmitting Pin Signal Function 1 Chassis Gnd 2 TX to KeyAT RS232 Input 3 RX from KeyAT RS232 Output 4 RTS Connected to CTS ...

Page 31: ...e the KeyAT will send a single byte colon character when the message is received This does not mean that another buffer can be sent The KeyAT sends the colon character to signify that the message was received and that the host can go on to talk to other devices If a proper delay cannot be assured it is recommended that you poll the device until it responds before sending another buffer RS485 Wirin...

Page 32: ...3E F0 3E 10 10 9 46 F0 46 11 11 0 45 F0 45 12 12 _ 4E F0 4E 13 13 55 F0 55 14 14 Backspace 66 F0 66 15 15 Tab 0D F0 0D 16 16 Q 15 F0 15 17 17 W 1D F0 1D 18 18 E 24 F0 24 19 19 R 2D F0 2D 20 20 T 2C F0 2C 21 21 Y 35 F0 35 22 22 U 3C F0 3C 23 23 I 43 F0 43 24 24 O 44 F0 44 25 25 P 4D F0 4D 26 26 54 F0 54 27 27 5B F0 5B 28 28 Enter 5A F0 5A 28 A0 Keypad Enter E0 5A E0 F0 5A 29 29 Left Ctrl 14 F0 14 2...

Page 33: ...43 43 5D F0 5D 44 44 Z 1A F0 1A 45 45 X 22 F0 22 46 46 C 21 F0 21 47 47 V 2A F0 2A 48 48 B 32 F0 32 49 49 N 31 F0 31 50 50 M 3A F0 3A 51 51 41 F0 41 52 52 49 F0 49 53 53 4A F0 4A 53 93 E0 4A E0 F0 4A 54 54 Right Shift 59 F0 59 55 55 7C F0 7C 55 A4 PRT SCRN E0 12 E0 7C E0 F0 7C E0 F0 12 56 56 Left Alt 11 F0 11 56 A5 Right Alt E0 11 E0 F0 11 57 57 Space 29 F0 29 58 58 Caps Lock 58 F0 58 59 59 F1 05 ...

Page 34: ...B E0 F0 12 75 A9 Keypad Left Arrow 4 6B F0 6B 76 76 5 73 F0 73 77 77 Rt Arrow E0 12 E0 74 E0 F0 74 E0 F0 12 77 B0 Keypad Rt Arrow 6 74 F0 74 78 78 79 F0 79 79 79 End E0 12 E0 69 E0 F0 69 E0 F0 12 79 B1 End 1 69 F0 69 80 80 Down Arrow E0 12 E0 72 E0 F0 72 E0 F0 12 80 B2 Keypad Dn Arrow 2 72 F0 72 81 81 Page Down E0 12 E0 7A E0 F0 7A E0 F0 12 81 B3 Keypad PgDn 3 7A F0 7A 82 82 Insert E0 70 E0 F0 70 ...

Page 35: ...KeyAT Keyboard Port Adapter L3 Systems 27 5 19 2007 ...

Page 36: ...TAB I 09 0D F0 0D LF J 0A 14 3B F0 3B F0 14 VT K 0B 14 42 F0 42 F0 14 FF L 0C 14 4B F0 4B F0 14 CR M 0D 3A F0 3A SO N 0E 14 31 F0 31 F0 14 SI O 0F 14 44 F0 44 F0 14 DLE P 10 14 4D F0 4D F0 14 DC1 Q 11 14 15 F0 15 F0 14 DC2 R 12 14 2D F0 2D F0 14 DC3 S 13 14 1B F0 1B F0 14 DC4 T 14 14 2C F0 2C F0 14 NAK U 15 14 3C F0 3C F0 14 SYN V 16 14 2A F0 2A F0 14 ETB W 17 14 1D F0 1D F0 14 EM X 18 14 22 F0 22...

Page 37: ...12 2E F0 2E F0 12 26 12 3D F0 3D F0 12 27 52 F0 52 28 12 46 F0 46 F0 12 29 12 45 F0 45 F0 12 2A 7C F0 7C 2B 79 F0 79 2C 41 F0 41 2D 7B F0 7B 2E 49 F0 49 2F 4A F0 4A 0 30 45 F0 45 1 31 16 F0 16 2 32 1E F0 1E 3 33 26 F0 26 4 34 25 F0 25 5 35 2E F0 2E 6 36 36 F0 36 7 37 3D F0 3D 8 38 3E F0 3E 9 39 46 F0 46 3A 12 4C F0 4C F0 12 3B 4C F0 4C 3C 12 41 F0 41 F0 12 3D 12 55 F0 55 F0 12 3E 12 49 F0 49 F0 12...

Page 38: ...F0 33 F0 12 I 49 12 43 F0 43 F0 12 J 4A 12 3B F0 3B F0 12 K 4B 12 42 F0 42 F0 12 L 4C 12 4B F0 4B F0 12 M 4D 12 3A F0 3A F0 12 N 4E 12 31 F0 31 F0 12 O 4F 12 44 F0 44 F0 12 P 50 12 4D F0 4D F0 12 Q 51 12 15 F0 15 F0 12 R 52 12 2D F0 2D F0 12 S 53 12 1B F0 1B F0 12 T 54 12 2C F0 2C F0 12 U 55 12 3C F0 3C F0 12 V 56 12 2A F0 2A F0 12 W 57 12 1D F0 1D F0 12 X 58 12 22 F0 22 F0 12 Y 59 12 35 F0 35 F0 ...

Page 39: ...f 66 2B F0 2B g 67 34 F0 34 h 68 33 F0 33 i 69 43 F0 43 j 6A 3B F0 3B k 6B 42 F0 42 l 6C 4B F0 4B m 6D 3A F0 3A n 6E 31 F0 31 o 6F 44 F0 44 p 70 4D F0 4D q 71 15 F0 15 r 72 2D F0 2D s 73 1B F0 1B t 74 2C F0 2C u 75 3C F0 3C v 76 2A F0 2A w 77 1D F0 1D x 78 22 F0 22 y 79 35 F0 35 z 7A 1A F0 1A 7B 12 54 F0 54 F0 12 7C 12 5D F0 5D F0 12 7D 12 5B F0 5B F0 12 7E 12 0E F0 0E F0 12 Del 7F 71 F0 71 ...

Page 40: ......

Page 41: ... 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 L3 Systems shall not be liable for any consequential damage or losses from the use of or inability to use its products Any unauthorized repair or modific...

Page 42: ...here software does not provide other options Monitor Keyboard Sessions 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 RS 485 devices to the keyboard port such as bar code readers sca...

Reviews: