Hagstrom KE24 User Manual - page 19
Keyboard Make/Break:
The standard PC keyboard sends a “Make” code when a key is
pressed, and a “Break” code when a key is released. When the
external keyboard data is being directed to the PC, this setting
must be “Make/Break,” meaning both “Make” and “Break” codes
are sent to the PC.
If the external keyboard data is being sent to the serial port, in
either ASCII mode or Key # mode, this option may be changed.
If programmed to be “Make/Break,” the KE24 will send the
corresponding code to the serial port when the key is “made,”
and the same code +128 decimal when the key is released. (See
the section on the KE24 serial port.)
Switches/Keypad To:
This option controls where input from devices connected to
the KE24 I/O header will be output. If set to COMPUTER, the
programmed response codes will be sent to the PC. If set to RS-
232, the codes will be sent to the KE24 serial port.
KE24 Make/Break:
The response from KE24 inputs will send a “Make” code when
the input is first “made,” then a “Break” code when the input is
released, when sending the data to the PC. If the data is being
directed to the serial port on the KE24, this setting may be either
“Make” or “Make/Break.” If “Make” is selected, the KE24 will
send the response code which you have programmed for that
input when the input becomes active. No response will be sent
when the input is released.
If “Make/Break” is selected, the programmed code will be sent
to the KE24 serial port when the input is “made.” When the input
is released, the KE24 will send a hex “F0” code followed by the
same “make” code for that key, indicating it has been released.
18
The KE24Load Program
The disk shipped with your unit contains the program “KE24Load”
for configuring the KE24. The program may be run from your
diskette drive, but copying the program to its own directory on a
hard drive is recommended.
Through use of this program, the user may set the number of Rows
and Columns to be scanned, response keystrokes for each input,
and other various options.
The normal course of events for configuring your KE24:
1. Start the configuration program by typing KE24Load.
2. Choose the matrix and discrete input configuration to
be used, and assign the pins according to the functions
(Row, Column, Discrete Input) that you want them to
have.
3. Program the Options for direction of the port data, baud
rate, etc (refer to page 17).
4. Edit matrix tables and your discrete input tables. Program
each input to emulate the keys you have selected for
your application.
5. Save your configuration to disk.
6. Download the configuration to the KE24.
The KE24 configuration is re-programmable, so you may
experiment and change your configuration as required. After being
programmed, the KE24 will run according to that configuration
each time it is powered up.
In certain situations a programming jumper is needed to program
the KE24. See appendix C: Placing KE24 in PROGRAM Mode.
13