beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 141

background image

C

ONFIGURING A

V

IRTUAL

HMI

P

RIMITIVE

D

ESCRIPTIONS

R

EVISION

1

P

AGE

125

T

HE

R

ICH

B

UTTON

P

RIMITIVE

The Rich Button primitive displays an animated button that is used to control the
state of a flag tag. While the same functionality can be achieved using a general
button, the rich version automatically obtains data from the underlying tag.

The properties of the rich button are defined using five tabs.

The first of these tabs is shown below…

The Value property is used to indicate from where the data for this primitive

should be obtained. You may select a tag, a register in a communications device,
or an expression that combines a number of such items. The data type of the item
must be an integer or a flag.

The Data Entry property is used to indicate whether or not you want the user of

the virtual HMI to be able to change the underlying value via this primitive. For
data entry to be enabled, the expression entered for the value property must be
capable of being changed. For example, if a formula is entered, data entry will
not be permitted. Most buttons will have data entry enabled.

The Type defines the action to be taken when the button is pressed and released...

B

UTTON

T

YPE

T

HE

B

UTTON

W

ILL

Toggle

Change the data state when the primitive is pressed.

Momentary

Set the data to 1 when the primitive is pressed.
Set the data to 0 when the primitive is released.

Turn On

Set the data to 1 when the primitive is pressed.

Turn Off

Set the data to 0 when the primitive is pressed.