0% found this document useful (0 votes)
134 views

30806_LAB HMIWeb Display Builder Advanced Scripting

Uploaded by

f4461238
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
134 views

30806_LAB HMIWeb Display Builder Advanced Scripting

Uploaded by

f4461238
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 52

Topic: HMIWeb Display Builder Advanced Scripting

Contents
Configure Security Level Change in HMIWeb Graphics......................................................................3

Create a Startup Script...................................................................................................................... 19

4/24/2023 Copyright © 2023 Honeywell International Inc. 1


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
This page was intentionally left blank.

2 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

Configure Security Level Change in HMIWeb Graphics


Practice
Objective – OPTIONAL LAB EXERCISE

The purpose of this lesson is to perform security level changes from HMIWeb displays. ENGR is
the highest security level that can be used.
After completion of this lab, you will be able to:

 Configure security level changes from HMIWeb displays.

Introduction

This lab exercise will enable you to:


 Create script to perform security level changes from HMIWeb displays.

In the earlier releases of Experion, you were not able to change the access level of function blocks
from HMIWeb displays. This functionality may be required for a particular write operation. This
does not change the access level of Station.

In this lesson you will script buttons that change the security level of a function block to perform
specific control operations.

4/24/2023 Copyright © 2023 Honeywell International Inc. 3


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

Procedure

 Step Action

1 Open SafeView, if not already opened. Go to Connection properties select Single


window and Save the default. Exit safeview and open station, verify that Station’s
access level is mngr.

2 Call up the Detail Display for 11_TI40. (Press F12 to Open Detail Display)

3 Click on the Chart tab.

Double click to
open properties
window

 Double click on the NUMERICA function block to open the properties window.

4 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

4 Change the Access Lock to Engineer (as shown).

 Close the Numerica dialog window when finished.

ATTENTION

To change the Access Lock of the Numerica, Station


must have a security level of mngr.

4/24/2023 Copyright © 2023 Honeywell International Inc. 5


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

5 Now change your Station’s access level to Operator (oper).


 On the Chart tab, double click the PV of the Numerica block and enter a new
value.

 Station’s message zone displays following message:

ATTENTION

The NUMERICA block is in engineer access lock; the PV


value cannot be changed with operator access level.

6 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

6 Now change your Station’s access level to Engineer (ENGR).


 On the Chart tab, double click the PV of the Numerica block and enter a new
value.

ATTENTION

Now User can able to change the PV Value as the


NUMERICA block is having engineer access.

4/24/2023 Copyright © 2023 Honeywell International Inc. 7


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

7 Change the access level of your station to manager (mngr) and change the PV value
again. This time the change should be successful.
Verify that the Security Level Change option is enabled on the Security tab in Server
Wide Settings.
Select Configure > System Hardware>Server Wide Settings from station.

8 Minimize the Station window.

8 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

9 Open a blank display in HMIWeb Display Builder.

10 Double-click on blank area to open the Display Properties.


Go to the Appearance tab, select the color as silver.

4/24/2023 Copyright © 2023 Honeywell International Inc. 9


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

11 Insert a pushbutton object from the toolbar.


 Right-click the pushbutton and select Property pages.

12 Select the Behaviors tab.


 Check/enable the Script Data option
 A new tab ‘Script Data’ will be added to the pushbutton properties.

10 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

13 Select the Script Data tab and click the Add button.
 Enter the following Point Details:
Point: 11_TI40
Parameter: NUMERICA.PV
Display as: Numeric
Update : Default
Security: Operator

ATTENTION

In above example, 11_TI40 is the control module


name (point name) and NUMERICA.PV is the
parameter to be changed.

4/24/2023 Copyright © 2023 Honeywell International Inc. 11


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

14 On the General tab, rename the pushbutton and enter the tooltip details as shown
below.

15 Select the Details tab and enter the button’s label as shown:
 Set PV = 50

16 Select the colors Tab. Change the button color to silver.


Select Fonts Tab. Change the Font to 8, Bold, Arial.

17 Close the pushbutton properties window.

18 Right-click the pushbutton and select Edit Script.

12 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

