The Execution Status logic block provides information about the conditions of the current execution:
-
Power Up: First execution following controller power cycle
-
Restart: First execution following controller reboot without the power being lost
-
Re-Enabled: Neither of the above conditions are true and this is the first execution after being re-enabled
-
Normal: None of the above conditions are true
An example use of the Execution Status block is to execute alternate logic for the first execution following a power failure or controller restart by using the Present Value to set the State of a Hybrid Activity.
You can use this block to perform a different calculation for the first execution after a particular State of a Hybrid Activity is enabled (for example, Execution Status - Present Value connecting to a MUX within a Hybrid Activity State section).
The Reliability associated with the Execution Status block always reports as Reliable.
The following table describes the output of the Execution Status logic block.
Name |
Data Type |
Exposed for Connection by Default |
Description |
Default Value |
---|---|---|---|---|
Outputs |
||||
Present Value 1 |
Enum |
Yes |
Indicates the enumeration value output that provides information about the execution status. |
Normal Set Name: Execution Status Normal, Power Up, Restart, or Re-Enabled |