background image

[F7] 

F7 key  

[F8] 

F8 key

[F9] 

=  

F9 key  

[F10]  = 

F10 key

[F11]  =  

F11 key 

[F12]  = 

F12 key

[Space]= 

Space Bar 

[   ] 

Space Bar

[Print]  = 

Print Screen  [Scroll] = 

Scroll Lock

[Pause] = 

Pause/Break  [Num]  = 

Num Lock

[Insert] = 

Insert Key 

[Home]= 

Home key

[PageUp]= 

Page Up 

[PageDn]= 

Page Down

[Delete]= 

Delete key 

[End]  = 

End key

[Up]  = 

Up Arrow 

[Down] = 

Down Arrow

[Left]  = 

Left Arrow 

[Right] = 

Right Arrow

[LWin]  = 

Left Windows  [RWin] = 

Right Windows

[Win]  = 

Win Apl 

[Enter] = 

Enter

[BS] 

Backspace 

[CAPS] = 

Caps Lock

[Tab]  = 

Tab key 

[(N)1]  = 

1/End

[(N)2]  = 

2/Down 

[(N)3]  = 

3/PgDn

[(N)4]  = 

4/Left  

[(N)5]  = 

5

[(N)6]  = 

6/Right 

[(N)7]  = 

7/Home

[(N)8]  = 

8/Up  

[(N)9]  = 

9/PgUp

[(N)0]  = 

0/Ins  

[(N).]  = 

./Del

[(N)Enter]=  Enter    

[(N)+] = 

[(N)-]  = 

 

[(N)*]  = 

*

[(N)/]  = 

/

Note:  the  (N)  with a key  definition indicates that the key  being 
emulated is the one from the numeric keypad section of the key-
board.

When saving a configuration file, it must be saved as a text file only.  
The text file can be created from virtually any document editing 
program.  The file type to use for saving is typically referred to as 
a “.txt” file in ANSI format or “ASCII DOS Text” depending on the 
program used to create the file.  Refer to the sample configuration 
file on the CD included with the KE72.

11

Using the KE72 Serial Port

Responses from the activation of inputs may be directed to the 
serial port instead of producing keystrokes as described in the 
earlier configuration file section.  In addition to that function, the 
KE72 serial port may be used in several other modes as well.

Serial Data to Keystroke Modes -

The KE72 features two different serial data to keystroke conversion 
modes.  One mode accepts direct ASCII  characters  while the 
second mode accepts “key numbers” which command the up and 
down state of any key.  The ASCII mode is the default mode at 
power up and reset, but the mode may be changed and identified 
by special one byte serial commands shown later in this section.

The  ASCII  to  Keystroke mode

  will accept printable ASCII 

characters and translate them into keystrokes on the PC.  If an 
ASCII  “A”  is  sent to the serial port,  the KE72 will produce the 
required keystrokes to produce an upper case “A”.  The KE72 
responds with a “!” character after each byte is received in this 
mode.  Always wait for the “!” acknowledgement before sending 
additional communication to the serial port.  Any characters sent to 
the KE72 which are not printable ASCII characters are ignored.

The Key Number to Keystroke

 

mode

 allows the commanding 

of the up and down state of any key on the keyboard.  In this 
mode, each key on the keyboard is represented by a number (See 
Appendix F for the key number table).  Sending the key number to 
the serial port results in a “down” key state for the corresponding 
key.    Sending the same code +128  decimal results in the “key 
up” message being generated for that key.  Use this key number 
mode to emulate keystrokes and keystroke combinations such as 
Ctrl+F1, etc.  Note that “key down” refers to the press of a key 
and “key up” refers to the release of a key. Always send a key up 
message for a key that had previously been sent as a key down

16

Summary of Contents for KE72

Page 1: ...KE72 and KE72 T PC Keyboard Encoder User Manual...

Page 2: ...before using your KE72 In addition to this printed manual other resources are included with the product CD which provide information and tips on using the KE72 and making the most of it s features If...

Page 3: ...mming Options Loading a Configuration File to the KE72 Using the KE72 Serial Port Appendix A Specifications Appendix B KE72 Input Interface Appendix C KE72 Status LED Signals Appendix D KE72 T Interfa...

Page 4: ...l to the unit The signals received on this port are converted into mouse movement on the PC The KE72 uses standard drivers for its functions No special software is required for the unit to work with y...

Page 5: ...same Male Male PS 2 style cable Use the serial port on the KE72 for serial data to keystroke translation or for serial loading of the KE72 configuration Note Make connections to the KE72 with power o...

