Preparation - only once
A PC for engineering lambda functions and thus TwinCAT C++ modules must be prepared. You only have to carry out these steps once per system:
- Configure the TwinCAT Basis as well as the configuration and platform toolbar.
- Create a test certificate to sign the modules
- Use the TcSignTool to store the certificate password outside the project
- Create an environment variable with the certificate name
When publishing the C++ Lambda function, an overview of the corresponding signature requirements is output in the log file. The log file can be searched for "Checking Signing Preconditions" and the corresponding error handling can be taken. A successful signing of the drivers looks like this: