Configuring a Truth Table Fill Style Animation
- Last UpdatedJul 13, 2023
- 3 minute read
You can configure an element with a fill style animation based on a truth table.
To configure an element with a truth table fill style animation
-
Select the element.
-
On the Special menu, click Edit Animations. The Edit Animations dialog box appears.
-
Click the Add icon and select Fill Style. The fill style animation is added to the Animation list and the Fill Style state selection panel appears.
-
Click the Truth Table button. The Truth Table Fill Style configuration panel appears.
-
In the Expression Or Reference area:
-
Select the data type of the expression from the list.
-
Type a value, equipment.item 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, click the color box in the Color column. The Select FillColor dialog box appears. For more information, see Setting Style.
-
In the Operator column, select the comparison operator.
-
In the Value or Expression column, type a value, equipment.item reference, or expression.
-
To add further conditions, see .
-
Click OK.
To set the default fill style for a truth table fill style animation
-
Open the Edit Animations dialog box, Truth Table Fill Style panel.
-
In the Element Fill Style area, click the color box. The Select FillColor dialog box appears. For more information, see Setting Style.
To use the default fill style in a truth table fill style animation
-
Open the Edit Animations dialog box, Truth Table Fill Style panel.
-
Locate the condition for which you want to set the style to default style.
-
Clear the mark for that condition in the Color column of the truth table. The associated style is the same as the style for the Element Fill Style.
To add a condition to a truth table fill style animation
-
Open the Edit Animations dialog box, Truth Table Fill Style panel.
-
Click the Add icon. An additional condition is added to the truth table.
-
Configure color, operator and breakpoint value according to your requirements.
To delete a condition from an analog fill style animation
-
Open the Edit Animations dialog box, Truth Table Fill Style panel.
-
Select the condition you want to delete.
-
Click the Remove icon. The condition is removed.
To change the processing order of fill style conditions
-
Open the Edit Animations dialog box, Truth Table Fill Style panel.
-
Select the condition you want to move up or down the condition list in order for it to be processed sooner or later.
-
Click the:
-
Arrow up icon to move the condition up in the truth table.
-
Arrow down icon to move the condition down in the truth table.
For example, you want to model an analog fill color animation that describes the following conditions:
-
When the equipment.item TankLevel_001.PV is 0 then the fill style is solid black.
-
When the equipment.item TankLevel_001.PV is smaller than 20, then the fill style is solid red.
-
When the equipment.item TankLevel_001.PV is greater than the equipment.item Standards.TankMax then the fill style is red with a diagonal pattern.
-
In all other cases, the fill style is solid blue.
-