Page 6: ...eld active the keystroke response will repeat if programmed to repeat based on the repeat rates and delays set within the PC operating system KE72 inputs may be programmed to send keystrokes when the...

Page 7: ...plied logic Ground The eight position header on the KE72 T is for connection of a Trackball or Spinner Use our KE TBH3 cable to connect the Trackball or create a cable using the signals as shown Power...

Page 8: ...KE72 are simple and versatile The following examples demonstrate the text required in the configuration file to define the response of an input Each input definition line begins with INXX where XX is...

Page 9: ...e response for the input when it is deactivated IN03 G Using the line above in a configuration file will set input 3 to send the G key when the input is de activated No response will be generated by i...

Page 10: ...oard This option is used to designate case sensitivity on an alpha character ex IN01 A can be used to always emulate a capital A regardless of the current Shift and Caps Lock states D Use this option...

Page 11: ...20 will send a one byte value of 0xDC InputsontheKE72maybeprogrammedtosendupto 32keystrokes when activated and up to 16 when the input is released example IN28 p r e s s e d Types pressed when input 2...

Page 12: ...eft N 5 5 N 6 6 Right N 7 7 Home N 8 8 Up N 9 9 PgUp N 0 0 Ins N Del N Enter Enter N N N N Note the N with a key definition indicates that the key being emulated is the one from the numeric keypad sec...

Page 13: ...activated Note that not specifying this setting in the configuration file is the same as stating PREL N The KE72 T Trackball header accepts a wide variety of Trackball devices In order to provide the...

Page 14: ...guration the resolution is automatically adjusted by the system s mouse driver Sample KE72 Configuration File This is a sample configuration file for the KE72 Note that comments may be used in the con...

Page 15: ...directly and running it or it may be run as a command line with options When run with no command line options the program will prompt the user for the configuration file to be loaded as well as the p...

Page 16: ...d to connect from the KE72 serial port to the Com port of the PC where the program is being run While loading from a command line a series of characters are sent which indicate the progress of the loa...

Page 17: ...s sent to the serial port the KE72 will produce the required keystrokes to produce an upper case A The KE72 responds with a character after each byte is received in this mode Always wait for the ackno...

Page 18: ...to the KE72 serial port which corresponds to the up or down state of a particular key Once this command byte is received by the KE72 the serial mode will be in the key number mode until changed by the...

Page 19: ...ults in the return of a character in the range of ASCII 0 7 The KE72 response character reflects the current state of the Caps Lock Num Lock and Scroll Lock LEDs 0 No LEDS On 1 Scroll Lock LED on only...

Page 20: ...urrent 80 ma Typical Operating Temperature 0 to 70 Degrees C Input Header 72 individual inputs divided between two 2 x 20 headers 025 square pins spaced at 100 Required Input Current 1 2 ma sink curre...

Page 21: ...ve the 5V supply on the unit The logic signals must produce an active logic low signal for the appropriate amount of time as listed in Appendix A The recommended maximum cable length from the KE72 inp...

Page 22: ...the anode side of the LED to the 5V source on the header and attach the cathode leg of the LED to one end of the 470 Ohm resistor Connect the other end of the resistor to the signal from the KE72 Note...

Page 23: ...Pinout The KE72 serial port is an RS232 connection The pinout of the DB9 female connector on the KE72 is as defined below KE72 T Trackball and Mouse button Interface signal assignments Note Do not sup...

Page 24: ...70 198 R Win 71 199 Win APL 72 200 Insert 75 203 Delete 76 204 L Arrow 79 207 Home 80 208 End 81 209 Up Arrow 83 211 Dn Arrow 84 212 Page Up 85 213 Page Dn 86 214 Key Make Break R Arrow 89 217 NumLock...

Page 25: ...nection to the KE72 and KE72 T 24 KE TBH3 Trackball interface cable This cable attaches the KE72 T Trackball input to the Trackball itself Accessories We offer several accessories for use with the KE7...

Page 26: ...ntrols and display interfaces just to name a few Give us a call to discuss your custom requirements Special Output Controls LCD Interface LED Interface Rotary Switch Inputs MIDI Output Questions or Co...

Page 27: ...u may have additional rights Great care has been taken during the assembly testing and burn in of your KE72 to ensure its performance If you have any questions please send us an email or give us a cal...

Page 28: ...4677 Fax 540 465 4678 Monday through Friday 8 00 am to 5 00 pm EST sales hagstromelectronics com www hagstromelectronics com 1986 Junction Road Strasburg VA 22657 Copyright 2017 HAGSTROM ELECTRONICS...

Reviews: