Opens a fault pop-up for pump 1 | Runtime Script | WinCC Unified

免费

由 HMIx AI 生成器创建

此资源由 ai.hmix.tech 上的 AI 创建。描述您的需求,几分钟内即可免费生成您自己的 HMI 控件。

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.

分享此资源:
版本:v2
最后更新:2026年12月4日
已发布:2026年12月4日
布局:SIEMENS - SIMATIC

产品评价 (0)

问答 (0)

您可能还喜欢

免费