Skip to main content

Condition Logic

The Logic Engine determines the current condition of an asset by using one or more "logic" elements (like rungs in a ladder). These logic elements are evaluated in order from top to bottom (like a ladder), always starting with a DIRECT logic type.

Logic Types

Type

Description

DIRECT

Always the first logic element in the list. This determines the initial truthfullness of the condition, on which any subsequent elements act.

SET

If the current value of the overall condition is FALSE, and the evaluation of this element produces TRUE, the overall condition will be changed to TRUE. Otherwise, no action will be taken.

RESET

If the current value of the overall condition is TRUE, and the evaluation of this element produces TRUE, the overall condition will be changed to FALSE. Otherwise, no action will be taken.

EXPR

If the value of the complex expression assigned to this element is TRUE, the overall condition will be changed to TRUE. Otherwise, the overall condition will be set to FALSE.

Logic Engine Algorithm

The current condition is determined using an algorithm that evaluates one or more logic components, based on the condition's priority.

ConditionsFlowchart.png