19 In the Script Editor, enter the following details:


 Event: Onclick
 Script: me.SetDataValueWithSecurityLevel"11_TI40.NUMERICA.PV", 50, 4

ATTENTION

The script will set the PV value of the NUMERICA


function block to 50 using Engineer access level (4).

20 Close the Script Editor window.

21 Save the display --


 Click File  Save
 Save your display as SecurityLevel.htm

4/24/2023 Copyright © 2023 Honeywell International Inc. 13


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

22 Select the pushbutton that you just created and duplicate it. (This new button will be used
to set the PV value of 11_TI40 to 25.)

23 Open the Properties Window of the duplicated pushbutton, select the Details tab and
modify the button’s label as follows: Set PV = 25

24 On the General tab, modify the name of the pushbutton to btnSet25 and modify the
tooltip accordingly.

25 Close the properties window of the new pushbutton.

26 Right click the duplicated pushbutton (btnSet25) and select Edit Script.

27 Modify the button’s script to change the PV value being written to 25. Close the script
window when finished.

28 Add an alphanumeric to your display. Modify the properties as follows:


On the General Tab:
 Name: valuePV
 ToolTip: 11_TI40

(Note: At runtime, this alphanumeric will call a faceplate and will display the PV value
being set by the pushbuttons.)

29 On the Behaviors tab, check the Faceplate box and deselect Hover.

14 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

30 On the Data tab add the following point and parameter:

31 Change the font to 8, Bold, Arial.

32 Close the property window and save your SecurityLevel.htm display.

33 Maximize Station’s window.

4/24/2023 Copyright © 2023 Honeywell International Inc. 15


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

34 Change Station’s access level to Operator (Oper).

35 Call up your SecurityLevel.htm display, and select the alphanumeric to call the
faceplate, as shown.

16 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

 Step Action

36 Click each pushbutton to see the PV value change.

ATTENTION

The pushbuttons in your display will set the


NUMERICA.PV value of 11_TI40 to 50 or 25 without
changing the access level in Station.

37 If the PV value of 11_TI40 did not change, verify that the Security Level Change option is
enabled on the Security tab in Server Wide Settings.
 Select Configure > System Hardware > Server Wide Settings

38 Optional: If extra practice is desired to further test the access level change functionality,
add additional buttons to your Security Level display to write new values to 11_TI40 or
modify the script on the existing pushbuttons.

4/24/2023 Copyright © 2023 Honeywell International Inc. 17


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Configure Security Level Change in HMIWeb Graphics

This page was intentionally left blank.

18 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

Create a Startup Script


Practice
Objective – OPTIONAL LAB EXERCISE

Create a script to assist in the start up of the Tower Top Pressurization.

Prerequisites

All previous labs completed.

Introduction

HMIWeb displays are customized DHTML (Dynamic HTML) pages based on the Web-standard
Document Object Model (DOM). This means that display scripts are very similar to scripts used in
standard Web pages. You can write scripts in either VBScript or JScript. In this lab, we are going to
create script that could be used as a manual sequence for process startup.
We are going to write script only for the Tower Top Pressurization stabilization. A Popup display
named Startup Sequence with 8 steps for a pressure stabilization sequence will be configured.
 Step 1 and Step 2 will have common YES and NO buttons.
 Steps 3/4, Steps 5/6, and Steps 7/8 will also have common YES and NO buttons.
After clicking the Start Sequence button, Step 1 will be active and flashing in dim gray; all other
steps will be inactive. Only the YES and NO button for this step will be seen. The user must first
click on the Step 1 button to stop it from flashing the YES and NO buttons will then become
activated (and the YES button will be flashing). After the user clicks the YES button, then Step 1
will be deactivated and Step 2 will be activated and flashing. If the NO button is selected, that
particular step will start flashing again. When Step 2 is completed, then Step 3 will be activated
along with its YES and NO buttons; a down arrow indicates the direction of the startup sequence.
The same functionality is repeated for Step 5 and Step 7.
The popup “Start_Sequence” will be called from a pushbutton added to your “D_100” display.

ATTENTION

A Start Sequence.txt file is in your abstract folder - to save typing time,


