ABB IndustrialIT Compact HMI 800 Getting Started page 53

Table of Contents

Advertisement

Section 4 Engineering
Now we will make the color change depend on the property value in the PLC. Click
in the middle of the circle and the expression builder appears. Click on FillColor in
the expression builder.
Now we will enter an expression that will change the color.
Example:
1.
In the field FillColor type "iif("
(omit the circumflex signs when you type)
2.
Then select the object property (that should trigger the color change) in the List
of properties show in the Object Property tab in the Expression builder.
3.
Click on e.g. "..Motor_ON"
4.
Then scroll down and double-click "Value - Binary PCA", in the right column
(now the property has been selected).
5.
Write a comma (",") in the fill color field.
6.
Select the color tab below.
7.
Now select the color representing "on". Double-click on the color named
"measure".
8.
Write a comma (",") in the fill color field.
9.
Select color "SymbolOff" as alternate fill color.
10. Enter ) at the end of the row and then type Enter.
11. Go to File menu and select Deploy, select OK.
12. The graphics element is now ready to be used in a display.
13. Close the graphics builder by File > Exit.
3BSE040587R4401
Adding Graphical Elements
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents