beckhoff TwinCAT 3 — 7.1 Versioned C++ Projects

Modules - Handling | Versioned C++ Projects 7 Modules - Handling | Modules - Handling TcCOM modules are implemented and loaded after a build. This section describes the handling of modules when they are exchanged between systems. These modules are programmed in Versioned C++ projects [ } 49] that generate a tmx file in order to load them with the TwinCAT Loader [ } 50] (since TwinCAT 3.1 Build 4024). Driver projects For older projects, Beckhoff recommends switching to the versioned C++ projects [ } 49] , as these offer the following advantages, for example: Driver signature [ } 21] via OEM certificates that can be obtained from Beckhoff. Versioned storage [ } 50] of the binaries.

Online Change capability [ } 148] , if required. After installation under TwinCAT 3.1 Build 4026, a conversion is available on the C++ node for migration from the older projects ("driver projects"). This can be accessed via the context menu: The migration generates a report as an HTML file that should be taken into account. 7.1 Versioned C++ Projects | Versioned C++ Projects Versioned TwinCAT C++ projects result in an architecture-dependent file when building. TMX files for Windows (x86 / x64) and TwinCAT/BSD® - these are loaded via the TwinCAT Loader [ } 50] . They must be signed by a TwinCAT user certificate.

TME files for Beckhoff RT Linux ® are loaded by the operating system and do not need to be signed. If a C++ project was created using the “Versioned C++ Project” template, the binaries are stored by Publish in the TwinCAT Engineering Repository (under TwinCAT 3.1 Build 4024: C:\TwinCAT\3.1\Repository and TwinCAT 3.1 Build 4026 C:\ProgramData\Beckhoff\TwinCAT\3.1\Repository) at a vendor- and version- specific location. From here, modules are transferred to the target system, if they are needed: Windows with TwinCAT 3.1 Build 4024: C:\TwinCAT\3.1\Boot\Repository Windows with TwinCAT 3.1 Build 4026: C:\ProgramData\Beckhoff\TwinCAT\3.1\Boot\Repository TwinCAT/BSD ® :

/usr/local/etc/TwinCAT/3.1/Boot/Repository TwinCAT 3 49 Version: 1.19.1