Made with the HMIx AI Generator
This resource was created with AI on ai.hmix.tech. Describe what you need and generate your own HMI controls in minutes — free.
WinCC Unified Runtime Script
When Pump1_Fault is on, the pop-up with the pump 1 fault details opens, also when the screen opens with the fault already on. Nothing changes for the operator.
Minimum version: WinCC Unified V16 and later.
What starts it and where it goes
Every time Pump1_Fault changes, and once when the screen opens.
On the AlternateBackColor property of Screen_1, with the trigger on the tag Pump1_Fault.
How it works
- Say where the script runs. Comment that explains why the script sits on an unused screen property.
- Open the pop-up when pump 1 is in fault. Reads Pump1_Fault and, when it is on, opens Pump1_FaultDetail in the pop-up FaultPopup.
- Give the property a colour. Returns black, because the property needs a value and nobody sees it.
Values you adapt
- Fault tag: The HMI tag that is on while pump 1 is in fault. Find it in the editor HMI tags, column Name. (in the script: Pump1_Fault)
- Pop-up screen: The screen shown inside the pop-up. (in the script: Pump1_FaultDetail)
- Pop-up window name: The name of the pop-up window. (in the script: FaultPopup)
- Pop-up caption: The title shown on the pop-up. (in the script: Pump 1 - fault)
Minimum version
Minimum version: WinCC Unified V16. It runs on WinCC Unified V16 and every later version.
- Tag.Read: From V16 (Siemens' V16 system manual)
- UI.SysFct.OpenScreenInPopup: From V16 (Siemens' list of system functions)
In the package
- The script, with a header that says where it goes and which values to adapt.
- Its documentation as PDF and as an editable ODT: purpose, example, the TIA Portal steps, the script part by part.
- A README with the same in one page.
⚠️ AI-Generated: This script was written with AI and checked against Siemens' documentation, not on a device. Test it on your own HMI before using it in production.
Share this item:
Product Reviews (0)
Question and Answers (0)
You may also like
Free