30799_LAB HMIWeb Display Shape Sequence Implementation
30799_LAB HMIWeb Display Shape Sequence Implementation
Contents
Create and Add Shape Sequences to the Display...............................................................................3
Prerequisites
An Experion PKS Server with HMIWeb Display Builder (needed for database simulation
and lab exercise.)
“Build the Static Parts of the Displays” must be complete.
All points must be downloaded and running.
Introduction
The purpose of this lesson is to configure a shape sequence for pumps P62, P63, P68 and P69 and
manually control the pumps using the faceplates.
A shape sequence consists of a set of shapes that can be used as either a status indicator or as a
simple status animation as shown.
The above shape sequence consists of 3 shapes: an octagon, triangle, and a circle. Each shape would
represent a different point state and be linked to a point/parameter on the server.
For example, if the point is a status point and is in State 0, then the shape for that state is
displayed on the graphic. Similarly, if the point is in State 1, then the displayed shape for that state
is , and State 2 displays as .
In this lab, you will create a shape sequence having 2 states, ON and OFF (you will be provided
additional information in the lab exercises).
Procedure
Creating Shapes
The following procedure creates the first pump shape sequence to be used (with a left orientation).
Step Action
1 Click the arrow to the right of the New Display button and select Shape Sequence from
the drop-down box.
ATTENTION
Step Action
Step Action
With the shape selected, click the paint bucket (Fill Color) arrow on the toolbar,
and select silver for the fill color.
5 Copy the shape five times and arrange as shown below (you will have six pump shapes
when finished, as illustrated).
ATTENTION
6
Click the (textbox) button on the toolbar to insert a textbox:
Replace the word Text with B (B will indicate the bad state).
Change the text color to black, font size 20 and bold.
Alignment to center.
Step Action
7 Place the textbox on the first pump shape as shown below. Arrange the pump shape
using align top, middle or bottom icon at the bottom left of your display.
TIP
Step Action
Shapes must be arranged (left-to-right) in the appropriate order. That is, the first
shape is the left-most shape and represents the lowest state of the point – in our
example, State 0.
A separate shape is created for each possible state of the point/parameter that
will use the sequence.
Step Action
10 The following table relates the pump states to the shapes you have created.
2 State1 Dummy
Light Gray
3 State2 Dummy
Light Gray
4 State3 Dummy
Light Gray
5 State4 OFF
Silver
6 State5 ON
Gray
Step Action
11 Double-click your shape sequence display (background) to open the Shape Properties
window:
The “Use first shape for bad value” checkbox is useful in the case of a status
indicator where the first shape can be used to represent a bad value - for
example, when the server cannot access a point parameter. Our first pump
labeled “Bad” could be used for this purpose. However, in our lab exercise we
are not implementing this feature because we are using a simulated control
environment. Do NOT check the bad value checkbox.
Close the Shape Properties window.
TIP
Step Action
14 If you have performed the previous lab as per pre-defined course sequence, then open
< D_100_IND.htm > from Abstract folder, else open display < D_100_IND.htm > from
C:\ProgramData\Honeywell\Experion PKS\Client\DisplayDB
Step Action
15 Select Edit > Insert Shape to open the Insert Shape window:
Select the pump shape P62.sha.
Note the shape Preview pane at the bottom.
Click Open.
ATTENTION
You can also click on the Insert Shape from File icon,
draw a bounding box for the shape’s location in your
display and then browse for the shape.
Step Action
ATTENTION
When you use the Edit > Insert Shape method for inserting a
shape, the inserted shape is randomly placed in the top left portion
of your display, whereas if you use the Insert Shape icon method,
you have more control for object placement because you draw a
bounding box for the inserted shape’s location.
17 Select the pump shape and move it under the Reflux drum as shown.
Step Action
1 Right-click the pump shape, select Property Pages and enter following data:
Name: SS_P62
ToolTip: P62
Accept the defaults for the remainder of the General tab parameters.
Step Action
2 Click the Behaviors tab and select Shape Sequence Animation and Faceplate option.
3 Select the Details tab and notice the number 1 in the Display shape field.
This indicates that the first shape in the shape sequence will be the placeholder
in your display for the shape sequence. (Also note that the Details tab provides
the shape file name.)
Step Action
5 Select the Animation tab; notice the number 6 in the Number of shapes field. There
were 6 shapes/pumps created in this shape sequence.
Close the shape properties when finished.
ATTENTION
Step Action
6 The shape sequence “placeholder” is now connected to a database point and parameter.
7 Repeat the above Insert Shape procedure to add another pump as shown.
(Or copy the pump already inserted into your display and modify the properties.)
9 Click the Behaviors tab and select the Shape Sequence Animation and Faceplate
check box.
10 Select the Details tab and verify the number 1 in the Display Shape field.
Step Action
Step Action
1 Browse to the abstract folder and Open the shape sequence as P68.sha
(P68.sha Shape sequence is right pump orientation)
2 Insert the pump shape sequence P68 as shown (refer to the previous Creating Shapes
procedure if needed.)
4 Click the Behaviors tab and select Shape Sequence Animation and Faceplate
checkbox.
5 Select the Details tab and notice the shape file name and the number 1 in the Display
Shape field.
7 Select the Animation tab; verify the number 6 in the Number of shapes field.
Close the Properties window when finished.
Step Action
8 Insert the same shape sequence (P68.sha) for the last pump P69, or copy the pump
already inserted. (Refer to steps shown in Creating Shapes procedure if needed.)
Compare the size of this blower with the shape sequence you inserted for pumps P62
and P63. If necessary, adjust the size of the new shape, BlwrRght, to conform to the size
of the BlwrLft pumps.
TIP
Reminder: To make all pumps an equal size, first select the pump that is
the correct size and shape. Then, select the other pump objects. (The first
object selected is the primary object and has white handles.)
Select the resize icon. The objects selected will become the same
height and width as the primary object.
10 Click the Behaviors tab and select Shape Sequence Animation and Faceplate
checkbox.
11 Select the Details tab and verify the number 1 in the Display Shape field.
13 Select the Animation tab; notice the number 6 in the Number of shapes field.
Close the Properties window when finished. Your inserted pumps should
resemble the below example.
Step Action
2 Left click pump P62 and hold the mouse button to see the status of pump in the station
message zone.
Step Action
4 Select the Start OP from dropdown menu button and notice that PV also changed to
Start.
Step Action
6 Left click pump P62 and hold the mouse button to see the status of pump in the station
message zone.
ATTENTION
Only one pump out of the pairs (P62, P63 and P68,
P69) will get started at a time. This is because of the
interlocks present, which was created at the time of
database creation.
Step Action
8 Similarly change the state of the other two pumps (P68, P69) one by one and check the
change in color of the pumps.
Step Action
10 Change the Execution state of the point 11_HS62 from ACTIVE to INACTIVE
ATTENTION
11 Re-call D_100_SHA. The P62 pump is showing B (the first shape in your shape
sequence).
You have inactivated the Control Module for P62 so the server is not finding the
connection.
Left click pump P62 and hold the mouse button to see the status of pump in the station
message zone.
Step Action
12 Repeat previous steps to test the bad values on the other pumps.
The purpose of this lesson is to learn how to upgrade or replace shapes in your displays.
After completion of this lab, you will be able to:
Upgrade and replace Embedded Shapes in displays.
Prerequisites
An Experion PKS Server and HMIWeb Display Builder (to complete the lab exercises.)
A pre-built display.
Introduction
HMIWeb Display Builder is one of the Graphic Building Tools of Experion PKS.
The purpose of this lab is to:
Upgrade an existing shape in your display with a modified version of the same shape and
replace an Embedded Shape used in a display with a shape of a different name.
This section provides the techniques to Upgrade Embedded Shapes and Replace Shapes in
Process Displays.
Procedure
ü Step Action
Draw two lines in a cross shape as shown using the line tool
Change the width of the lines to 3px in the Properties window.
Place the cross on the first shape as shown. Adjust the size of the lines
if necessary.
Remember to group the first pump as it has been modified. Each object in a
shape sequence, if it is made up of multiple components, must be grouped.
Save your shape sequence with the same name (P62) in the abstract file.
ü Step Action
4 A dialog box appears informing you that the selected embedded shapes will be
upgraded. Select Upgrade.
Even though only one shape was selected, if your display contains
several occurrences of the same shape, ALL shapes will be upgraded.
ü Step Action
5 After selecting Upgrade, a dialog box appears if the upgrade was successful.
Select OK.
If you receive an “unsuccessful” message, the usual reason is that your shape
location has not been defined in the Tools > Options section on the Shapes tab.
You must list the storage location of your shapes to upgrade successfully.
6 Your D_100_upgrade display should now contain the modified P62 shape, as
shown.
ü Step Action
ü Step Action
9 Click on Add new row, new row gets added then select the drop-down arrow in
the “current shape file”; this provides a list of shapes available in the display for
replacement.
ü Step Action
10 Browse the New shape file field to the following location and select chiller.sha.
“C:\Program Files (x86)\Honeywell\Experion PKS\client\HMIWeb Display
Builder\ShapeLib\Custom_Shapes\chiller.sha”
Note: The “Resize display objects to match size of new shape” option is Yes, by
default, and provides a choice to either retain the current size of the shape or to
resize the shape objects to match the size of the new shape.
Select No option to retain the original shape size.
Click Replace.
ATTENTION
ü Step Action
11 A message box will appear when the operation is complete saying “Replace
operation completed successfully” as shown below:
Select OK.
ü Step Action
13 Select the drop-down arrow for the Current shape file to see that the
compressor.sha has been replaced. The new shape appears in the drop-down
list.
15 Your display will have the new shape as illustrated. Size the new shape (if
required) to fit your display.
Save As your display as D_100_Replace in the abstract folder.
ü Step Action
17 To use the Bulk replacement of shapes across multiple displays and shape files:
Open the D_100_Upgrade.htm display.
Do a “save as” and save the display as Test1.htm, Test2.htm and
Test3.htm in the abstract folder.
You now have three displays that look similar to the one shown below. If You
missed to close any display, then shape will not upgrade. These three displays
will be used to demonstrate the bulk replacement feature.
Close all displays in HMIWeb Display Builder and open a blank/new display.
ü Step Action
18 From the Tools pull-down menu select the Replace Shapes to replace multiple
shapes.
ü Step Action
Old Shape:
Type the shape file name that is to be replaced.
New Shape:
Browse to the new shape file that will replace the old shape.
Resize Objects:
The Resize option provides a choice to either retain the current size of
the shape or to resize the shape object (and if necessary, any groups
containing these shapes) to match the size of the new shape.
ü Step Action
Compressor shape in all the displays that are saved in that Abstract folder are
replaced.
Select OK.
ü Step Action
TIP
If there were 3 shapes with the same name in the same file then
the message would read, “Replaced 3 shapes in 1 file”.
24 Open the Test1, Test2 and Test3 displays in Station. The displays will have the
compressor shape replaced with the chiller.sha.
ATTENTION
After saving the display and calling the graphic in Station, the
new shape is shown.
25 Open your D_100_SHA display in HMIWeb Display Builder. Notice that the
chiller.sha replaced the compressor in this display as well as your test displays.
Using the Replace Shapes selection on the Tools menu, replace the
chiller.sha with compressor.sha, which is located in the
ShapeLib>Custom_Shapes.
Save As D_100_SHA to the Abstract folder when finished.
After this lab move the displays Test1, Test2 and Test3 from abstract folder to
the location C:\ProgramData\Honeywell\Experion PKS\Client\DisplayDB.