WinCC Unified V17 # 22: Create Faceplates & UDTs 🧑🍽️ #WinCCGURU

preview_player
Показать описание
This is #22 in our WinCC Unified V17 Series. Here we will show you how to create your initial User Defined Type (UDT) and your faceplate type in the WinCC Unified project library. This is the best course for creating your first TIA Portal v17 WinCC Unified faceplate.

00:00 Introduction
00:15 Add New Graphics Type
00:56 Add Pump Graphics
01:16 Release Pump Graphics Version
01:32 Add Checkmark and X graphics
02:33 Add Pump User Data Type
03:41 Create FacePlate
05:36 Add Circle for Pump Color
07:37 Add properties to faceplate
08:11 Add Tag Interface to Faceplate
08:40 PRO TIP! Tag and Property data types
09:34 Assign Property Interface
11:39 Assign script to status_change event
12:59 Hide or Show CheckBox
13:45 Add facePlate Instances to Screen
16:45 Assign JavaScript to Color_Strength
20:07 Add IO Field to test State Indicator
20:29 Test Faceplate In Runtime
21:43 Assignment 1 Create Faceplates & UDT

#WinCC #SCADA #SCADAProgramming
Рекомендации по теме
Комментарии
Автор

I have a question. I am trying to change the text of button in a faceplate based on a tag.

I wrote this script to make it work with a screen item.

export function Button_1_Text_Trigger(item) {
var value;

let tag1 = Tags("HMI_Tag_2").Read();

if (tag1) = 'Enabled';}
else = 'Disabled';}

return value;
}

I tried to adapt that to the faceplate since I can't seem to assign a resource list to the text in a button in a faceplate.

I simply modified the above code to this.

export function Button_1_Text_Trigger(item) {
var value;
let tag1 = Tags("HMI_Data.Enable From HMI").Read();

if (tag1) = 'Enabled';}
else = 'Disabled';}

return value;

}

However this script does not work in the faceplate.

I'm not sure what is wrong here.
Any suggestions?

luciddream
Автор

Thanks for giving a new tutorial with the WinCC Unified that is up to date. There has been so many updates and changes that the old ones out here are outdated. So thank you very much for creating a new detailed video. Quick question: there is no way to use HMI tags in faceplate? you must make the tags in "Tag interface" or "property interface" and then after link them up to HMI tags?

Indianbutler