Add-On Graphics on reusable screens

This example depicts an Add-On Graphic with a mixer and a screen with additional mixer graphic elements. To have the screen and the Add-On Graphic on the screen show the values for the same mixer, bind the user-defined data type property that appears on an instance of the Add-On Graphic to the user-defined data type property of the screen. When a shortcut or navigation command passes a value into the user-defined property of the screen, graphic elements in the Add-On Graphic and on the screen show values from the same mixer. A Mixer1 shortcut or popup shows the values of Mixer1, and a Mixer2 shortcut or popup shows the values of Mixer2.
AOGsInReusableScreens
1 Add-On Graphic definition
Item
Description
1
Graphic elements in the definition of the Add-On Graphic.
2
A user-defined data type property named MixerTag in the
Property Definition
tab of the Add-On Graphic definition.
3
The
Properties
windows for graphic elements in the definition of the Add-On Graphic. The value of each graphic element is bound to a member of the MixerTag data type in the user-defined property using the format PropertyName.MemberName. For example, the mixer graphic element is bound to MixerTag.Level and the input graphic element is bound to MixerTag.LevelSP. Search for user-defined data type properties created for the definition of an Add-On Graphic and the members of that property through the
Tag Browser
.
2 Reusable screen
Item
Description
4
A screen containing an instance of the Add-On Graphic.
5
A user-defined data type property named MixerTag created in the
Property Definition
tab of the screen.
6
The
Properties
window of the selected instance of the Add-On Graphic on the screen. The Add-On Graphic is bound to the MixerTag user-defined data type property of the screen.
3 HMI device
Item
Description
7
The binding of a shortcut to the Mixer1 instance of the controller tag. This binding passes the value of the user-defined property from the shortcut to the screen. On the HMI device, the graphic elements on the screen and on the Add-On Graphic show the values for Mixer1.
8
The binding of a navigation command to the MixerTag user-defined property of the screen. This binding passes the value of the user-defined data type property to the screen when the event occurs. When the popup opens on the HMI device, the popup shows the values of Mixer1.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal