Here is the best WinCC tag prefix example! This video shows you how to dynamically assign a Tag Prefix to a Picture Window object, so that it shows the relevant tags of any object you select on the screen! WinCC TagPrefix is a way of dynamically assigning tags to a screen via a Picture Window. This method allows you to create a WinCC Reusable Display! This example is packed with some great gems, and includes VB Script, Animations, and Dynamic Dialogs, plus some Pro Level Tips on WinCC SCADA's Graphics Designer. Be sure to watch until the end! Learn SCADA Programming from the best! Please consider a Like or a Subscribe if you find this content useful.
00:00 Introduction
00:35 Create Structure Type (UDT)
01:29 Create Structure Tags from Type
01:58 Add Structure Tags to tag Group
02:28 Build PopUp Screen In Graphics Designer
03:13 Add TagPrefix Tags To Screen
04:35 Remove Prefix From Tag Connection
05:03 Search & Replace Tags
05:18 Non-Existant Tags Warning
05:40 Making a script-less toggle button
06:20 The Latch Down property
06:48 The Pressed_Changed button event
07:13 Animate Button Text & Color
07:45 Adding a extra line of text to button
08:17 Create Motor Overview Screen
08:40 Add SVG Objects to Screen
09:04 Animating SVG Objects in WinCC
09:35 Add Picture Window to Screen
10:25 How Tag Prefix Works
11:16 Configure Picture Window to be a Pop Up
12:21 Assign TagPrefix when Motor selected
12:51 Add VBScript when TagPrefix changes
13:30 Add VB Code to update picture window with new motor tags
15:05 Test in Runtime
15:49 Duplicate Motors and change tag connections
16:29 Test Tag Assignment in Runtime
16:58 VB Code to align Pop Up with selected motor
19:10 Test Pop Up Alignment in Runtime
19:25 Found a BUG!
20:07 Fix bug in VBS Code
20:36 Clear tagPrefix when Pop Up closed
21:40 VB Code to ignore blank tag prefix values
#wincc #scada #siemens