Creating TMX archives
In order to use the created TwinCAT objects in a project, they must be available on the engineering system in the corresponding repositories/folders. The corresponding copying to these folders can be done manually, but this is error-prone. The solution to this is the creation of a TMX archive. This is a self-extracting exe archive that copies the files into the appropriate directories so that they can be found by the TwinCAT Engineering environment.
Procedure:
- 1. Open the tab Build.
- 2. In the TMX Archive field, enter the path and name of the TMX archive to be created with the next build.
- In the specified directory you will find a self-extracting archive containing the tmx files.
You can also use wildcards when specifying the path and name:
e.g.: C:\temp\[Date]-[Time]-[LibName][LibVersion].exe
This creates, for example, a TMX archive 2022-06-27-150403-Sample0.0.0.7.exe, which can then be copied to any location on an engineering system and executed.