beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 131

background image

C

ONFIGURING A

V

IRTUAL

HMI

P

RIMITIVE

D

ESCRIPTIONS

R

EVISION

1

P

AGE

115

The first step is achieved using the system variable

Data

. This system variable is only

available for the OnHelp field and contains information on the alarm selected.

Data

is a Long

(Double word) and contains the following information:

Low word: the tag index this alarm is related to.

High word: the alarm number for this tag. (Remember, there are two alarms per

tag.

The second step is thus achieved by running a program with

Data

as argument. A program

has to be created first and set up to accept an integer argument as show in the image below.

Now the OnHelp field is ready to accept the following code. This tells the viewer to run

Program1

with the information provided in Data when the Help button is pressed.

Program1(Data)