Configure a truth table animation to use element styles
- Last UpdatedJan 15, 2025
- 2 minute read
You can configure an element or a group of elements with a Truth Table animation that can select multiple Element Styles based on a set of evaluated values or expressions.
Truth Table animation is typically used to set Element Styles for the different states of an object. For example, you can set Truth Table conditions to show different Element Styles that represent the following alarm conditions:
-
When the attribute TankLevel_001.PV is 0 then no Element Style is applied.
-
When the attribute TankLevel_001.PV is less than 20, then the Element Style is Alarm_Minor_Dev.
-
When the attribute TankLevel_001.PV is greater than the attribute Standards.TankMax then the Element Style is Alarm_Major_Dev.
To configure an element or a group of elements with an element style that uses truth table animation
-
Open the graphic in the IDE Industrial Graphics Editor.
-
Select the element or group.
-
On the Special menu, select Edit Animations. The Edit Animations dialog box appears.
-
Select the Add icon and select Element Style. The Element Style animation is added to the Animation list and the Element Style state selection panel appears.
-
Select the Truth Table button. The Truth Table Element Style configuration panel appears. The Element Style that is applied to the element is shown in the Element Style list at the bottom of the panel.
-
In the Expression Or Reference area:
-
Select the data type of the expression from the list.
-
Type a value, attribute reference or expression in the text box.
-
-
If the data type of the expression is string or internationalized string, you can specify to ignore the case by selecting Ignore Case.
-
In the Truth Table, select the Element Style check box and select the Element Style for one of the conditions to be defined in the truth table.
-
In the Operator column, select a comparison operator.
-
In the Value or Expression column, type a value, attribute reference, or expression.
-
To add other conditions:
-
Select the Add icon. An additional condition is added to the truth table.
-
Select the Element Style check box, select the Element Style for the condition, select an operator, and enter the condition value or expression.
-
-
After adding all truth table conditions, select OK.