Академический Документы
Профессиональный Документы
Культура Документы
TABLE OF CONTENTS
Chapter 13 Process Displays .................................................................................................................................................... 13-1
13.1 General Information...................................................................................................................................................... 13-3
13.1.1 Description............................................................................................................................................................. 13-3
13.1.2 Objectives .............................................................................................................................................................. 13-3
13.1.3 Reference Documentation...................................................................................................................................... 13-3
13.2 Graphics........................................................................................................................................................................ 13-4
13.2.1 Graphics Builder VB 6 ....................................................................................................................................... 13-4
13.2.2 Create Graphic Display Aspect.............................................................................................................................. 13-5
13.2.3 Start Graphics Builder ........................................................................................................................................... 13-6
13.2.4 Graphics Builder Configuration of Static Parts ..................................................................................................... 13-7
13.2.5 Graphics Builder Configuration of Dynamic Parts................................................................................................ 13-8
13.2.6 Graphic Builder Sub elements ............................................................................................................................... 13-9
13.2.7 ActiveX Symbol Library ..................................................................................................................................... 13-11
13.3 Graphic Elements ....................................................................................................................................................... 13-13
13.3.1 Graphic Elements Navigation .............................................................................................................................. 13-13
13.3.2 Create Graphic Element Aspect........................................................................................................................... 13-14
13.4 Special Elements......................................................................................................................................................... 13-15
13.4.1 PgEventTunnel .................................................................................................................................................... 13-15
13.4.2 Without PgEventTunnel ...................................................................................................................................... 13-17
13.4.3 Aspect Link.......................................................................................................................................................... 13-17
13.4.4 AspectViewCt...................................................................................................................................................... 13-18
13.5 The Display Tool ........................................................................................................................................................ 13-19
13-1
13-2
13.1.2 Objectives
After completion of this chapter you will be able to
13-3
13.2 Graphics
When the Functional Structure has been built up it is time to create the process
graphics.
The inserted process objects have graphic aspects already possible to use but not
organized in any graphic system suitable for the operator.
Since the operator works with the plant in a functional way it is natural to create the
operator displays in this structure.
The next natural step is to create graphic displays and use as much as possible graphic
elements of existing process objects ( e.g. Bargraph of a measuring object ). These
graphic elements are already connected to their dedicated Control Connection aspect
and OPC properties. But on the other hand it is also possible to use components from
graphic libraries like a button, indicator, etc. But this components have to be
connected individually to the OPC properties.
OPC
Controller
Valve
Process Portal A
Applications
CM instance
Control Structure
Graphic Elements
Control Connection
Faceplate
Insert
object
Functional Structure
Graphic display
Reuse
13-4
Tools
Property Window
- Element browser
- Expression Builder
Toolboxes
Graphics Builder is based on Visual Basic 6.0 but provides features for to make
display design easy and fast.
The toolboxes are extended with a large number of components suitable for process
automation.
The menus are also different from standard VB to make the usage easy and adapted
for the aspect object model.
13-5
Define a name
Starts
Graphics Builder
13-6
Select Tools | Graphic Libraries to add the graphic libraries you need
Add
graphic libraries
If you need all the graphic libraries: Check all the boxes
13-7
13-8
Drag and drop the aspect (graphic element) into the drawing area
13-9
Process objects has an aspect Control Module type, in the picture named Control
Connection that exposes properties (often referred as OPC-properties).
The graphic elements on a process object always know how to find these properties
since both aspects exist on the same object.
Therefore reusing graphics is so easy with the Element browser tool.
Functional Structure
Graphic display
Reuse
Valve1
OPC Properties:
Control Connection
Value
Graphic Elements
Blocked
Save
13-10
Save the display by selecting File | Save or clicking on the Save button
Deploy
4. To open the property pages please open the Context Menu for the SFStandard
graphic and select Properties.
13-11
5. Please select a graphic from the category Buildings and click OK then.
13-12
Process Portal A
Control Structure
OPC
Graphic Elements
Graphic Elements
Control Connection
Control Connection
Valvetype_1
Instancing
Functional Structure
Graphic display
Insert
Reuse
The Graphic element will act as a push button in the display depending on the
property Input Enabled. If this property is set to true a click on the element will
result in a display change. The normal is that the faceplate is shown for process
objects. The reason why the faceplate is the selected aspect is that it has been tagged to
be the default aspect.
Graphic Display
Graphic Elements
Control Connection
Faceplate
Name
13-13
Define a name
Starts
Graphics Builder
13-14
13.4.1 PgEventTunnel
Note: The PgEventTunnel element has some disadvantage like no ToolTip and
less performance. Do not use it unless you really need it.
There are situations when you click within a graphic element or display when you may
not see the context menu (right-click), or may not be able to bring up the default
aspect (left-click), or see any object marking around a graphic element. The reason is
that it is not possible to click through some of the controls used in the graphic
element.
To solve the problem you can place Event Tunnel controls, to cover, and in turn
enable mouse-clicks to tunnel through to the standard input handling. The point is to
be able to tunnel the click through the labels.
The presences of an EventTunnel control marks the whole graphic aspect to capture
and response on all Mouse Events to the container object - the graphic element or
display.
We want create a new Graphic Element named Process Display View. This Process
Display View is based on the Simple Bar graphic of our Function Block Type
GenGenerator. We want to edit the Process Display View so that a click onto the bar
will provide a dialog with the faceplate view. For doing this we have to create a
PgEventTunnel.
Create a PgEventTunnel:
1. Open the Object Type Structure and select the a object. Create a new aspect of
type Graphic Element and name it Process Display View.
2. Open the Graphics Builder for Process Display View.
3. Open the Tool Box in the Graphics Builder and add the element IBar.
13-15
13-16
After we placed the PgEventTunnel above the Simple Bar element the event tunnel
transfers the click event through the Simple. Now the click event triggers the Process
Display View and so the default aspect of the object is visible.
5. Open the Properties Window for the IBar and select the EnableInput property
to FALSE.
6. Click the Deploy button for deploying the new element.
13-17
13.4.4 AspectViewCt
The AspectViewCt element is intended to be used as a host to any aspect you might
want to display in a graphical view. This could for an example be a trend curve or an
alarm list.
An aspect hosted in an AspectViewCt is fully functional and its graphical interface can
be accessed as usual.
13-18
Any
Object
Graphic element
The Display tool finds dependencies and can re-deploy the necessary aspects.
13-19
13-20