Reset value closing window in WinCC 7

Sergihno

Member
Join Date
Oct 2016
Location
Ukraine
Posts
70
Hello everyone,

How to reset tag in WinCC 7 on closing window by cross button which is on the right top of the window?
 
https://support.industry.siemens.com/tf/WW/en/posts/wincc-how-to-use-alias-to-change-information-passed-to-a-pop-up/25645?page=0&pageSize=10

The above thread should help you out.

"The popup is displayed in a picture window, and I use the feedback from that window, Visible-change, not the picture.
Select the window that this popup uses and open the property.
“Events” --> “Property Topics” --> “Miscellaneous” --> “Display” --> “Change”
VBS:
Sub Visible_OnPropertyChanged(ByVal Item, ByVal value)
'Reset internal tagg and Caption.
If True <> value Then
HMIRuntime.Tags("@local:: NameOffTag").Write "empty"
Item.CaptionText = ""
End If
)"

Regards,
 

Similar Topics

Hi all, I am commissioning my first servo drive, and I am trying to home my servo but unsure how to go about it. I am programming a gantry...
Replies
2
Views
1,448
Good Morning, I'm not sure if this is a stupid question, but I've been working with FTView ME for quite some time now and I can't solve this...
Replies
9
Views
1,492
Hi there I'm guessing this is a straightforward one but after much experimenting I've been unable to find an answer. The software is TIA V16...
Replies
5
Views
2,333
Hello Folks, I am new to Direct Soft, but a customer has a program that need me to edit. It is a DL06. We have a TMR function (T4) that we want...
Replies
24
Views
5,600
Hi All, With AB RsLogix PID: What is the best way to reset the output to a specific value. For now i'm overwriting the PID.DATA[0] but i'm not...
Replies
9
Views
2,937
Back
Top Bottom