Add library

For the application of the PLC variant I (trigger via XtsUtility) the suitable library must be added:

Add library 1:

Name for file path different

When creating the library under PLC, a name must be assigned. In the following example, no name has been assigned, so the file path is shown as Untitled. Note that your file path will look different accordingly.

Add library 2:
Expand Solution Explorer > TwinCAT Project > PLC > Untitled1 > Untitled Project
Right-click on References to open the context menu
In the context menu click on Add library ...
Add library 3:

The dialog box Add Library opens.

Expand (Miscellaneous)
Click on Tc3_XTS_Utility
Confirm with OK

The library is added to the project.

Add library 4:
Expand Solution Explorer > TwinCAT Project > PLC > PLC1 > PLC Project > References
Check whether the Tc3_XTS_Utility library has been added to the project
Add library 5:

Depending on whether the Processing Unit object or the TcIoXtsDrv object is used, the functions in the library differ.