Kkula
Hi everyone,
For example my WinCC project contains 5 pumps with the same parameters. I created a screen with 4 faceplates (attachment #1). UDT already connected to these faceplates.
To open this screen i use the function: OpenScreenInPopup and SetPropertyValue (attachment #2).
So now a question:
What function i have to use by clicking "Close button" on my screen? Is it possible to write the script like "Close the screen"? I see that there is only option "close popup window" (attachment #3). So i cannot use it because there are 5 different popup window names.
------------------------------------------------------------------------------------------
Split from
WinCC Unified – TIP’s for Faceplate
.
You're right to question the "Close popup window" function. Since you're using OpenScreenInPopup and have multiple instances, directly closing by window name isn't ideal.
Instead of focusing on closing the *window*, focus on closing the *faceplate instance*. Use the SetPropertyValue function with the "Close" property of the UDT instance connected to the faceplate. This signals the faceplate to close itself.
Here’s how:
SetPropertyValue("UDT_Instance_Name", "Close", True). Replace "UDT_Instance_Name" with the actual name of the UDT instance.This approach cleanly handles each popup independently without needing to know or manage the popup window names.
For more details on UDT properties, refer to the SiePortal documentation.
Our flexible community website is a platform that allows users to connect, share information, and collaborate on various topics of interest. The website offers a range of features such as discussion forums, messaging, user profiles, event calendars, and more. Users can customize their experience by creating and joining different groups or communities based on their interests or location. The website is designed to be user-friendly and adaptable to the needs and preferences of our diverse user base. Whether you are looking to network professionally, share hobbies and interests, or simply connect with like-minded individuals, our flexible community website has something for everyone. Join us today and become a part of our thriving online community!
India
Copyright ©2026
Share this page with your family and friends.