Trusted Libraries
Trusted
LibrariesEach
Trusted®
project contains one global library. The global library is made up of functions and function blocks available for reuse throughout a Trusted
project. Using the IEC 61131-3 languages, you can write functions (FBD, LD, or ST) and function blocks (FBD, LD, or ST). You cannot remove the global library from a project.Library functions and function blocks must have unique names within a project. When these have the same names as those defined in a project in which the functions or function blocks are used, only those from the project are recognized.
Library functions and function blocks are compiled with the project. However, you can verify the syntax for the Global library.
Tasks to perform with libraries are:
Task | Procedure |
---|---|
Add a function or function block to the library |
|
Copy and paste function or function block | Copy and paste functions and function blocks between the Global library and the project, and vice versa.
|
Export a function or function block | Export functions or function blocks as exchange files (*.txf) to import them into
projects or global libraries on different workstations.
TIP:
Exporting a function or function block also
exports its local variables and local defined words.
In the Application View , right-click the function or function block, and then click Export... .
|
Add a function or function block from an exchange file | Import functions or function blocks previously exported as exchange files (*.txf).
|
Drag and drop a function or function block between the Global library and the project |
|
Verify syntax of library elements | In the Application View , expand Libraries , then right-click Global , and then click Verify . |
Provide Feedback