Compiling a Function Block Diagram or Function Block Library

You can use the Build menu options to compile your Function Block Diagram or Function Block Library (see ST and Function Block Libraries). The compilation feature is useful as it checks that your Function Block Diagram has the correct syntax.

There are 2 compile options:

To compile a Function Block Diagram:

  1. Display the Function Block Diagram or Function Block Library in Design mode.
  2. Select the Build menu, then select the Compile option or the Compile with Diagnostics option as required.
    The Function Block Diagram is compiled and the compile messages are shown in the Compiler display.

If the program is invalid, you will need to alter the Function Block Diagram. Typically, the causes of syntax errors are minor, such as the wrong type of value being specified or a missing connection.

If a database item's name includes parentheses ( ), you should ensure that each opening parenthesis is paired with a closing parenthesis. If this is not the case, any Logic programs that reference the database item will not compile successfully. For example, a point named "Analog Point (4" or "Analog Point (4))" will generate a compile error message. Multiple sets of parentheses will compile successfully, including nested parentheses. For example, a Logic program can refer to a point named "Analog Point (4)" or "Analog Point (4(x))". For more information, see Limitation for Database Item Names Referenced in Logic Programs in the Geo SCADA Expert Guide to Logic.


Disclaimer

Geo SCADA Expert 2022