copy the script from the Start Sequence file into the appropriate objects
in your Display.

4/24/2023 Copyright © 2023 Honeywell International Inc. 19


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

Example Start Sequence display

20 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

Procedure

 Step Action

1 If you have performed the previous lab as per pre-defined course sequence then open
D_100 graphic from Abstract which you have built, else open display
< D_100.htm > from C:\ProgramData\Honeywell\Experion PKS\Client\DisplayDB

2 Open a new Popup display by clicking on the arrow (as indicated) and selecting Popup.

4/24/2023 Copyright © 2023 Honeywell International Inc. 21


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

 Step Action

3 Double-click the new Popup display to open the Properties window.


Select the Appearance tab and enter the following details:
 Width: 470
 Height: 370

Change the color to silver.

Accept the defaults for any remaining parameters. Close the Properties window.

Close the Properties window when finished.

22 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

1 Add a pushbutton to the Popup display and enter the following property details:
General tab:
 Name: Start
 Width: 170
 Height: 26

Details Tab:
 Label: Start Sequence
Color Tab
 Fill Color: Silver
Font Tab
 Font tab: 10, Bold, Arial

Accept the defaults for any remaining parameters.


 Close the Properties window.
Your Popup display will be similar to the one shown in the following illustration.

4/24/2023 Copyright © 2023 Honeywell International Inc. 23


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

2 Similarly, add additional buttons modifying the following details (see the illustration on the
next page as a layout guide for pushbutton locations).

Object Button Label in Details Tab Size


Name in Width X
General Height
Tab
Reset Restart the sequence 170 X 26
S1 Change HC44 OP to 100 353 X 26
S2 Put PC15 in MAN mode and change OP to 353 X 26
100%

S3 Put PC16 in MAN mode and change OP to 353 X 26


100%

S4 Has PC16 pressure reached 1300? 353 X 26


S5 Change HC44 OP to 0% 353 X 26
S6 Put PC15 in Auto Mode and enter SP as 1240 353 X 26
S7 Put PC16 in Auto Mode and enter its SP as 353 X 26
1170

S8 Has Pressure of PC16 reached 1170 Kpag? 353 X 26


Yes1 Yes 46 X 26
No1 No 46 X 26
Yes2 Yes 46 X 26
No2 No 46 X 26
Yes3 Yes 46 X 26
No3 No 46 X 26
Yes4 Yes 46 X 26
No4 No 46 X 26

24 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

3 When finished, your Popup display should look similar to the one shown in the below
illustration.

 Note the dotted line in the above example; this indicates the size of the Popup when
called in Station. The display size was defined in step 3.
4 Add another pushbutton (Width: 28 and Height: 26) to your Popup.
See step 9 for the location of this new arrow object.
 Open the pushbutton Properties window and delete any text in the Label field in the
Details tab.
 Change the color to silver.
 Close the Properties window.
 Draw a triangle using black as the fill (use the Polygon tool to draw this).
 Place the triangle on the pushbutton as shown.

 Group the two objects.


 The final object will resemble the one illustrated above.
 Open the Properties window for the group and enter the following ToolTip: Select
the next step in the Startup Sequence.
 Rename the group to Arrow1.

4/24/2023 Copyright © 2023 Honeywell International Inc. 25


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

5 Repeat the above step and create two more similarly grouped arrow objects (Hint: use
the duplicate function).
Name the new objects Arrow2 and Arrow3.

6 Place them next to the 2nd, 4th, and 6th button as shown in the following illustration.

7 Create one more additional arrow object and place it next to the 8th step button.

 Modify the ToolTip for this button:


Tool Tip: Select the Reset button to Restart the Sequence
 Rename this grouped object Arrow4.

26 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

8 Your Popup should resemble the one shown.

Modify the Visibility property of all the Yes/No buttons, the Arrow buttons, and the
Restart button as follows:
In the General tab, select the hidden option.
 When these buttons are needed, the script will make them visible.

4/24/2023 Copyright © 2023 Honeywell International Inc. 27


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

9 Add an alphanumeric to your Popup in the top right area.


 This alphanumeric is used in script to keep track of which step is being executed. It
