Logic Controls LK1800 User Manual

Page 20

Advertising
background image

20

LK1800 User Manual Rev. 1

PROGRAMMING EXAMPLES

1. Special

Features

To program key sequence <Ctrl-A> then <F9>, the <Ctrl> key need to be released
before pressing <F9>. Otherwise, the definition will be interpreted as <Ctrl-A>, <Ctrl-
F9>.
• [Ctrl][A][0F0][Ctrl][F9]

2. Multi-Shift-Level

Function

This function programs a key that contains several levels of definitions such as “Small
Coke”, “Medium Coke”, “Large Coke”. When pressing this key, the actual output will be
any of the 3 strings. We may call this a multi-definition key.
• Small Coke[Separator]Medium Coke[Separator]Large Coke. Two other keys are

programmed as the Multi-Shift-Level function keys, Level 1 and Level 2.

• [ShiftLevel1]

• [ShfitLevel2]
If the multi-definition key is pressed alone, message “Small Coke” will be sent out. If
the [ShiftLevel1] key is held down and the multi-definition key is pressed, message
“Medium Coke” will be sent out. If the [ShiftLevel2] key is held down and the multi-
definition key is pressed, message “Large Coke” will be sent out.


3. Inter-string

Delay

Sometimes, when a key is pressed, the application software takes time to respond
before the next key can be pressed. For example, after pressing <F2>, wait 1 second
before entering <3> and <Enter>.
• [F2][Delay1][3][Enter]

4.

Starting a Windows Program by pressing a Key on the Programmable Keyboard
To start a Windows Program, the [Win] key is used activate the Start menu and the
Run command is used. Note that the whole key definition has to be done with Scan
Code mode. Break codes have to be inserted where necessary to allow Windows to
recognize the command string correctly. For example, release Win key, Shift keys and
to enter more than one stroke of the same key (e.g. 00). To run a program in path
“C:\Program Files\Test\Demo001.exe”, the following key definition is required:

[Win][0E0][0F0][Win][R][C][Shift][;][0F0][Shift][\][P][R][O][G][R][A][M][Space][F][I][L][E][S][\][
T][E][S][T][\][D][E][M][O][0][0F0][0][0][1][.][E][X][E][Enter]

Advertising