Example: Activating the key filter, but allowing use of the NUM-lock key.
This example activates the key filter (KeySequencesEnable = 1) and filters all possible
keyboard entries except the NUM-lock key.
KEYB_FILTER Section name (mandatory):
KeySequencesEnable = 1 Activate key filter
SeqActive_19= 0 Do not filter NUM-lock key
In the adapted file in the user directory (e.g. ...\oem\System\etc\) therefore only the
section name [KEYB_FILTER] is mandatory as well as the settings that you want to adapt.
All other settings and values are taken over from the template.
Template of the key filter in the delivery condition
The template is located in directory C:\ProgramData\Siemens\MotionControl
\siemens\System\etc\
Do not overwrite this template, but save a copy of this template pcuhwsvc.ini in one of the
user directories.
● C:\ProgramData\Siemens\MotionControl\user\System\etc\
● C:\ProgramData\Siemens\MotionControl\oem\System\etc\
● C:\ProgramData\Siemens\MotionControl\addon\System\etc\
See also: Directory structure and file conventions (Page 14).
How the configuration file works
You can configure the key filter in section [KEYB_FILTER]. The lines identified by a number
sign (#) are comments as to which line further down deactivates a particular keyboard entry.
● To activate a particular keyboard entry, find the key in the comment and then set the value
to 0.
● To allow all keyboard entries and thus deactivate the key filter (factory setting), set the value
to 0 in the KeySequencesEnable key.
If the value 0 is set for this key, all other keys will be ignored and the key filter is deactivated.
● To completely deactivate the repeat function of the F1-F12 keys and all hard keys, set the
value 1 at the AutorepeatSuppression key.
Table 5-1 Overview: Key filter in the configuration file pcuhwsvc.ini
Section [KEYB_FILTER]
Key SeqActive_x
Value 0 = specific keyboard entry activated
1 = specific keyboard entry will be filtered and is deactivated
Factory setting 1
pcuhwsvc.ini (Vorlage im Verzeichnis ...\siemens\System\etc)
[GLOBAL]
# -----------------------
Installing and configuring updates and automation software
5.6 Configuring a key filter for HMI software
PCU Base Software (IM10)
Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1 103