Sei sulla pagina 1di 8

800xA Popup Window Configuration

Gundeep Singh Saini gundeep.saini@in.abb.com INPA-CT

10 August 2014

800xA Popup Window Configuration Gundeep Singh Saini gundeep.saini@in.abb.com INPA-CT 10 August 2014

800xA Popup Window Configuration

1. Introduction

An Automated Plant runs entirely on the Control System and interaction with the Operators is minimal. But sometimes the system needs some inputs in between a running process for which the usual practice is to give Operator Popup on the same graphics screen. But the drawback of such methodology is that either the popup is restricted to the specific graphic screen or only one popup can be displayed at a time, which keeps the system waiting for the input while the Operator may not even be aware of the intervention required.

Operator may not even be aware of the intervention required. Fig 1: Conventional Popup Display The

Fig 1: Conventional Popup Display

The method proposed in this document opens a Popup in a separate window on all the nodes wherever the Workplace is open. This allows the system to display information both - Operator Input Requirement or Critical Alarms for which the Operator is to be notified.

Applications:

High Priority Alarms

Operator Action Required

Abnormal Changes detected by System

Action Required  Abnormal Changes detected by System Fig 2: Popup in Independent Window  1

Fig 2: Popup in Independent Window

800xA Popup Window Configuration

2. Procedure

The Popup Screen is dependent on the Operator Workplace. In case the popup is to be restricted to a specific area, separate Workplace should be created for that area. For example, if a popup should come only in “Water Block” and not in “Polymer Block”, separate Workplace should be created for both of them and configured as described.

To display the Popup, we have to create two elements one which is the Popup itself and the second which acts as a trigger for the Popup.

First we will create the Popup at the desired location in Functional Structure.

Go to Plant Explorer -> Functional Structure -> “Desired Location” and insert a Graphic Display PG2 aspect. Edit it as per requirement. This will open on top of other windows on all nodes where the Workplace is open whenever it gets triggered.

Now we will configure the trigger element. Go to Plant Explorer -> Workplace Structure -> “Project Workplace”. Add a Graphic Element PG2 Aspect to the Workplace.

The use of this aspect is to give a trigger to the Popup but it will be a part of the Application Bar in the Workplace, so it should not contain anything. Edit it and give it a transparent background and height - width of 1x1.

Now add an Aspect View Invoker in this aspect. Right Click on background -> Input Items -> Element Hosted -> Create -> Aspect View Invoker

Element Hosted -> Create -> Aspect View Invoker Fig 3: Adding Aspect View Invoker  2

Fig 3: Adding Aspect View Invoker

800xA Popup Window Configuration

Now edit the properties of the Aspect View Invoker.

Right Click on background -> Input Items -> Element Hosted -> Aspect View Invoker1 -> Properties

Element Hosted -> Aspect View Invoker1 -> Properties Fig 4: Browse to Properties of Aspect View

Fig 4: Browse to Properties of Aspect View Invoker

Edit the following properties:

Presentation Mode : Overlap

Trigger : Browse to the boolean bit which should trigger the Popup when HIGH

View Reference : Browse to the Popup Aspect we created in Functional Structure

The Trigger bit can come from the logic or alarm and can be configured in Control Builder as per requirement.

Now we need to configure the Application Bar in the Workplace. Go to Application Bar -> Fixed Displays - > Add. Browse to the Trigger Aspect we just created and give a width of 1.

800xA Popup Window Configuration

800xA Popup Window Configuration Fig 5: Adding aspect to Application Bar Now the Popup is configured,

Fig 5: Adding aspect to Application Bar

Now the Popup is configured, you can repoen the Workplace and give a pulse to the trigger bit to test the Popup.

3. Procedure to Auto Close the Popup

The Popup can also be configured to Auto Close once the Operator Confirmation is received. This may be useful in cases where the Popup should not remain open after interaction.

Go to the Popup location in Functional Structure and add a Scripting Aspect. Within the Scripting Aspect write the following code:

Function ClosePopup() Set shell = createObject(“Wscript.Shell”)

Shell.sendkeys(“%{F4}”)

End Function

This function emulates an ALT + F4 command to the shell to close the window. After entering the code, press Apply. Then under the Presentation Tab, check the “Aspect Verb” checkbox and press Apply.

800xA Popup Window Configuration

800xA Popup Window Configuration Fig 6: Adding and configuring scripting aspect Now edit the Popup and

Fig 6: Adding and configuring scripting aspect

Now edit the Popup and put a “Verb Invoker” on the Operator Confirm Button.

800xA Popup Window Configuration

800xA Popup Window Configuration Fig 7: Verb Invoker Set the Verb Reference to the ClosePopup Function

Fig 7: Verb Invoker

Set the Verb Reference to the ClosePopup Function of the Scripting Aspect we have just written.

800xA Popup Window Configuration

800xA Popup Window Configuration Fig 8: Set reference to the Function Special thanks to Sandeep Menon

Fig 8: Set reference to the Function

Special thanks to Sandeep Menon for his help in writing the Script Code for Auto Close, would not have been possible without his help.