beckhoff TwinCAT 3 — 4.1 Commissioning and configuring license dongles

Working with TwinCAT 3 license dongles Search in I/O configuration This is the standard method. The USB dongle is stored in the configuration of the project. An entry in the "currentconfig.sys" file is used to control that a license file that is not yet in the license folder of the IPC is automatically copied to the license folder of the IPC when TwinCAT Runtime is started. Afterwards, a manual restart of the runtime is required, as this cannot be triggered automatically for security reasons! The license files can also be copied manually into the license folder via the "Cache Dongle Licenses" button and are then immediately available.

Note that the license files are checked when TwinCAT Runtime is started and then approximately every two minutes. The license status displayed in TwinCAT represents the results of the last license check and does not reflect the current contents of the license directory. The pure (manual) copying of the license files into the license folder therefore does not lead to an immediate change of the license status displayed in TwinCAT. Search USB Dongle on Target With this method, a TwinCAT USB dongle can be found in the system and communicated with. The USB dongle is NOT stored in the configuration of the project.

There is also no entry in the "currentconfig.sys" file which would cause a license file that is not yet in the IPC's license folder to be automatically copied to the IPC's license folder when TwinCAT Runtime is started. ALWAYS manually download the license files contained on the dongle into the license directory of the IPC once. This method of using a USB dongle is therefore not suitable for applications where a USB dongle is to be replaced later and then used automatically, since the license files of the new dongle would have to be copied to the target system manually. An example application for the Search USB Dongle on Target button is its implementation for engineering licenses.

If in doubt, always use the "Search in I/O configuration" button! To use a USB dongle, e.g. with engineering licenses, the relevant license file simply needs to be available in the license directory of the IPC. No further configuration is required in this case. TwinCAT 3 31 Version: 1.20.7