background image

 

Copyright 2003

 

L3 Systems, Inc. 

Redmond

 

 

KB232 

 

 

PS/2 Keyboard 

RS-232 Adapter 

Part # SA0008 

(Version 3.0) 

Summary of Contents for KB232

Page 1: ...Copyright 2003 L3 Systems Inc Redmond KB232 PS 2 Keyboard RS 232 Adapter Part SA0008 Version 3 0 ...

Page 2: ...d 2nd c Caps OFF enabled C Caps ON enabled D Disabled Field 5 Repeat Delay 0 250 Milliseconds 1 500 2 750 3 1000 Default 2 750 milliseconds Field 6 Repeat rate 00 to31 0 2 sec 31 30 sec Default is 20 15 sec CW string Write Configuration String D Set Configuration string to default Simple 9600 No Par Leds 2 20 Lkk aa bb Loads custom key code for aa as ASCII hex values aa bb P Print Custom Key Codes...

Page 3: ...in 7 of the DB9 S RS 232 connector Typically there is enough power from the RS 232 signals to allow the keyboard to operate However the Caps Lock and Num Lock LED s may require more power than the RS 232 port can provide If this is the case there are three possible solutions The first solution is to use the CW command to change the KB232 configuration to not turn on LED s and thus saving power See...

Page 4: ...d and adapter You can attach 9V or 12V power supply by connecting the plus voltage to pin 7 and ground or Return to pin 5 of the RS 232 connector Caution make sure that the DC positive voltage pin 7 is not connected to pin 7 of the RS 232 port of the equipment to which you are connecting The third solution is to use a keyboard that uses less power L3 Systems sells a keyboard which will work on man...

Page 5: ...le D connector that can connect directly to a PC computer s serial port The KB232 can power itself and the attached keyboard using active DTR and CTS signals on pins 4 and 7 of the connector However those signals may not provide adequate power in which case 9VDC or 12VDC power may have to be provided on one of those pins in place of the DTR or CTS signals ...

Page 6: ...nal KB232 Function 1 Chassis Gnd 2 RX Receive from KB232 RS 232 Output 3 TX Transmit to KB232 RS 232 Input 4 DTR or 9 12V DC Power RS 232 Input Used to power the KB232 Adapter 5 Signal Ground Ground 7 CTS or 9 12V DC Power RS 232 Input Used to power the KB232 Adapter ...

Page 7: ...Adapter L3 Systems 5 5 19 2007 KB232 Mini DIN Connector The following connector shows the pin definitions for the KB232 Female 6 Pin Min DIN connector and the mating keyboard Male 6 Pin Mini DIN Connector 1 2 3 4 5 6 1 2 3 4 5 6 ...

Page 8: ...s setting To verify the KB232 interface we suggest using a serial terminal program such a Tera Term Kermit Hyperterm Procomm etc After setting the appropriate baud rate and bit frame each time you type an ENTER key should elicit a response ENTER Testing Keyboard Operation If you have verified the RS 232 communications you should be able to type on the attached keyboard and see characters Type the ...

Page 9: ...ent through the RS 232 port to configure operation Typing H Enter on the RS 232 terminal will list the commands that can be entered h Enter Commands C Show Config String C string Load Config String D Set Default Config E Erase Custom Scan Codes H Help Screen Lkk aa bb Load scan code P Print Custom Scan Codes T Keyboard Test V Version ...

Page 10: ...600 No Par nc 2 20 The configuration string is in the following format Emulation Baud Parity LEDs Repeat Delay Repeat Rate Emulation Terminal emulation setting Simple Simple keyboard no arrows function or special keys such as Home End PgUp PgDn default TTY ASCII keyboard ASCII arrows but no function keys or special keys such as Home End PgUp PgDn PC PC Terminal with arrows function special keys AN...

Page 11: ...ter n Num Lock LED enabled initially off default N Num Lock LED enabled initially on D Num Lock LED disabled 2nd character c Caps Lock LED enabled initially off default C Caps Lock LED enabled initially on D Caps Lock LED disabled Repeat Delay Delay before a key repeats 0 250ms 1 500ms 2 750ms 3 1000ms Repeat Rate Keyboard key repeat rate Valid values are from 00 slowest 2 second to 31 fastest 30 ...

Page 12: ...order as displayed CW Emulation Baud Parity LEDs Repeat Delay Repeat Rate Below is an example loading the same values as the default settings with the minimum characters CW S 96 n nc 2 20 Enter You can then display the string loaded C Enter S 96 n nc 2 20 D Set Default Configuration values The D command sets the configuration values to the default settings D Enter You can then display the default ...

Page 13: ...mat of the command is Lkk aa bb cc The easiest way to explain this command is by an example For this example we ll make the F1 key send Hello First you need to find the key code for the keyboard key you want to load in the ASCII key table on pages 15 19 The F1 key is 05 Then you need to find the ASCII code s for Hello in the ASCII hexadecimal chart on page 20 The ASCII codes for Hello are 48 65 6C...

Page 14: ...6 84 42 79 65 Enter You can also use the LW command to make a key not send anything To do this just don t put any bytes after the equal sign The following example prevents the Esc key from sending any characters L01 Enter P Print Key Code Table The P command outputs the custom key code table loaded with the L command This example shows the key codes loaded above P Enter KC Bytes 05 48 65 6C 6C 6F ...

Page 15: ...mand followed by P command showing the empty table E ENTER P Enter KC Bytes T Test Keyboard The T command runs a test on the keyboard interface which cycles the LED indicators in a pattern It outputs a each it changes the indicator pattern and when done says OK indicating success or No Keyboard if it has a problem T ENTER OK or No Keyboard ...

