Create WinCC Unified Popup using JavaScript and faceplate

WinCC Unified screen

We have published another WinCC Unified tutorial. This time we explain how to create popup, which is opened by clicking on standard Faceplate.

Java Script code is used to create interface between Data type from PLC. It passes info shared with faceplate and opens Popup with motor data and status.

WinCC Unified Popup JavaScript

Here you can copy JavaScript:

export function Button_1_OnDown(item, x, y, modifiers, trigger) {

let popupText = Faceplate.Properties.Name;
let popupWin = Faceplate.OpenFaceplateInPopup(“Popup_motor_V_0_0_4”,popupText,true,false);

popupWin.Left = 0;
popupWin.Top = 0;
popupWin.Visible = true;

}

More about JavaScript: How to use WinCC Unified JavaScript

More about WinCC Unified: What is WinCC Unified and is it better than other WinCC packages ?

Here is a link to our video:

By admin

Related Post

Leave a Reply