You are here: Core Reference > Coding > Logic > Logic Guide - Setting the Default Values (ST Programs)

Setting the Default Values

You can assign default values to any of the variables and derived data types. This is useful for programs that need to be set to a specific value prior to them being executed.

You can define default values in a VAR block (in which case, they cannot be overridden) or in a TYPE block (in which case they can be overridden by values in the VAR block).

The following sections describe the formats for entering default values:


ClearSCADA 2015 R2