Configuration
54
Mobile Panel 7200 User's manual V 1.01
5 Configuration
5.1 Key configuration
Some keys on MP7251 have predefined key codes. Key assignments can be changed using the
key configuration
mapping
(KCM). The KCM file is a text file loaded to or from the device via the ADI or B&R Control Center.
The file contains two sections:
Information
and
ScanCodeMapping
.
The following listing shows the default key configuration:
[Information]
Version=01.00
BuildDate=2020-02-07
UserInfo=5MP7251.101P-000
[ScancodeMapping]
KEY_000=00,00,00,00,00,00,00,00
KEY_001=00,00,00,00,00,00,00,00
KEY_002=00,00,00,00,00,00,00,00
KEY_003=00,00,00,00,00,00,00,00
KEY_004=00,00,00,00,00,00,00,00
KEY_005=00,00,00,00,00,00,00,00
KEY_006=00,00,00,00,00,00,00,00
KEY_007=00,00,00,00,00,00,00,00
KEY_008=00,01,00,00,00,00,00,00; ESC
KEY_009=00,2A,00,00,00,00,00,00; Shift Left
KEY_010=E0,49,00,00,00,00,00,00; Page up
KEY_011=E0,51,00,00,00,00,00,00; Page down
KEY_012=00,00,00,00,00,00,00,00
KEY_013=00,00,00,00,00,00,00,00
KEY_014=00,00,00,00,00,00,00,00
KEY_015=E0,5D,00,00,00,00,00,00; Context
KEY_016=00,00,00,00,00,00,00,00
KEY_017=E0,5B,00,00,00,00,00,00; Windows left
KEY_018=00,00,00,00,00,00,00,00
KEY_019=00,00,00,00,00,00,00,00
KEY_020=00,00,00,00,00,00,00,00
KEY_021=00,00,00,00,00,00,00,00
KEY_022=00,00,00,00,00,00,00,00
KEY_023=00,00,00,00,00,00,00,00
5.1.1 Editing the KCM file
Section
Information
defines the attributes of the KCM file that can be read and displayed via ADI or the B&R Control
Center.
Information
Version
Version of the KCM file [xx.yy]
Build-Date
Creation date of the KCM file [yyyy-mm-dd]
UserInfo
User information [String, max. 88 characters]
Section
ScanCodeMapping
is where the scan codes for the individual keys are configured. Possible entries are
KEY_000
to
KEY_255
. The number in
KEY_xxx
defines the key number, which corresponds to the key's bit position
in the key matrix. Each entry defines a scan code (CN) and three modifier codes (MF1 to MF3). Scan codes and
modifier codes each have a length of 2 bytes.
The following example shows how a ScanCodeMapping entry is structured.
ScanCodeMapping
KEY_xxx=SC,SC,MF1,MF1,MF2,MF2,MF3,MF3
Schematic diagram of an entry
Scan code set 1 is used for the configuration. For a current listing, see
.