You are here: Core Reference > Coding > Logic > Using EN and ENO to Control when a Function is Performed

Using EN and ENO to Control when a Function is Performed

Functions used in Ladder Diagrams and Function Block Diagrams have an extra input and output. The extra input is EN and the extra output is ENO:

You can set a function to be both EN and ENO at the same time. This allows you to control whether the function is performed and to determine whether it is executed successfully. By chaining the ENO output of one function to the EN input of another, you can create a flow of functions that are only executed if the previous function was successful.

In ST, you can refer to the EN and ENO input and outputs in the same way as other variables. For example:


ClearSCADA 2015 R2