will be invisible when the Popup display is called in Station.

Open the Properties window of the alphanumeric and enter the following details on the
General tab:
 Name: a
 Visibility: visible (see the following note)
 Font: 10, Bold, Arial

NOTE: During the testing phase, you may want to see the numbers written to the
numeric. This property can be left at the default value during the testing of your
Popup, and then changed to “hidden” after testing, if desired.

28 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

10 Select the Data tab.


Enter the following details:
 Point: 11_TI20
 Parameter: flag.pv
Verify that the Data entry allowed check box is checked. (This alphanumeric is used by
script to keep track of which step is being executed; script will write values to this point.)
 Accept the defaults for any remaining parameters.

Close the Properties window.

4/24/2023 Copyright © 2023 Honeywell International Inc. 29


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

11 Save the display as Start_Sequence in the abstract folder.

12 To begin creating Startup Sequence scripts for the buttons:


 Click the Popup display so that it has focus.

 Click the (Script window) button on the tool bar.

13 A scripting window is opened as shown in the following illustration.

A - Object Browser – The arrow opens a list of all the objects in the display. If an object
is scripted, the object name is in bold type.

B - Event Browser – The arrow opens a list of all available events for this object. Scripts
are event driven, and the events presented are different based on object type. If an event
is used in the display, the event name is in bold type.

C - This is the area where the script is created.

30 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

14 Script for Reset shapes, Steps S1 and S2 (on the Start button):
In the scripting window, click the Object Browser arrow and choose the object named
Start.
 Select the onclick event.
 Enter the following script – to save typing time, the Start Sequence.txt file is
located in your abstract folder).

4/24/2023 Copyright © 2023 Honeywell International Inc. 31


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

15 Script for Steps S3 and S4 (on the Start button)

16 Script for Steps S5 and S6 (on the Start button)

32 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

17 Script for Steps S7 (on the Start button)

18 Final script for the Start button


(If the last step has been completed, then all steps are disabled and just the Reset
button is enabled.)

4/24/2023 Copyright © 2023 Honeywell International Inc. 33


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

19 NOTE: The alphanumeric “a” is connected to a point on the Server that is used to
store the last step number executed.

This script is written such that when a user clicks the Start button:
 The script checks the a.value number for the last step executed by the user (a.value
indicates the step number).
 a.value is checked to enable the next step to be executed and starts that step
flashing in dim gray color.
 All other steps are disabled. For the step that is active, the corresponding Yes and
No buttons are enabled.
 Initially the corresponding Yes button is disabled until a step is selected and active.
 When a.value = 8, the Start Sequence is completed and will display the Reset
button. To start the sequence again, select Reset.

20 Select S1 from the Object Browser.


 Select the onclick event. Enter the following script.

 This script performs the following:


Sets a.value to 1 indicating execution of step 1.
Stops the blinking of S1 and makes it a steady dim gray.
Yes1 button is enabled and flashing.

34 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

21 Select the S2 object. Select the onclick event.


 Enter the following script.

 Comments are similar to the S1 button.


22 Select the S3 object. Select the onclick event.
 Enter the following script.

 Comments are similar to the S1 button.

4/24/2023 Copyright © 2023 Honeywell International Inc. 35


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

23 Select the S4 object. Select the onclick event.


 Enter the following script.

 Comments are similar to the S1 button.

24 Select the S5 object. Select the onclick event.


 Enter the following script.

 Comments are similar to the S1 button.

36 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

25 Select the S6 object. Select the onclick event.


 Enter the following script.

 Comments are similar to the S1 button.


26 Select the S7 object. Select the onclick event.
 Enter the following script.

Comments are similar to the S1 button.

4/24/2023 Copyright © 2023 Honeywell International Inc. 37


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

27 Select the S8 object. Select the onclick event.


 Enter the following script.

Comments are similar to the S1 button.


28 Select the Yes1 object in the Object Browser. Select the onclick event.
 Enter the following script.

38 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

29 Select the Yes2 object. Select the onclick event.


 Enter the following script.

30 Select the Yes3 object. Select the onclick event.


 Enter the following script.

