Creating a license description file for an OEM application license
The type parameters for a TwinCAT 3 license are specified in a license description file in XML format with the extension .tmc.
A license description file contains:
- a one-to-one “License ID”, which makes the license type reliably identifiable
- the one-to-one OEM ID (from the OEM certificate)
- the OEM name
- the name of the license type
- the order number
- optionally an email address for receiving the License Request File
The OEM ID can be used to assign the license to a specific OEM. Only this OEM (with this OEM ID in its OEM certificate) can sign the license with its OEM certificate, thereby making it valid.
An OEM license description file can be opened and modified with a suitable editor. Ensure that the XML structure is not damaged.
Creating a new OEM license description file
TwinCAT root directory <TwinCAT_ROOT> Up to and including TwinCAT 3.1.4024: C:\TwinCAT |
- The Software protection configurator is opened.
- 1. In the Certificates tab, select the OEM certificate on the basis of which the OEM license description file is to be created.
- 2. Click on Create Template License TMC File.
- The Create Licenses TMC File dialog opens.
- 3. Enter the parameters for the OEM license description file:
- Save the license description file in the folder <TwinCAT_ROOT>\3.1\CustomConfig\Licenses and restart TwinCAT 3 Engineering. Only then will the license description file be recognized by TwinCAT 3.
- Enter a license name and license order number.
- 4. Restart TwinCAT 3 Engineering, so that the new license type is detected.
- The license description file has been created.