Copying license files from the dongle to the IPC
TwinCAT root directory <TwinCAT_ROOT> Up to and including TwinCAT 3.1.4024: C:\TwinCAT |
See also the notes on the working directory for license files in section Local working copy of license files.
- 1. Update the dongle status to ensure that TwinCAT Engineering can access the current dongle (see also Determining the current status of a license dongle).
- 2. To copy the license files on the license dongle into the directory <TwinCAT_ROOT>\3.1\target\license on the target system (control computer), click Cache Dongle Licenses in the License Device window.
- The license files are copied. The copies of the license files on the hard disk of the control computer have the prefix "cache..." to identify them as "cached" copies.
Make sure the checkbox Update license cache using dongle content on startup is checked so that any new license files on the dongle are automatically copied to the license working directory of the control computer when the TwinCAT Runtime is started and thus made available to the TwinCAT Runtime. When the dongle is exchanged, for example, the corresponding new license files are automatically copied to the license working directory on the control computer.
TwinCAT root directory <TwinCAT_ROOT> Up to and including TwinCAT 3.1.4024: C:\TwinCAT |
Creating a local working copy of the license file
TwinCAT 3 does not work directly with the License Response Files on the license dongle, but with a "working copy" of the files on the hard disk of the IPC (directory: <TwinCAT_ROOT>\3.1\target\license).
Do not deactivate automatic download of license files The license files must be downloaded manually or automatically once when starting the TwinCAT 3 Runtime (if required). Automatic download is preconfigured in TwinCAT 3 Engineering and should not be disabled. The name of the license files downloaded from the TwinCAT 3 license dongle in the license folder begins with "Cache...". If automatic downloading is configured in TwinCAT 3 Engineering, TwinCAT 3 checks at Runtime startup whether there are license files on the dongle that are not yet present in the license working directory of the IPC (<TwinCAT_ROOT>\3.1\target\license). If this is the case, the files are copied from the dongle into the license directory of the IPC. The Runtime must then be restarted to validate the newly copied license files. |