Execution within the PLC
With the help of the Target for FMI it is not only possible to create a TcCOM module that can be instantiated directly in the TwinCAT project. You can also create a PLC library that allows you to call up the behavior of a model imported via Target for FMI within the PLC.
Calling the imported model in the PLC works as follows:
- 1. Create a PLC project.
- 2. Add the generated library to the PLC project.