1308 HEIDENHAIN Technical Manual MANUALplus 620
7.3.1 Soft-key resource file
The PLC soft-key structure is defined with MenuDesign in an *.MDF soft-key
project file. Moreover, with MenuDesign you generate an *.XRS soft-key
resource file in which the structure and functionality of the soft-key menu is
entered. The soft-key resource file has a structured XML format.
In the machine parameter MP_softkeyProject, enter the path to the *.XRS
soft-key resource file. After acknowledgement of Power interrupted, the
*.XRS soft-key resource file is evaluated and the PLC soft-key structure is
displayed.
For the soft-key graphics, use .bmx files, which you can create with the
BMXdesign program. As an alternative, you can also use .bmp file for graphic
soft keys. Note the online help of the programs for more detailed information.
Example of a soft-
key resource file
Settings in the configuration editor MP number
System
Paths
CfgPlcPath
softkeyProject 102306
<?xml version=“1.0“ encoding=“ISO-8859-1“ standalone = "yes"?>
<resource>
<imagelist id=“1“ >
<image id="0" transparentColor="#c6c6c6" file="%OEM%\SK\Softkey1.bmx" variant=“01“/>
<image id="1" transparentColor="#c6c6c6" file="%OEM%\SK\Softkey2.bmx"/>
<image id="2" transparentColor="#c6c6c6" file="%OEM%\SK\Softkey3.bmx"/>
...
</imagelist>
<!-- PLC root menuPLC Softkey Menu -->
<menu id="1" m304="W304" ImageListId="1" attributes="PLC | ROOT | VERTICAL | MANUAL |
AUTO | MULTI_LINE">
<item id="100" ImageId="0" ItemType="TYPE_NODE" SubMenuId="2" />
<item id="101" ImageId="1" ItemType="TYPE_NODE" SubMenuId="3" />
<item id="102" ImageId="2" AltImageId="102" ItemType="TYPE_CHECKABLE"
status="MG_Softkey_1" />
...
</menu>
...
</resource>