TABLE OF CONTENTS
Solution 4.1 Create a element icon ............................................................................................................................................. 4.1-1
4.1.1 Solution Steps............................................................................................................................................................. 4.1-3
4.1.1.1 Create new graphic element for the agitator ...................................................................................................... 4.1-3
4.1.1.2 Insert graphic from ActiveX Symbol Library .................................................................................................... 4.1-3
4.1.1.3 Create expressions for changing the color ......................................................................................................... 4.1-5
4.1.1.4 Deploy and test the element................................................................................................................................ 4.1-6
4.1-1
4.1-2
Open the Graphics Builder for the Display Element Icon 1 element and insert
the ActiveX Symbol Library.
Solution: Open the Graphics Builder for the element. Insert the library by clicking
the menu entry Tools Graphic Libraries. Enable the ActiveX System Control
Library then.
Create a new SFStandard element from the library, open the Properties for the
element and select a graphic for a motor (displayed in the picture below).
Solution: Create the SFStandard element, right click onto the element and
selecting Properties.
In the Properties Window please set the FillColorMode to 1-Shaded and select
a color like displayed in the picture below.
Solution:
4.1-3
Create a new SFStandard element from the library, open the Properties for the
element and select a graphic for a quirl (displayed in the picture below).
Solution: Create the SFStandard element, right click onto the element and
selecting Properties.
In the Properties Window please set the FillColorMode to 1-Shaded and select
a color like displayed in the picture below.
4.1-4
Move and resize the elements so that the shape is rather as displayed in the
picture below. Please resize the drawing area width as well and leave the
height as it is.
Open the Expression Builder for the motor element and select the property
FillColor from the tab card Alphabetic.
Solution: From the tab card please select the FillColor property and click into the
expression field of it. Type in the start command for an expression: iif(.
From the bottom of the Expression Builder select the Object Property tab card and
select the main object (which is the Agitator function block type) with a click onto
the dot .. From the area to the right browse for the property Out and expand it.
Select then the child property Value and click onto the Insert button at the bottom
of the Expression Builder.
In the expression field of the property FillColor type in a ,. At the bottom please
select the tab card Colors and select the FacePlateColors for it. Browse for the
color On and click the Insert button at the bottom.
In the expression field of the property FillColor type in a ,.Please select the tab
card Colors again, browse for the color Off and click the Insert button at the
bottom.
4.1-5
4.1-6