Boolean (BOOL) data type
Boolean variables (BOOL) can take one of the Boolean values: TRUE or FALSE. Boolean variables are typically used in Boolean expressions.
TIP:
FactoryTalk Design Workbench
evaluates all parts of Boolean literal expressions. This differs from the IEC61131-3 standard, which states that Boolean expressions can be evaluated only to the extent necessary to determine the resultant value.Boolean literal expressions:
- TRUE is equivalent to the integer value 1.
- FALSE is equivalent to the integer value 0.
Provide Feedback