PC Keyboard to Serial Port (ASCII)
The KE24 may be programmed to send data from the PC keyboard
to the KE24 serial port in ASCII representation.
If programmed to send the key data from the PC keyboard in
ASCII, the corresponding ASCII code is transmitted by the KE24
for each press of a key. If a “break” code is selected to be sent
when the key is released, the same ASCII code is preceded by a
hex “F0”.
KE24 I/O Data to Serial Port
The KE24 may be programmed to send data from keypads or
switches connected to the I/O header. When detected, the user
programmed code is transmitted when the input is “made.”
In addition to the “make” code for the input, the KE24 may be
programmed in this mode to send a “break” code when the key
is released. If selected, a “break” code consisting of “F0” hex
preceding the “make” code for that key is transmitted when the
input is released.
Use the KE24Load configuration program to specify the codes to
be transmitted for the various key positions. The serial characters
are always 8 bit, no Parity, and 1 stop bit. The Baud rate may be
programmed in increments from 300 to 19200 baud.
Note:
When using the KE24 in modes where no connection to
a PC is required (keyboard to RS-232 or I/O header to RS-232),
you must supply 5 Volts to the unit. Refer to Appendix B for details
of this connection.
12
RS-232 to Computer:
This option may be programmed to one of three settings. If set to
“Disabled,” data received on the RS-232 port is ignored.
When selected as “ASCII Input,” characters received on the serial
port are sent to the PC as the corresponding ASCII character. See
the section on the KE24 serial port for a list of valid ASCII codes
in this mode.
The “Key # Input” setting allows the reception of characters on
the RS-232 port which correspond to any key from the standard
101 key keyboard. See the section on the KE24 serial port for the
key numbers to send for emulating the various keyboard buttons.
In this mode, the user must send a code for the “Make” of the key,
as well as the “Break” code. This method allows for the creation
of multiple keystrokes such as “Ctrl”+”F1.”
Baud Rate Setting:
Program the Baud rate to be used for the KE24 serial port
communication. Rates from 300 to 19,200 are available. The
KE24 uses 8 Bit characters, No Parity, and 1 Stop Bit.
Computer Type:
Set the type of computer that you will be using with the KE24.
Select XT for 8088 based machines and XT compatibles. Choose
AT for 286, 386, 486, Pentium, and PS/2 applications.
Typematic Function:
Enable or Disable the repeat function of devices connected to
the KE24 I/O header. If enabled, the KE24 will begin to repeat
a key based on the Delay and Interval settings when an input is
held “active.” If disabled, the key will never repeat. This setting
pertains to the KE24 I/O header interface, and not to the use of
an External Keyboard.
19