4/24/2023 Copyright © 2023 Honeywell International Inc. 39


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

31 Select the Yes4 object. Select the onclick event.


 Enter the following script.

32 Select the No1 object. Select the onclick event.


 Enter the following script.

40 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

33 Select the No2 object. Select the onclick event.


 Enter the following script.

34 Select the No3 object. Select the onclick event.


 Enter the following script.

4/24/2023 Copyright © 2023 Honeywell International Inc. 41


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

35 Select the No4 object. Select the onclick event.


 Enter the following script.

42 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

36 Select the Reset object. Select the onclick event.


 Enter the following script.

4/24/2023 Copyright © 2023 Honeywell International Inc. 43


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

37 Close the scripting window and save the display in the Abstract folder as
Start_Sequence.

38 Add a pushbutton to your D_100 graphic to call up the Start_Sequence Popup display.
 Place the button below your D100_Trend button.

Open the Properties window and enter the following parameters:


 Name: btnStartSeq
 Tool Tip: Startup Sequence
 Adjust the Width and Height to match your D100_Trend button.

Accept the defaults for any remaining parameters.

44 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

39 On the Behaviors tab, select Popup as shown in the following illustration:

40 Select the Details tab and enter the following data:


 Label: Start Sequence
Accept the defaults for any remaining parameters.

41 Select the Colors tab and select Fill Color as silver.

4/24/2023 Copyright © 2023 Honeywell International Inc. 45


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

42 Select the Popup tab and enter the Popup file name as shown:
 Start_Sequence.htm

43 Modify the Font tab to size 8, bold, center. Close the Properties window.
 Your pushbutton will be similar to the one shown:

44 Save your D_100 display.

46 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

45 Open D_100 in Station.

46 Click the Start Sequence button in your D_100 display.

4/24/2023 Copyright © 2023 Honeywell International Inc. 47


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

47 The Popup Start_Sequence is shown.


 Select the Start Sequence button on the Popup display.

 Step 1 starts flashing.


 All other steps are disabled.
 The Yes button is also disabled.

48 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

48 Click Step1.
NOTE: It may be helpful to make the alphanumeric visible while testing your program.
(Step 1, when clicked, writes a “1” to the alphanumeric).
 Step 1 will stop flashing (after being clicked) and the Yes button is now enabled and
flashing.

49 Click the No button.


 Step 1 will again start flashing and the Yes button will be disabled.

50 Click Step1 again.


 Step 1 will stop flashing.
 The Yes button will be again enabled.

4/24/2023 Copyright © 2023 Honeywell International Inc. 49


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

51 Click the Yes button.


 Step 1 has now been completed and will be disabled.
 Step 2 will be enabled and flashing dim gray.
 The Yes button will be disabled for the previous step.

52 Click Step 2.
 Step 2 will stop flashing.
 The Yes button will be enabled and flashing (and a “2” is written to the
alphanumeric).
53 Click the Yes button.
 Step 2 has now been completed and will be disabled.
 The Yes and No buttons will disappear.

 The down arrow will appear next to Step 2 indicating the direction of the
process step to take next.
 Step 3 will be enabled and flashing dim gray.
 The Yes and No buttons will appear next to Step 3. (The Yes button is disabled).

54 Click on Step 3.
 Step 3 will stop flashing.
 The Yes button is enabled and flashing.
55 Click the Yes button.

56 Test Step 4 as above.

 After Step 4 is completed a will appear again.


Move your cursor over the arrow to view the tool tip.

57 Test the remaining steps.

50 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

58 After Step 8 is completed, only the Reset button is enabled.


Click the Restart the Sequence button.

 The Restart button will disappear, the alphanumeric will be reset, and the Start
Sequence button will appear.
59 Click the Start Sequence button.
 The sequence will start again.

4/24/2023 Copyright © 2023 Honeywell International Inc. 51


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary
HMIWeb Display Builder Advanced Scripting
Create a Startup Script

This page was intentionally left blank.

52 Copyright © 2023 Honeywell International Inc. 4/24/2023


Honeywell Academy written permission required to distribute
Honeywell Confidential and Proprietary

You might also like