Page 16: ...ions are commonly used ASCII terminal emulations which support the non ASCII keys on the keyboard The ASCII key table on the next page shows the ASCII characters sent for each emulation type Simple TTY PC ANSI and VT If these emulations don t exactly match your needs pick the one that comes closest and then use the LW command to map or re map the keys to be what you need ...

Page 17: ...3C 2C 3C 2C 3C 2C 3C 4E _ 2D 5F 2D 5F 2D 5F 2D 5F 2D 5F 49 2E 3E 2E 3E 2E 3E 2E 3E 2E 3E 4A 2F 3F 2F 3F 2F 3F 2F 3F 2F 3F 45 0 30 29 30 29 30 29 30 29 30 29 16 1 31 21 31 21 31 21 31 21 31 21 1E 2 32 40 32 40 32 40 32 40 32 40 26 3 33 23 33 23 33 23 33 23 33 23 25 4 34 24 34 24 34 24 34 24 34 24 2E 5 35 25 35 25 35 25 35 25 35 25 36 6 36 5E 36 5E 36 5E 36 5E 36 5E 3D 7 37 26 37 26 37 26 37 26 37 2...

Page 18: ...67 47 67 47 67 47 33 H 68 58 68 58 68 58 68 58 68 58 43 I 69 49 69 49 69 49 69 49 69 49 3B J 6A 4A 6A 4A 6A 4A 6A 4A 6A 4A 42 K 6B 4B 6B 4B 6B 4B 6B 4B 6B 4B 4B L 6C 4C 6C 4C 6C 4C 6C 4C 6C 4C 3A M 6D 4D 6D 4D 6D 4D 6D 4D 6D 4D 31 N 6E 4E 6E 4E 6E 4E 6E 4E 6E 4E 44 O 6F 4F 6F 4F 6F 4F 6F 4F 6F 4F 4D P 70 50 70 50 70 50 70 50 70 50 15 Q 71 51 71 51 71 51 71 51 71 51 2D R 72 52 72 52 72 52 72 52 72 ...

Page 19: ...A 54 5B7B 5B7B 5B7B 5B7B 5B7B 5B 5D 7D 5D 7D 5D 7D 5D 7D 5D 7D 5D 5C 7C 5C 7C 5C 7C 5C 7C 5C 7C 0E 60 7E 60 7E 60 7E 60 7E 60 7E 05 F1 00 3B 1B 4F 50 1B 5B 31 31 7E 06 F2 00 3C 1B 4F 51 1B 5B 31 32 7E 04 F3 00 3D 1B 4F 52 1B 5B 31 33 7E 0C F4 00 3E 1B 4F 53 1B 5B 31 34 7E 03 F5 00 3F 1B 4F 54 1B 5B 31 35 7E 0B F6 00 40 1B 4F 55 1B 5B 31 37 7E 0F F7 00 41 1B 4F 56 1B 5B 31 38 7E 0A F8 00 42 1B 4F 5...

Page 20: ...32 31 7E 78 F11 00 85 1B 5B 32 38 7E 07 F12 00 86 1B 5B 32 39 7E 60 Pad 0 30 30 30 30 30 61 Pad 1 31 31 31 31 31 62 Pad 2 32 32 32 32 32 63 Pad 3 33 33 33 33 33 64 Pad 4 34 34 34 34 34 65 Pad 5 35 35 35 35 35 67 Pad 6 36 36 36 36 36 68 Pad 7 37 37 37 37 37 6A Pad 8 38 38 38 38 38 6D Pad 9 39 39 39 39 39 6F Pad 2F 2F 2F 2F 2F 7C Pad 2A 2A 2A 2A 2A 7B Pad 2D 2D 2D 2D 2D 79 Pad 2B 2B 2B 2B 2B 6E Pad ...

Page 21: ... 48 69 End 00 4F 1B 4F 46 1B 5B 31 7E 7D PgUp 00 49 1B 5B 56 1B 5B 35 7E 7A PgDn 00 51 1B 5B 55 1B 5B 36 7E 75 Up Arrow 0B 00 48 1B 5B 41 1B 5B 41 72 Dn Arrow 0A 00 50 1B 5B 42 1B 5B 42 74 Rt Arrow 09 00 4D 1B 5B 43 1B 5B 43 6B Lt Arrow 08 00 48 1B 5B 44 1B 5B 44 4F Prn Scrn 5F Pause 1F Lt Win 27 Rt Win 2F Menu 37 Power 3F Sleep 5E Wake Up 77 Num Lock 58 Caps Lock Turbo This is a local function on...

Page 22: ... m 6D ACK F 06 SP 20 3A T 54 n 6E BEL G 07 21 3B U 55 o 6F BS H 08 22 3C V 56 p 70 TAB I 09 23 3D W 57 q 71 LF J 0A 24 3E X 58 r 72 VT K 0B 25 3F Y 59 s 73 FF L 0C 26 40 Z 5A t 74 CR M 0D 27 A 41 5B u 75 SO N 0E 28 B 42 5C v 76 SI O 0F 29 C 43 5D w 77 DLE P 10 2A D 44 5E x 78 DC1 Q 11 2B E 45 _ 5F y 79 DC2 R 12 2C F 46 60 z 7A DC3 S 13 2D G 47 a 61 7B DC4 T 14 2E H 48 b 62 7C NAK U 15 2F I 49 c 63...

Page 23: ...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 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 f...

Page 24: ...eat rate can be configured v Caps Lock and Num Lock Keys Caps Lock and Num Lock keys operate as expected v Five Emulation Modes These allow emulation of common ASCII terminal equipment v Flexible RS 232 settings Baud rates of 9600 default 4800 2400 and 1200 baud v Custom keyboard mappings Custom keyboard mappings can be loaded to change the ASCII characters assigned to keyboard keys These are stor...

Reviews: