344 HEIDENHAIN Technical Manual MANUALplus 620
Defining numbers
for OEM
parameters
The machine configuration of the control enables you the make your own PLC
machine parameters through the config objects CfgOemBool, CfgOemInt,
CfgOemString and CfgOemPosition, see "Data transfer machine
parameters => PLC" on page 1657. The following describes how you can
assign your own MP numbers to these PLC machine parameters. The number
range 900000 to 999999 is available so that the OEM can group his own
parameters and find them better.
The numbering of the OEM parameters is configured over a dedicated XML
file. This XML file must be called PlcUniqueNumbers.xml and saved in the
PLC:\config\layout folder. The file is optional—if the file is not available, the
OEM parameters are not specially numbered.
In the following example, the number 901000 is assigned to an OEM position
value (CfgOemPosition) with the designation NP_LimitSwitch1:
<?xml version="1.0" encoding="utf-8"?>
<UniqueNumbers xmlns="http://www.hng.ch/UniqueNumbers/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.hng.ch/UniqueNumbers/1
UniqueNumbers.xsd">
<!-- PLC parameters -->
<Group Number="9">
<OemGroup>
<Parameter Number="01000" Name="CfgOemBool-NP_LimitSwitch1
-value"/>
</OemGroup>
</Group>
</UniqueNumbers>
Note that the name of the config object, the key name (in this case the name
of the operand) and the parameter name must each be entered separated by
a hyphen:
...Name="[config object]-[key name]-[parameter name]"
The OEM parameter must be known to the system for it to be assigned a
number. So first configure all required OEM parameters using the config
editor, then specify the assignment to the OEM specific numbers.