Programming Macros - Hagstrom KE24 User Manual

Pc keyboard encoder
Table of Contents

Advertisement

Write to KE24
Once you have created your configuration, you may choose
this selection from the File menu to load the configuration to the
KE24. Be sure to have the correct port selected. To select the
port click the Options header on the menu and then select the
communication port. Programming via the keyboard port avoids
the requirement for a serial cable and is recommended.

Programming Macros

The KE24 supports Macros for the inputs connected to the
I/O header. A single input from either a matrix or discrete input
configuration may be programmed to send a series of keystrokes
to the computer.
In order to understand how to correctly create a Macro, you should
first understand how the PC keyboard sends its information to the
PC.
When you press a key on your computer keyboard, the keyboard
sends a "Make" code as soon as it sees the key pressed. When
the key is released, the keyboard sends a "Break" code to the
computer to let it know that the key has been released.
When programming Macros, you create a series of these "Make"
and "Break" codes to create the desired sequence. It is important
that for each "Make" code programmed, there is a corresponding
"Break" code transmitted at a later time. Macros that leave keys
"Made" could cause the computer to misunderstand further
keystrokes.
When editing the Matrix or Discrete Input Table, a macro may
be created by Ctrl+clicking on a cell in the table. The macro
dialog will then appear for that input. Click on a cell in the macro
dialog
21

Advertisement

Table of Contents
loading

Table of Contents