Add library
For the application of the PLC variant I (trigger via XtsUtility) the suitable library must be added:
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. |
- ►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 ...
The dialog box Add Library opens.
- ►Expand (Miscellaneous)
- ►Click on Tc3_XTS_Utility
- ►Confirm with OK
The library is added to the project.
- ►Expand Solution Explorer > TwinCAT Project > PLC > PLC1 > PLC Project > References
- ►Check whether the Tc3_XTS_Utility library has been added to the project
Depending on whether the Processing Unit object or the TcIoXtsDrv object is used, the functions in the library differ. |
See also