Create and install PLC library
Configure the content of the PLC library
As described at Working with the PLC library, the PLC library can contain different function blocks.
- The function block FB_<modelname> in the folder POU contains the full functionality of the Simulink® model, i.e. the source code is directly anchored in the FB. This FB is called PLC-FB in the following.
- The subfolder POU/TcCOM Wrapper contains FBs that are wrappers for a TcCOM object, i.e. the functionality is not directly in the FB but is outsourced to an instance of a TcCOM. The wrappers are called TcCOM-Wrapper-FB in the following.
In the following, you will learn how to configure the two function blocks and how to install the PLC library created.