You are here: Core Reference > Coding > Logic > Logic Guide - ST and Function Block Libraries

ST and Function Block Libraries

ClearSCADA allows you to create custom function blocks. You can use custom function blocks, referred to as user function blocks, to significantly reduce the amount of Logic programming required on your system.

User function blocks allow you to create special items that can be referenced by other Logic programs. These special items are called Libraries, and you can use them to store function blocks that need to be used by several programs. As the configuration for a user function block is stored in a Library, it means you can include the function block in a program simply be referencing the Library. There is no need for you to program the function block in each Logic diagram or ST program.

There are 2 types of Library:

Both ST Libraries and Function Block Libraries allow you to create custom function blocks that can be referenced by other Logic programs. Before you decide which type of library you are going to use, you should consider:

When you have decided on the type of library you are going to use, you can create a suitable database item and then edit the library.

To create, edit, reference, and update Libraries, refer to the relevant section:


ClearSCADA 2015 R2