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. Furthermore, a PLC library can be created which allows to call the behavior of a model imported via the Target for FMI also 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.
See also Creating and installing a PLC library.