background image

while the input is held active.  The rate at  which the input will 
repeat is the same rate dictated by the system to the keyboard.

<S>

 Use this delimeter to send the input response to the serial 

port instead of emulating keystrokes.  The sample.txt file included 
on the KE72 CD  provides extended examples of the serial port 
function.  The <S> option must follow the : or | character on the 
input definition line.

ex: 

IN05:<S>[F]

 will send an ASCII “F” out of the KE72 serial 

port  when the input #5  is  activated.  In addition to an ASCII 
character,  a  numeric  value may be specified for the byte to be 
sent.  ex: 

IN05:<S>[220]

 will send a one byte value of 0xDC.

Inputs on the KE72 may be programmed to send up to 32 keystrokes 
when activated, and up to 16 when the input is released.

example:

IN28:[p][r][e][s][s][e][d] 

  

   Types “pressed” when input 28 activates

IN28|[r][e][l][e][a][s][e][d] 

Types “released” when input 28 deactivates

The key to be emulated is always inserted between square 
brackets.  The following list summarizes the associated key names 
for keystrokes that are used in a KE72 Configuration  File.  All 
other keys are represented by their direct equivalent (ex: A = A 
key, B = B Key, etc.)

[Shift]  = 

Left Shift   [LShift] = 

Left Shift

[RShift] = 

Right Shift  

[Ctrl]  = 

Left Ctrl

[LCtrl]  = 

Left Ctrl   [RCtrl]  = 

Right Ctrl

[Alt] 

Left Alt  

 

[LAlt]  = 

Left Alt

[RAlt]  = 

Right Alt   [Esc]  = 

Escape

[F1] 

F1 key  

 

[F2] 

F2 key

[F3] 

F3 key  

 

[F4] 

F4 key

[F5] 

F5 key  

 

[F6] 

F6 key

10

message to prevent a stuck key.  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.

NOTE: Serial data in and out of the KE72 serial port is always at 9600 Baud, 8 
bit characters, No Parity, and one stop bit. No hardware handshaking is used. 
Custom versions are available, please contact us with your requirements.

0xC2 

- Use this one byte command to set the serial translation 

mode to ASCII to Keystroke.  This mode is also the default mode 
at power on or reset.  The KE72 responds with “!” to acknowledge 
receipt of this command.

0xC3

 - This command will set the KE72 serial translation mode 

in Key Number to Keystroke.  While in this mode, a single byte is 
sent 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 0xC2 command, a reset to the PC occurs, or the 
PC is powered down and back up.  The KE72 acknowledges re-
ceipt of this command with the “!” character.

0XC4

 - Use this command to poll the KE72 for the current se-

rial translation mode.  When the KE72 receives this command, 
a character is returned by the KE72 which indicates the current 
serial to keystroke mode.

”1”  (0x31)  is  returned in response to the 0XC4  command if the KE72 is 
operating in the ASCII to Keystroke mode.

“2”  (0X32)  is  returned in response to the 0XC4  command if the KE72 is 
operating in the Key Number to Keystroke mode.

0XC5

  -  Input state command.  When this serial command is 

received by the KE72, a string of 9 bytes are transmitted on the 
serial port which indicate the current debounced status of each of 
the 72 inputs on the KE72.  The first byte returned in response to  

17

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: