0% found this document useful (0 votes)
3K views397 pages

Unified Comfort Panel V18: Teknik Workshop

Uploaded by

bunyamin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3K views397 pages

Unified Comfort Panel V18: Teknik Workshop

Uploaded by

bunyamin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 397

Teknik Workshop

Unified Comfort Panel V18


SIMATIC WinCC Unified V18
System overview vs. existing portfolio

90° 25
Platforms

SIMATIC HMI SIMATIC WinCC Unified


WinCC Unified Clients Edge
Unified Comfort &
View of Things
Unified Comfort PRO1

Unified Comfort Panels S7-1500 PC

WinCC Unified V18

Engineering Advanced
Comfort VoT Professional
in TIA Portal
!

Efficient
Standardization Engineering Automated Engineering Diagnostics

Operational concepts Audit & Reporting

RFID Login SIMATIC WinCC Unified V18 Parameter Control

Clients Functional Extension Energy Management PM Addons


°
° Show more details,
based on zoom factor
Panning Zooming Custom Property Favorites ProDiag

RFID
Login
WinCC Unified V18 310
Audit Viewer
V18
Customized Screens
for Parameter Control
Hundreds of extensions and
GraphQL improvements to discover

Reduce Carbon footprint


with Energy Suite
Nesting of Faceplates License System Diagnosis Control
for better Standardization Packages with Matrix View
SIMATIC HMI Unified Comfort Panels
Innovations leads to advantage

Making Unified Comfort Panel a compelling argument

• Significant increase of performance and system limits


• Smoother operation with multitouch (2 Hand) and gesture detection
• More applications preinstalled on the device
• Extensibility by apps using Industrial Edge
• Design and usability:
• Custom Web Controls
• Static and dynamic SVG graphics
• Increased functionality in controls
• Screen window technology
• Dynamization of objects
• Advanced scripting with Java Script
SIMATIC HMI Unified Comfort Panels
Portfolio

Comfort Panels Unified Comfort Panels


12 devices (Key and touch) 6 devices (Multitouch)
SIMATIC HMI Unified Comfort Panels
Multitouch from 7" to 22"

MTP 700 MTP 1000 MTP 1200 MTP 1500 MTP 1900 MTP 2200
800 x 480 1,280 x 800 1,280 x 800 1,366 x 768 1,920 x 1,080 1,920 x 1,080
7.0" 10.1" 12.1" 15.6" 18.5" 21.5"

MTP = Multi-Touch Panel


SIMATIC HMI Unified Comfort Panels
Resolution and mounting compatibility
Comfort Panel

4.3" 7.0" 9.0" 12.1" 15.4" 18.5" 21.5"


480 x 272 800 x 480 800 x 480 1,280 x 800 1,280 x 800 1,366 x 768 1,920 x 1,080
Unified Comfort Panel

7.0" 9" →10.1" 12.1" 15.6" 18.5" 21.5"


800 x 480 1,280 x 800 1,280 x 800 1,366 x 768 1,920 x 1,080 1,920 x 1,080

Enlarge Mounting Mounting Mounting


Cut-Out frame frame frame
SIMATIC HMI Unified Comfort Panels
Increased system performance

Comfort Panel Unified Comfort Panel


7 – 12"/15 – 22" 7 – 12"/15 – 22"

PLC-Connections 8 16

Tags 2,048 / 4,096 8,000 Increased quantity structure


Alarms 4,000 / 6,000 9,000 from 7" to 22"
Logs 50 50

Logging Tags 2,048 5,000 Doubled quantity structure


Scripts 100 / 200 600 compared to Comfort Panel
Trends 300 / 400 600

Trends per Trend Control 8 20


Differentiation only for
Text-/Graphic list 500 750
tags and objects per screen
Screens 500 / 750 1,200

- Objects per screen 400 / 600 800 / 1,200

- Tags per screen 400 600 / 800


SIMATIC HMI Unified Comfort Panels
Optimized usability with Multitouch gestures

Intuitive operation for industrial applications


• Usability is similar to smartphones
• Modern design with new robust hardened glass front
• Glove operation
• Anti-reflective and brilliant glass for better readability
• Detection of fault operations e.g., heel of hand
• High electromagnetic compatibility (EMC)

Gestures and Multitouch


• Gesture detection control to define actions
e.g., swipe gesture for screen change
• Zooming and panning for more details
• Scroll
• 2-Hand Operation
SIMATIC HMI Unified Comfort Panels
Glove operation

Support of commercial work gloves


• UVEX tested gloves (link):
SIMATIC HMI Unified Comfort Panels
Connectivity

2 Port PROFINET Switch


1 IP address 100 Mbit

1 Port Ethernet
1 IP address 100 Mbit/1 Gbit

Serial
(422, 485) to support 3rd party PLCs

4x USB 3.0
Support of USB Hardware e.g., printer,
2x SD-Card
Data card for files, logs and customer data
System card for automatic backup
Reset Button
Set device to reset mode
SIMATIC HMI Unified Comfort Panels
Interfaces

Integrated Switch X1 Gigabit Interface X2


2 Ports 1 Ports
• S7/S7+ Communication • Project download and Firmware
• MRP / HSYNC Update via Ethernet
• PN Basic Services • Sm@rtServer (VNC) Access
(assign name, IP,..) • Web Browser
• Project Download • Network Access
• NTP, Unified Collaboration, • Edge Management and Apps
Internet access, • Integrated 3rd Party PLC
Sm@rtClient/Sm@rtServer, PROFINET ETHERNET
(e.g. Mitsubishi, Allen-Bradley)
Industrial Edge

Full connectivity for both ethernet interfaces


SIMATIC HMI Unified Comfort Panels
Completely new designed control panel

• New look for the Control Panel - optimized for touch devices
• User has only access to control panel UI – not operating system UI
SIMATIC HMI Unified Comfort Panels
Increased flexibility by openness

TIA Portal Openness Application Openness


• Enables automated • Preinstalled applications
engineering for Panel and • Siemens Industrial Edge
PC-Systems to expand the standard
functionality

Runtime Openness Hardware Openness


• Local access • More flexibility
to HMI Runtime Tags with ready to use
via OpenPipe USB hardware
• Custom Web Controls e.g., printer
for more flexibility Supported Printer
(Operating Instructions)
SIMATIC HMI Unified Comfort Panels
Pre-Installed Applications

Preinstalled and ready to use applications


• Web browser: Firefox
• Media Player: VLC Media Player
• Office Software: Libre Office
• PDF Viewer: Okular

Start applications from Runtime


using system functions or control panel

Switch between Runtime and Apps


with the new taskbar
SIMATIC HMI Unified Comfort Panels
Openness to add applications using Edge technology

Expand the standard functionality


via Edge Apps

• Siemens or others can provide applications


• Access to WinCC Unified Online Tags using
OpenPipe interface

• Device Managed Edge 1)


Apps can be managed directly on the device

• Central Managed Edge


Apps can be managed centrally via Edge
Management System

Note: Edge applications can be used on all Unified Comfort Panels.

1 Option can be ordered via license


SIMATIC HMI Unified Comfort Panels
fo “Op on+” – now integrated as standard

System and diagnostics information


• Display and modify IP addresses in Runtime
• Display panel type, MFLB, serial number, firmware and
TIA Portal version

Security
• Activation and deactivation of USB, SD card
Included functionalities • Activation and deactivation of network interfaces
(fo “Op on+”) • Uninstallation of all programs possible
SIMATIC HMI Unified Comfort Panels
System architecture

Openpipe

Control Panel Project

Applications e.g.,
EDGE mgmt.

EDGE App

EDGE App

EDGE App

VLC, Chrome
EDGE RT Device Model HMI RT

Operation System
Hardware
SIMATIC HMI Unified Comfort Panels
Device managed Edge concept

Enable Edge functionality Device managed Edge App management


Directly in control panel Web application running on the panel Manage apps locally

• Edge Apps resources are limited regarding processor and memory usage
• Resources are reserved for WinCC Unified Runtime to ensure best performance
SIMATIC HMI Unified Comfort Panels
Unified options

… scalable from operator panel to control center

… xp n bl of v y ppl c on

… on p s b ckbon

…w p ov n n n n n TI o l
V18 NEW

SIMATIC HMI Unified Comfort Panels


User Management – local RFID Authentication Unified Comfort Panel PC

local RFID Authentication for HMI Unified PC


Local User Management Local Web Client Runtime
+
PM-LOGON ➢ Connect RFID Reader to HMI Unified PC: All PM-LOGON supported
Runtime RFID Readers
➢ Assign cards with PM-LOGON Configurator
➢ Authenticate: State full & state less according to configuration,
push card to reader, Login w/wo additional PIN
UMC (Ring)
Server + Local RFID Authentication for HMI Unified
PM-LOGON
Server Comfort Panel
➢ Connect RFID Readers to HMI Unified Comfort Panel:
Siemens RF1040R, RF1060R, RF1070R
➢ Global (PM-LOGON license required):
▪ Install and configure PM-LOGON Server & Assign cards
with PM-LOGON Configurator
▪ State full & state less according to configuration and reader
type, Login w/wo additional PIN
Local User Management Central User Management
Standard &
Neutral Design

Optional Extension Unit Operator Controls Multi-Touch

Mounting option
for pedestal

Accessories
are compatible
Industrial
Certifications Edge enabled

IP65 All-around
Easy access to all
Hardware interfaces
SIMATIC HMI Unified Comfort PRO

”- ,5”
Mounting option Brilliant & Durable Display Industrial Encrypted
for supporting arm Glass Front Operating System Communication
SIMATIC HMI Unified Comfort Panel PRO

Configurable with Expected Release Equal price level to Planned device


WinCC Unified under Date: end Q2/23 Comfort PRO device versions:
TIA V18 (depends on delivery planned 12’’, 1 ’’, 1 ’’, 22’’
situation)

Siemens & Neutral Mounting types: Compatible to RFID via external RFID
front planned Support arm, existing Extension reader (in preparation
Central point, Units V18)
Pedestal
c

Certified Certified Multi-Touch

c
Fraunhofer Tested Device
IP96k
Cut-Out compatible to
Protection Unified Comfort Standard

Engineering compatible to Standard &


Unified Comfort Standard Neutral Design
Industrial Edge
SIMATIC HMI enabled
Unified Comfort Hygienic

7”- .5”
Glass Splinter Guard Brilliant & Durable Display Industrial Encrypted
Protective Housing IK10+ Glass Front Operating System Communication
SIMATIC HMI Unified Comfort Panels
Additional certificates

Certificates are available (SIOS)

Hazardous Locations Marine / Shipping

Change over from “old” MLFB -0AX0 → to “new” MLFB -0AX1 is done

“old” MLFB will reach M 00/ 10 in 07/2022


SIMATIC WinCC Unified
Engineering System and Simulation

As of TIA Portal V18 the WinCC Unified PC Runtime Simulation is


v l bl v DVD „SIM TIC nCC Un f C Run V 8“.
SIMATIC HMI Unified Comfort Panels
Note Panel images – V18

As of WinCC Unified V18, the image for updating the firmware


of Unified Comfort Panels is not included in the package.

Download Image File (SIOS)


SIMATIC WinCC Unified V18
Engineering Packages

WinCC Unified
Comfort

WinCC Unified Online Software


Package (DVD)
ES V18 Delivery (OSD)
WinCC Unified
WinCC Unified
PC 10k (10.000) 6AV2151-0XB01-8AA5 6AV2151-0XB01-8LA5
Comfort ES

WinCC Unified PC
6AV2153-2FB01-8AA5 6AV2153-2FB01-8LA5
(10k) ES
WinCC Unified
PC 100k (100.000 ) WinCC Unified PC
6AV2153-2GB01-8AA5 6AV2153-2GB01-8LA5
(100k) ES

WinCC Unified PC
6AV2153-0XB01-8AA5 6AV2153-0XB01-8LA5
WinCC Unified (Max) ES
PC (max)
SIMATIC WinCC Unified V18
License Compatibility Engineering - Existing customers

WinCC (TIA Portal) V18 WinCC Unified (TIA Portal) V18


Engineering System Comfort WinCC WinCC RT Unified Unified
valid for… Panels RT Adv. Prof. Comfort Panels PC Runtime
WinCC Prof. (max) (max.) (100k)

WinCC Prof. (4k) (4k) (10k)

WinCC Prof.(512) (512) (10k)

WinCC Advanced (10k)

WinCC Comfort

Existing customers with WinCC (TIA Portal):


The license of WinCC (TIA Portal) is also valid for engineering using WinCC Unified (TIA Portal).
SIMATIC WinCC Unified V18
Upgrading

Upgrade Packages

TIAP Engineering System

V17 WinCC Unified PC RT base


Incl. WinCC Unified Parameter Control (Unified PC), WinCC Unified Report
Execution, WinCC Unified Collaboration, WinCC Unified Audit Basis
V18
WinCC Unified Database Storage

WinCC Unified PI options


SIMATIC WinCC Unified V18
Software Update Service (SUS)

WinCC Unified
Package (DVD) Online Software Delivery (OSD)
Software Update Service (SUS)
The SUS
WinCC Unified Comfort n.a. 6AV2151-0XB00-0LY5 contract
can be
WinCC Unified PC (10k) ES n.a. 6AV2153-2FB00-0LY5 adapted
via SUS
WinCC Unified PC (100k) ES n.a. 6AV2153-2GB00-0LY5
Powerpack.

WinCC Unified PC (Max) ES n.a. 6AV2153-0XB00-0LY5

V17 V18
SIMATIC WinCC Unified V18
Upgrade Packages

WinCC Unified
Package (DVD) Online Software Delivery (OSD)
Upgrades V16..V18

WinCC Unified Comfort 6AV2151-0XB31-8AA5 6AV2151-0XB31-8LA5

WinCC Unified PC (10k) ES 6AV2153-2FB31-8AA5 6AV2153-2FB31-8LA5

WinCC Unified PC (100k) ES 6AV2153-2GB31-8AA5 6AV2153-2GB31-8LA5

WinCC Unified PC (Max) ES 6AV2153-0XB31-8AA5 6AV2153-0XB31-8LA5

V16 V17 V18


HMI Unified Comfort Panel
HMI Unified Comfort
Client Pricing V18

Remote Client Remote Client


Operate Monitor

Max. 3 external clients in total

NEW WinCC Unified Client Panel Operate (1) *6AV2151-1JW00-0LB0 900,00 EUR

NEW WinCC Unified Client Operate (5x1) Panel *6AV2157-5JV00-0LB0 3.700,00 EUR

NEW WinCC Unified Client Panel Monitor (1) *6AV2151-1JM00-0LB0 300,00 EUR

Packages available via Online Software Delivery (OSD) and Packages

* List Prices for OSD versions


WinCC Unified View of Things
Customer value

View of Things (VoT)


using WinCC Unified technology for automated generating
web screen running directly on PLC Web Server

… simple configuration instead of web programming


… consistency through same screen elements
which are supported for PLC
… using one engineering environment - TIA Portal
… directly integrated in the PLC node
(no WinCC Unified installation needed)
WinCC Unified View of Things
Functionality

Unified View of Things Unified RT (Unified Comfort Panel or Unified PC)

Basis / • B s c obj c s” (L n , c cl , ...) • Run func on l y ( l n , Lo n , …)


Screen • “El n s” (I/O f l , bu on, u , ...) • Faceplates
Elements
• “G p cs”/“Dyn. w s” (p c u s, cons, svg, …) • “Con ols” ( l -, TrendControl, ...)
• Using screen windows • “My con ols” ( . . Cus o w b con ol)
• Maximum number of 10 screens • Resource lists (Text & graphic lists), symbolic I/O field
• Maximum number of 100 tags • WinCC Unified options (PaCo, u , …)

Data • Direct tag connection • Full / Global scripting


Connection • Screen change • Full set of system functions
/ Dynamics
• System Function (limited set)
• Scripting in screens (basic functionality)

Users • User management of PLC web server • Screen item access rights
• Local or central user management for WinCC Unified
WinCC Unified View of Things
Preconditions and Licensing

Preconditions Licensing
• Software: • WinCC Engineering License is required
TIA Portal V17: STEP 7 Professional • WinCC Unified ES
(contains VoT Features) (minimal WinCC Unified Comfort ES)
• PLCs: • Runtime License: planned for further enhancements
All SIMATIC S7-1500 standard systems
(incl. ET200SP CPU, Failsafe, T-CPU)
PLCSim Advanced V4.0 is also supported
• Firmware: Min. FW 2.9
Performance
• Performance and quantity structure is
depending on PLC and client device resources
V18 NEW

WinCC Unified View of Things


View of Things

Highlights of View of Things Efficient engineering Use on more devices

VoT Application can be reused, VoT application is now also available for
this means copied and pasted ➢ SIMATIC Software Controller
➢ via SINUMERIK Toolbox V18 for
➢ from one device in the project to another SINUMERIK ONE and
capable device SINUMERIK Motion Control

➢ as mastercopy in the library and back to the


project to a capable device
SIMATIC WinCC Unified V18 Offline download to memory
View of Things card possible

Efficient Engineering for View of Things by improvement of the Unified Engineering

➢ Proportional resize of multiple screen objects by


➢ Transparent screens
Layer handling mouse
➢ Rename layers on device level ➢ Grid
➢ Shortcut keyboard keys for fast access at Runtime
➢ Configure layer visibility ➢ Autoscroll in screen editor
➢ Dynamization of Graphics for ScreenObjects
➢ Scripting: ➢ Multiline support in project text editor
➢ Automatic tag trigger for local scripts
➢ handling Layers ➢ Direct text input for Buttons and Labels
➢ Configurable default screen size
➢ GetClientInfo ➢ Favourites in property grid
➢ Change object color
V18 NEW

WinCC Unified View of Things


View of Things for Software Controller

Firmware Version >= V21.9

Add a View of Things application to


SIMATIC S7-1500 Software Controller

Use View of Things on our S7-1500 Software Controllers


SIMATIC WinCC Unified
Preconditions – Operating System

Operating Systems
Configuration Engineering Runtime
(64-bit)
• Windows 10 Home Version 1909
Windows 10 Home • Windows 10 Home Version 2004
• Windows 10 Home Version 2009/20H2

• Windows 10 Pro Version 1909


Windows 10 Pro • Windows 10 Pro Version 2004
• Windows 10 Pro Version 2009/20H2

• Windows 10 Enterprise Version 1909


Windows 10
• Windows 10 Enterprise Version 2004
Enterprise
• Windows 10 Enterprise Version 2009/20H2

Windows 10 IoT Enterprise • Windows 10 Enterprise 2016 LTSB


(PC RT: Test for IPC) • Windows 10 Enterprise 2019 LTSC

Windows Server
• Windows Server 2016 Standard (Full Installation)
(for Unified PC RT with
• Windows Server 2019 Standard (Full Installation)
more than 5 Clients)
SIMATIC WinCC Unified
Preconditions

Operating
System (Client) Recommended Browser
Microsoft Windows • Google Chrome (Test focus)
• Mozilla Firefox
• Microsoft Edge
Android • Google Chrome (Test focus)
• Mozilla Firefox
• Microsoft Edge
iOS, Mac • Safari (Test focus)
• Google Chrome
• Mozilla Firefox
• Microsoft Edge

FAQ: https://support.industry.siemens.com/cs/ww/en/view/109757952
SIMATIC WinCC Unified
Preconditions

Reporting (Excel)

Excel 2016 – Build 16.0.6769 (32- or 64-Bit)


Available Online access to Excel (Online Office 365)

Virtualization

VMware ESXi 6.5 or higher


VMware Workstation 12.5.5 and VMware Player 12.5.5
VMware Workstation 15.0.2 and VMware Player 15.0.2 or higher
Microsoft Hyper-V Server 2016 or higher
SIMATIC WinCC Unified
Preconditions

Anti Virus Software (released with WinCC PC Runtime systems)

Symantec Endpoint Protection 14.0

McAfee Endpoint Security (ENS) 10.5

Trend Micro "Office Scan" 12.0

Kaspersky Endpoint Security 11.1

Windows Defender (as part of Windows operating systems)

Qihoo 360 "Safe Guard 11.5" + "Virus Scanner"


SIMATIC WinCC Unified
Overview - Connection to automation systems

Unified Comfort Panel PC


• Perfect integration of SIMATIC PLCs and
Software PLCs (TIA Portal)

• High number of connections for


PC systems, up to 128 PLCs
(>10 with SIMATIC NET Softnet-IE license)

• Increased number of connections


Native 3rd Party1 S7-1200/1500 S7-300/400
for Panel systems, up to 16 PLCs
S7-1500 Software Controller PLCSIM/PLCSIM Advanced

1 Allen
Bradley EtherNet/IP, Mitsubishi iQR/iQF/MC TCP/IP, Omron Ethernet/IP
Communication driver Standard Modbus TCP/IP, OPC UA are integrated
• Full integration in simulation
→ Other Native 3rd Party1 communication via Channel Support Package (CSP) with PLCSIM and PLCSIM Advanced
(Entry-ID: 109779920)
SIMATIC WinCC Unified
Performance data

Number of connections
Connection type
Unified Comfort Panel WinCC Unified Runtime PC
S7-300/-400 16 128
S7-1200/-1500 16 128
Allen Bradley EtherNet/IP 8 8
Mitsubishi iQR/iQF/MC TCP/IP 8 8
Omron Ethernet/IP 8 8
Standard Modbus TCP/IP 8 8
SIMATIC HMI Unified Comfort Panels
Remote control

Synchronous Access Asynchronous Access


NEW
via app (VNC) via browser (web-client)

Remote
control
SIMATIC WinCC Unified
Server / Client – Overview – quantity structure

Server system Number of clients


HMI Unified Comfort Panel up to 3 web clients
WinCC Unified PC-station with single-user system (Windows 10) up to 5 web clients
WinCC Unified PC-station with windows server operating system up to 150 web clients

How many clients can be connected in parallel to my Unified system?


WebClient
Live Demo

LIVE DEMO 1

• Sm@rtClient ç lış sı
• WebClient ç lış sı
SIMATIC WinCC Unified – Tools
Configuration Manager

Adjust settings for


• Web UI certificate
• Certificates of the OPC UA server
• User Administration
• Storage location of log databases
• Password-protected download

​ nCC Un f ​– Configuration available after


installation of ​ nCC Un f ​ C Runtime
SIMATIC WinCC Unified – Tools
Unified Configuration
SIMATIC WinCC Unified – Tools
Unified Configuration
Use the configuration
downloaded from TIA
Portal

Use the configuration from


Runtime system settings

Configure the user management configuration that Runtime is to use


SIMATIC WinCC Unified – Tools
Unified Configuration
SIMATIC WinCC Unified – Tools
Installation – Usability Improvements

Additional Information's during configuration


SIMATIC WinCC Unified – Tools
Runtime Manager

Delete project

Add project from


Update list
offline transfer

Start with
options

Start project Stop project


SIMATIC WinCC Unified – Tools
Runtime Manager Settings

Secure transfer
password

autoscaling
behavior
language

Runtime Manager settings > General tab.


SIMATIC WinCC Unified – Tools
Runtime Manager Settings

autoscaling
deactivated

autoscaling
activated

Automatically adapt the size of HMI screens to the window size


of the browser in which a Runtime project is open.
SIMATIC WinCC Unified – Tools
Certificate Manager

Functions of the Certficate Manager:

• Create a Certificate Authority


• ​C n l c on of c f c s fo nCC Un f
devices in the network.
• ​Enc yp xpo of c f c s.
• ​I po n ns ll on of conf u c fc s
on a WinCC Unified device.

The Certificate Manager supports you in creating and distributing certificates


for WinCC Unified components that use encrypted communication.
SIMATIC WinCC Unified – Tools
Certificate Manager

Supported Certificates:

− ​ nCC Un f Run ( bs v (IIS))


− ​ nCC Un f O C U S v
− ​ nCC Un f O C U Expo
− ​ nCC Un f Coll bo on
− AuditTrail certificate

Each communication partner is assigned a unique certificate, which


is used for authentication and encryption.
SIMATIC WinCC Unified – Tools
Certificate Manager - Improvements
Visual Studio style -
Views are dockable and
pinable

V17 V18

Shows installed certificates

User can manage installed certificates


SIMATIC WinCC Unified System

Application Note/Example SIOS No:


SIMATIC WinCC Unified Tutorial Center (Videos) 109782433
TIA Portal Add-In Data 2 Unified 109770510
WinCC Unified Tag Simulator 109760641
WinCC Unified Demo projects 109776633
WinCC Unified Tips and Tricks for Scripting (JavaScript) 109758536
TIA Portal Library HMI Template Suite 91174767
Guide for switching to Unified Comfort Panels 109768002
Integrating user-defined controls into WinCC Unified (Custom Web Controls) 109779176
Getting Started Edge @ Unified Comfort Panel (Edge app Send Mail, MQTT, Nodered) 109778780
Energy Manager for Unified Comfort Panel 109781236
Performance Insight for Unified Comfort Panel 109780761
WinCC Unified – V18

User Administration / UMC

Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda

Time Topic Presenter

1 User Administration
2 RF ID

Page 77 Un s c |©S ns | DI F S SU MI
Local User Management
General Information

Unified Comfort Panel PC


Add, remove users, assign roles in TIA Portal
engineering and change passwords during
“Only qu l f
(Password) runtime
Function x x us s llow ”
WinCC Function x x
Unified Function x x x x
Function x x x
(Password)
Role
Role
Role
Role

Define user roles and function rights in TIA


Portal engineering to your demand for privacy and
integrity in terms of authentication and authorization

Protection against unauthorized access


of single objects or entire production units

Local user management: definition of users and function rights


during engineering

Page 78 Un s c |©S ns | DI F
Local User Management
Password policies

Set the password


complexity

You can change the password complexity in the security settings.

Page 79 Un s c |©S ns | DI F
Local User Management
Add Users

Add new local user

Page 80 Un s c |©S ns | DI F
Local User Management
Compilation warning

• At least 1 user with administration rights is


required to manage users at RT

Page 81 Un s c |©S ns | DI F
Local User Management
User-specific runtime rights

1. Add your own role


2. Select User-
specific RT rights

3. Create individual
User-specific RT
rights

The higher value of the maximum session timeout (user and role compared) prevails.

Page 82 Un s c |©S ns | DI F
Local User Management
Roles and function rights

1. Select one of
the new roles

2. Select the device 3. Select the function rights you


to which you want to need (multiple rights are possible!)
add function rights

Page 83 Un s c |©S ns | DI F
Local User Management
Assign roles

1. Add your own 2. Add a password


local user

3. Assign one
or multiple roles

Only users with at least one assigned role are downloaded as well as
only roles with at least one assigned function right are downloaded.
Page 84 Un s c |©S ns | DI F
Local User Management
Automatic login in RT (local device)

1. Open the RT settings

2. Enable automatic login


and add a User

Page 85 Un s c |©S ns | DI F
Local User Management
Authorization

• Use the Authorization property of a screen object


to assign a function right which is needed for the
operation during Runtime
Assign a function
right to Authorization
• Dynamization of p op y‘ u o z on’ is not
possible

Page 86 Un s c |©S ns | DI F
Local User Management
Download

• The entire User management data in RT will be


overwritten by the users and roles defined in TIA
Portal engineering

Remove hook to overwrite


the user administration
data in runtime

Page 87 Un s c |©S ns | DI F
Local User Management
Authorization on Unified Comfort Panel

Without the correct authorization, a login pop-up window will be shown on panel

Page 89 Un s c |©S ns | DI F
Local User Management
Web UI

• The User profile is only reachable, if the


current user is equipped with
administration rights

• New users can be added


• New user can be assigned to a specific
role

• After downloading the TIA project again,


central added users which are not in the
TIA project will be deleted.

Page 90 Un s c |©S ns | DI F
Local User Management
Live Demo

LIVE DEMO 2

• Security Settings ös
• Yeni lokal us ’l ekleme (Admin, Monitor)
• Y n Rol oluş u (MyNewRole)
• User Spesific RT Rights oluş u (MyOwnRight)
• MyN wRol ’ RT Rights b ğl
• Us ’ Rol b ğl
• Authorization y k s f klı bu onl oluş u
• ShowControlPanel System Function
(Security.UserManagement)
WinCC Unified – V18

Modern UI

Un s c |©S ns | DI F S SU MI
Modern UI
Add Device

Page 93 Un s c |©S ns | DI F S SU MI
Modern UI
Downloading project data

In this box you can select a


delta or a full download if
applicable.

Select if you would like to


start RT when download is
finished or not.

Page 94 Un s c |©S ns | DI F S SU MI
NEW

Modern UI
Support delta compile/download for data type and name changes of simple HMI tags

Now it is possible to use delta compile and download for data type and name changes of simple HMI tags

Page 95 Un s c |©S ns | DI F S SU MI
Modern UI
Device handling – Change device

• You can use existing configurations for new devices


and optimize these configurations with little manual
effort.

• All data configured by you is retained in the


configuration data. This means you do not need to
copy individual objects of one device and paste
them to another.

WinCC Unified supports change device function between


PC-station and HMI Unified Comfort Panels.

Page 96 Un s c |©S ns | DI F S SU MI
Modern UI
Device handling – Change device

After an HMI device has been replaced, you


should check:

• Appearance of configured screens

• Storage system settings

• Rename the device if necessary

In case of unsupported functions after a device change,


the compiler will report an error message.

Page 97 Un s c |©S ns | DI F S SU MI
NEW

Modern UI
Screen resolution

Screen resolution will be


applicable only for newly
created screens.
Change default screen
resolution in runtime settings

Configure screen resolution from runtime settings

Page 98 Un s c |©S ns | DI F S SU MI
NEW

Modern UI
Screen resolution

Resize to display will refer


size from RT settings

Configure screen resolution from runtime settings

Page 99 Un s c |©S ns | DI F S SU MI
Modern UI
Resize screen

Objects out of range are not adjusted.

Page 101 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Screen Size improvement

Now it is possible to use screens wit a resolution of 20000x20000

Page 102 Un s c |©S ns | DI F S SU MI


Modern UI
Live demo

LIVE DEMO 3
1. Unified Comfort Panel ekle
2. Settings-Fit to Screen ös
3. Resize ç lış sı
4. UCP -> PC System c z ğ ş .

Page 103 Un s c |©S ns | DI F S SU MI


Modern UI
Drag & Drop possibilities

Drag &Drop Screen events


• to existing Buttons

Drag & Drop tags to object


• To G u , Sl ,B ,R o bu on, …

Multi Drag & Drop of tags


• Create multiple IO fields

Drag & Drop graphics to objects


• To Buttons & Graphic view

Drag & Drop of tags to items


with process property

Page 108 Un s c |©S ns | DI F S SU MI


Modern UI
Drag & Drop Screen

Drag & Drop of activate


screen event to existing
buttons

Creates a new button with screen change event


Drag a screen to a existing button adds the Screen change event instead of creating a new one

Page 110 Un s c |©S ns | DI F S SU MI


Modern UI
Drag & Drop Graphics to Objects

Drag & Drop of


graphics to items
with graphic view
Drag&drop actions
• Text list: creates a text field with resource list
• Graphic list: creates a graphic view with
resource list
• Graphic: creates graphic view

Tip: Graphics can be also dragged from


windows explorer

Page 112 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Find and replace text

Find and replace all texts of the current Editor


e.g. Screen or tags editor. Not project wide
search

Use wildcards.
* → for any number of characters
? → to leave out a single character

Page 114 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Auto-Scrolling

Horizontal and Vertical auto scrolling in


screen editor via mouse and keyboard arrow
keys

Auto scrolling available in any screen editor


(Faceplates, Unified Comfort Panel,
View of Things)

Auto scrolling supported by editing screen


items (Resize Polygon or Polyline)

Page 115 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Usability improvement with CTRL + drag

CTRL + drag with mouse

When copying an object with CTRL + drag the original object does not disappear anymore

Page 116 Un s c |©S ns | DI F S SU MI


Modern UI
Keyboard shortcuts

Keyboard shortcuts

• Ctrl + A: select all objects

• Ctrl + Shift + A: select all objects from same type


Select object +
Ctrl + Shift + A
• Ctrl + drag + release: creates a copy of the
object

• Ctrl + C, Ctrl + V: creates a copy of the object


repeated execution of Ctrl + V pastes the object
depending on offset position of last pasted
Ctrl + drag
element
Modern UI
Snap line

All objects do support


vertical snap lines
dragged near by

All objects do support


horizontal snap lines
dragged near by

Snap lines in screen editor help adjusting objects to each other


NEW

Modern UI
Grid

Configure grid and snap mode


by using the Layout Taskcard
or the TIA Portal Settings

A grid is available for screen and faceplate editor.

Page 119 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Tooltip in case of hovering over screen objects

Content type and object name

Preview with size and position


including snap to line

Page 120 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Multi selection: Change size proportionally

Change size proportionally for all selected


screen items with the mouse

Proportional size adaptation is available in


any screen editor (Faceplates,
Unified Comfort Panel, View of Things)

Page 121 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Mass operation: Change object color

Change object color dialogue

Change objects
color of the screen

Change color of object

Change quickly the color of multiple screen objects by ‘Change object color’ dialogue

Page 124 Un s c |©S ns | DI F S SU MI


Modern UI
Live demo

LIVE DEMO 4
1. Slider, Gauge, IO/Field ekle
2. Process Value-Write Immediately öz ll ğ
3. Obj l T G b ğl (D & Drop)
4. Sayfa drag & drop
5. Çoklu T G & drop
6. Grafik list ös
7. CTRL F ös
8. Daire ve Kare ekle
9. CTRL+DR G, CTRL+S IFT+ ös
10. Change Object Color fonks yonu ös

Page 125 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Misleading order of properties

V17 V18 V17 V18

Background - Color

Primary property Secondary property

Properties re-sorted to summarize properties which are belonging together

Page 126 Un s c |©S ns | DI F S SU MI


Modern UI
Properties

Search for properties The property list can be sorted as follows:


by characters
Total number of dynamized
properties is displayed • Display of properties in alphabetical order

• Display of the properties grouped in categories

• Search Filter:
Filter for
− Search for all properties by characters
dynamization type
− Overview of used dynamizations
− Filter of different dynamizations

Tip: most important properties of an object can always be found


in the “General” category (list needs to be sorted by category)
Page 127 Un s c |©S ns | DI F
Modern UI
Property search and filter

Search for properties


by characters

Combine property
filter with
dynamization filter

Find relevant properties and dynamizations quickly

Page 128 Un s c |©S ns | DI F


NEW

Modern UI
Search property filter improvement

Search String Filter remains


on the new selected screen
item
History of the last 5 used
filters

Property search string remains during switching to another screen item

Page 129 Un s c |©S ns | DI F S SU MI


Modern UI
Properties

Column for static Column for


values dynamization

Dynamic parameter
can be chosen

Almost all object properties can be dynamized. Tags, Scripts and depending on the property other objects
(resource list for example) can be used for dynamization.
Modern UI
Properties

Contains the new value and


can be used in the script

Change method can be


dynamized via script only

Most of the object properties include change methods that will be executed by change of the
property value
Modern UI
Improvements in Engineering

Highlight dynamics in the property list

Direct text input for buttons and text box

Inverse colors by multiselection

Page 132 Un s c |©S ns | DI F


Modern UI
Improvements in Engineering
V17 V17 Update 1

Set properties in case of a


multiselection, even if not all
screen items have this
properties

Page 133 Un s c |©S ns | DI F


NEW

Modern UI
Favorites for properties

Configure your own favorite properties

On the left, configurable property list for the user with important used properties.
On the right, Overview of the configured favorite properties

Page 134 Un s c |©S ns | DI F S SU MI


Modern UI
Events

• The available events depend on the object which is


selected

• System functions or scripts can be triggered at


events

• Multiple system functions can be configured in a


function list

• Conversion of a function list to a script is possible

Page 137 Un s c |©S ns | DI F


NEW

Modern UI
Drag & Drop of objects into the function list

Tag in details view

Screens, tags and resource lists can


Screens in details be added to system functions via drag &
view drop from details view

Secondary property

Page 138 Un s c |©S ns | DI F S SU MI


NEW
Unified Comfort Panel PC
Modern UI
Hotkeys in control buttons

e.g. for alarm


acknowledgment

Hotkeys are unique


per screen

Add a Hotkey

Hotkeys are working on all control buttons.


Hotkeys (Same combination) are unique per screen

Page 139 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Click through transparent Screen Window/Faceplate

Click on the button

Set BackFillPattern property to


"transparent"

Page 141 Un s c |©S ns | DI F S SU MI


Modern UI
Texts

Change the font of multiple “text” objects.

Page 142 Un s c |©S ns | DI F


Modern UI
Multiline support

Insert line break direct in text Enter line break with


w “S IFT + ENTER” “CTRL + ENTER”
into text box detail view

Multiline text is supported in text boxes and buttons.

Page 143 Un s c |©S ns | DI F


Modern UI
Texts

• T „T x s“ b spl ys ll l n u f nc s n
a screen or depending on the selected object!

• All texts in all configured languages will be


displayed

Direct editing is • Direct editing, copy&paste actions are possible


possible

Tip: use the „ exts“ tab to edit texts of objects instead of using the property list
can save time as you do not need to search for the property
Page 144 Un s c |©S ns | DI F
Modern UI
Custom fonts

Create new object with font


property and edit the font All windows installed
locally fonts are available for
selection

Fonts configured in the engineering (TTF) are converted into web fonts and
both TrueType fonts and web fonts are downloaded to the runtime machine.
Page 145 Un s c |©S ns | DI F
Modern UI
Custom fonts

• Only fonts that based on TrueType-Fonts


(TTF) data can be used in TIA Portal.

• PostScript fonts and open type fonts that


contain PostScript data are not supported.

• It is important to install the font for all Users


Install for all users
• After the installation of a font a restart of TIA
Portal is necessary

Page 146 Un s c |©S ns | DI F


Modern UI
Change object references

What was replaced

Change object references

Page 147 Un s c |©S ns | DI F


Modern UI
Flashing snippet

Enable flashing
Flashing Rate:
- Fast
- Medium
- Slow

Page 148 Un s c |©S ns | DI F


Modern UI
Live Demo

LIVE DEMO 5

• Drag & Drop Slider, Gauge


• Snap lines by resizing and adding objects
• Show focus visual
• Handling layers
• Dynamizations

Page 149 Un s c |©S ns | DI F


NEW

Modern UI
Group Screen objects

To edit object
select Group
or
individual item

Group selected
items
Ambiguous when
group objects
contain deviating
static values

Change static
properties at once

Group multiple screen objects and handle them as one object in ES and RT

Page 150 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Group Screen objects

Add selected items to remove items from the


the Group Group

Add and remove objects from the group is possible

Page 151 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Edit group of screen objects

Doubleclick to edit
size, position
properties and
dynamization

Drag-and-drop
Edit grouped items in inside a group
multiselection possible to connect

Screen objects in a group can be edited easily

Page 152 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Group in Faceplate type and Faceplate instance in group possible

Group faceplate instances


Group items inside a
with other items
faceplate type

Group of screen objects can be used in Faceplate types


Faceplate instances can be used in a group
Page 153 Un s c |©S ns | DI F S SU MI
Modern UI
Live Demo

LIVE DEMO 6
• G upl öz ll ğ n ös
• Layerlardan grub l nı kl çık
• G up l nl ını k k üz nl

Page 155 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 Editor handling
2 Property handling
3 Groups
4 Dynamizations
5 Layers, Zoom & Decluttering

Page 156 Un s c |©S ns | DI F S SU MI


Modern UI
Dynamization

Dynamization types:
Dynamization types depend
on the selected object
• Tag – Defines the property value depending on the
tag value
• Script – Defines the property value depending on
the return value
• Resource list – Defines the property value
depending on an entry from a text/graphic list
• Flashing – Defines that the property flashes in
configurable colors

Dynamics are used to change the properties of screen objects and screens
in runtime depending on another value.

Page 157 Un s c |©S ns | DI F


Modern UI
Dynamization

Select tag that will be


Select the linked to the dynamization
dynamization type

Select dynamization
settings

The object property is dynamized with a tag. The tag value


specifies the property value in runtime.

Page 159 Un s c |©S ns | DI F


Modern UI
Dynamization

Copy & Paste conditions of animation dialog for further screen objects.

Page 160 Un s c |©S ns | DI F


Modern UI
Dynamization

Script trigger
Column for static
values Column for
dynamization

Dynamic parameter
can be chosen

Almost all object properties can be dynamized.


Tags, Scripts and in some cases resource list, can be used for dynamization.
Page 161 Un s c |©S ns | DI F
Modern UI
Dynamization

Contains the value and can


be used in the script

Change method can be


dynamized via script only

Most of the object properties include change methods


that will be executed by change of the property value.
Page 162 Un s c |©S ns | DI F
NEW

Modern UI
Tag dynamization for graphic property in Screen items

Graphic property item can be dynamized by Tag

Page 163 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Usability Improvements

Compiler
Showing a Red background with the minimum value
message
warning will appear if inputting an Integer with
values outside the limits or a String that
exceeds the length

Warnings are shown when ranges overlap or the lengths exceed

Page 165 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
IO Field feedback for wrong values

Current value
Valid for integer with values outside limits and
for strings that exceeds the length
Enter value outside limits

Red background and


deletion of the wrong value Entering wrong type values in an IO field is not
possible, the value inside the IO Field does not
change.

Operator gets feedback when entering a wrong value

Page 166 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Simple dynamics – Bit mask (multiple bits)

Use bit mask to assign a property value to


each bit of a tag for dynamization

Static value is used if more


bits are true

Page 167 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Value Converter with Expression

New Expression tab

Add Property

Expression configuration

Remove Property

Configure multiple expression using logical operators

Page 168 Un s c |©S ns | DI F S SU MI


NEW

Modern UI
Supported expressions
Logical expressions Mathematical operators Bitwise operators
(AND, OR, NOT, XOR) (+ ,- ,> ,<, >=,<=, /, *) ( >>, &, ^, |, <<)
Bitwise operations are currently not
supported!
There is currently no validation in
engineering in case brackets are
used

• Combine multiple tags by logical mathematical operators always need


expressions brackets
• Combine multiple operations by Current restrictions:
logical operators • Combination of multiple tags

As soon as the first expression becomes true, further expressions will not be evaluated
If no expression returns true, the default value will be used

Page 169 Unrestricted | © S ns | DI F S SU MI


Modern UI
Live Demo

LIVE DEMO 7
• IO Field feedback for wrong values
• Set an Expression to a screen object
• Symbolic IO Field with text and graphic
• Change object color
• Drag & Drop

Page 170 Un s c |©S ns | DI F S SU MI


Modern UI
Output format

• You can combine the Output formats with free text


for units:
− {F2} m/s → 10.00 m/s
− “My T nk s {I} l l f ” → My Tank has 50 liter
left
• You can also combine the Output formats:
− Fo / “{D} {T}”
Select the output
format you need

Page 172 Un s c |©S ns | DI F


Modern UI
Language handling

Project languages There are two different language levels in WinCC:


• Project languages are all languages in which a
project will later be used.
• User interface language :During configuration, the
UI languages text in the WinCC menus and dialogs is displayed in
the user interface language.

To add a language to the user interface, it should be first added as a project language.

Page 174 Un s c |©S ns | DI F


Modern UI
Language handling

• In the "text" tab of the properties, a column is


displayed for each activated language.
• If the texts are not configured for each language,
the word "text" is displayed by default.
• S o cu s “C l + C” n “C l + V” suppo .

Adding languages must be done before starting adding any elements on the HMI.

Page 175 Un s c |©S ns | DI F


Modern UI
Language handling

Use system functions to change the language in


RT:
• Set Language: Enter the Microsoft Language-ID.
• Toggle Language: Will toggle between the enabled
UI languages .
• Info (Microsoft Language-ID):
− German 1031
− English 1033
− Chinese 2025

See Online help in chapter


„Visualize processes -> Visualize processes with Runtime Unified -> Runtime API -> Locale Ids…“.

Page 176 Un s c |©S ns | DI F


Modern UI
Live demo

LIVE DEMO 8

• Working with the Output Format


• Combine the Output format with free text to add
some units e.g. 152 kg
• Change the language

Page 179 Un s c |©S ns | DI F


Modern UI
Dynamic SVGs

• Scalable Vector Graphics (SVG)


for all resolutions without loss of quality

• Animate (dynamic) SVG files according to the


process state

• Ready to use industry library


with static and dynamic SVGs

Page 180 Un s c |©S ns | DI F


Modern UI
Dynamic SVGs

Condition could be a
range or a specific value

roperties that can be dynamized can be found under “Miscellaneous > Interface".

Page 181 Un s c |©S ns | DI F


Modern UI
Dynamic SVGs

SVG interface can be accessed via scripting or System Function.

Page 182 Un s c |©S ns | DI F


Modern UI
Live demo

LIVE DEMO 9

• Add a dynamic SVG


• Dynamize a property
• Test in Runtime

Page 183 Un s c |©S ns | DI F


Modern UI
Text & Graphic lists

Select text / Graphic


lists

Text and graphic lists

Page 184 Un s c |©S ns | DI F


NEW

Modern UI
Show default text- and graphics- for objects apart from Symbolic IO

Content type: Graphic and text

Content type: Graphic

Content type: Text Content type: Text


Dynamized with resource list

User will see already in ES what he engineered for RT

Page 185 Un s c |©S ns | DI F S SU MI


Modern UI
Text & Graphic lists

Select the tag whose value


determines the text entry of
the text list

S l c „ sou c l s “
as dynamization

Select the list you


want to display in RT

Page 186 Un s c |©S ns | DI F


NEW

Modern UI
Formatted text with tags or text lists in screen items
Insert tag field into text list entry

Insert
parameter field Insert text list as field info into text list entry

Add dynamic information in the text of screen items


Users can configure text list field info

Page 187 Un s c |©S ns | DI F S SU MI


Modern UI
Live demo

LIVE D E M O 10 in 10 min
• Create a new graphic list
• Add a graphic view to a screen and connect the
p c l s , us n n l “Bakery_Process”
• Download the Runtime
• Control the tag value and check the graphic list
entries

With which other objects can you use a text list?

Page 193 Un s c |©S ns | DI F


WinCC Unified – V18

Screen Navigation

Un s c |©S ns | DI F S SU MI
Screen navigation
Device handling

• To create the screen layout screen windows are


used in WinCC Unified.
• This applies also to the Unified Comfort Panels
• Depending on the application, it may happen that
several screen windows are nested.
• The ChangeScreen system function can be used
to change the properties of the screen window
dynamically.
• Parameter: Screen name [Object]
• Parameter: Screen window path [Object, String].
More info for screen handling:
SIOS 109758536

To create the screen layout screen windows are used in WinCC Unified.

Page 195 Un s c |©S ns | DI F


Screen Navigation
HMI template suite wizard

First Navigation Sub- Navigation

Third Navigation Fourth Navigation

HMI Template suite Wizard offers you templates for screen navigation.

Page 196 Un s c |©S ns | DI F


Screen Navigation
ChangeScreen System Function

• Use as Screen window path parameter Base


screen Selection to change the screen

• Use as Screen window path parameter Screen


window item to change the screen in the same
hierarchy

• Use as Screen window path parameter String to


specify absolute/relative item path if item is not in
the same hierarchy

Page 197 Un s c |©S ns | DI F


Screen Navigation
Absolute / relative addressing

r Prefix Description
e
References the higher-level screen window (parent) in the
l ".."
a
context of the current screen window.
• Relative and absolute items paths are distinguished
References the own screen window (self).
t "." by the prefix of the item path.
i A screen item of the current screen window is referenced
v
"" without prefix.

e • The relative item path is specified starting from the


screen where the script is called.

a
• The absolute item path is specified starting from
b Prefix Description
s the "RootScreenWindow".
o References a screen window on the highest level, whose
"/" name must follow.
l
u References the screen window on the highest level in the
"~" own screen hierarchy.
t
e

Page 198 Un s c |©S ns | DI F


Screen Navigation
Example 1 - Adjacent screen windows
Main_screen

Screen_window_1 Navigation screen to


Screen_1
Open
Header navigation change content of the
window
Screen_window_2
Screen_window_2 Screen_window_4

Screen_3…..Screen_7 >

Button Screen_3
Main screen Header
Content Button Screen_4

Content
Button Screen_5

Button Screen_6
Footer
Screen_window_3

Screen_2
Navigation
Footer

(../Screen_window_2“)

The navigation window is a good example to use ChangeScreen system function.

Page 199 Un s c |©S ns | DI F


Screen Navigation
Example 1 – Close-by screen windows

Open the navigation window :


Main_screen

Screen_window_1
Screen_1
Open
Header navigation
window

Screen_window_2 Screen_window_4 Close the navigation window :


Screen_3…..Screen_7 >

Button Screen_3

Content Button Screen_4

Button Screen_5
Show the Screen_3 in the
Button Screen_6
Content window:
Screen_window_3

Screen_2
Footer

Page 200 Un s c |©S ns | DI F


Show the Screen_4 in the Content
Screen Navigation window:
Example 2 - Higher-level screen windows
Main_screen

Screen_window_1
Screen_1
Open Main screen Header
Header navigation
window

Content Screen_4…..
Screen_window_2 Screen_window_4 Screen_7

Screen_3 >
Footer
Content
Screen_window_5 Button Screen_4

Screen_4…..Screen_7 Navigation
Button Screen_5

Button Screen_6

Button Screen_7
(“../Screen_window_2./Screen_window_5“)
Screen_window_3

Screen_2
or
Footer (“../Screen_window_2/Screen_window_5“)

The content of a screen window needs to be displayed via button on the higher-level screen window.

Page 201 Un s c |©S ns | DI F


Screen Navigation Main screen Header
Example 3 - Lower-level screen windows
Content Screen_4
Main_screen

Screen_window_1
Footer
Screen_1
Open
Header navigation
window
Navigation

Screen_window_2 Screen_window_4

Screen_3 >
( „ ~ /Screen_window_3“)
Content or
Screen_window_5 Button Screen_4

Screen_4 Access (“../../Screen_window_3“)


Screen_window_3 Button Screen_5

Button Screen_6
Main screen Header

Button Screen_7

Content Screen_4
Screen_window_3

Screen_2
Footer
Footer

Navigation

In this case the screen needs to be displayed via button, that is located on the lower-level screen window.

Page 202 Un s c |©S ns | DI F


Screen Navigation
Example 3 - Lower-level screen windows

Main_screen

Screen_window_1
Screen_1
Open
Show the Screen_1 in the Footer
Header navigation
window window:
Screen_window_2 Screen_window_4

Screen_3 >
Content
Screen_window_5 Button Screen_4

Screen_4 Access
Screen_window_3 Button Screen_5

Button Screen_6

Button Screen_7

Screen_window_3
Screen_2
Footer

Page 203 Un s c |©S ns | DI F


Screen Navigation
Live Demo

LIVE D E M O 11 in 15 min
Screen_Layout
Screen_window_Header • Create screens (Main screen, Header, Content1-2, Footer,
Screen_Header Navi)
• On the main screen add 4 screen windows
Screen_window_Content
• Use the buttons for the content change of the screen
Screen_content1 or Screen content2 w n ow “Con n ”. Use the system function
“ChangeScreen”.
• Add a new screen window for Navigation on the Main
Screen_window_Footer screen. Us sys func on “SetPropertyValue“ o

Screen_Footer
c n “V s bl ” p op y of sc n w n ow

Page 204 Un s c |©S ns | DI F


WinCC Unified – V18

Multitouch, Layer

Un s c |©S ns | DI F S SU MI
Multitouch
Multitouch support and Touch Area

Unified Comfort Panel ✓ PC ✓ Gesture detection object to define


Touch area actions e.g. for screen change

Zooming and panning for more details,


e.g. trend control, web control and
document viewers

Scroll in lists e.g. Alarm Control

Two-hand operation Hold release


button with one finger and operate
an object with the second finger

Page 209 Un s c |©S ns | DI F


Multitouch
Two hand operation

Unified Comfort Panel PC

Fast and easy Engineering

• S R l s bu on „Expl c unlock“
for HMI screen and select screen items
which are relevant for secure operation

Protection against unintended operations

• Secure operation as the operator has to press


“R l s ” Bu on fo c c l sks . .
via IO-Field, Slider,..

Page 210 Un s c |©S ns | DI F


Multitouch
Two hand operation

Select button

Require and enable


unlock is only possible
in local screen context!

Define at screen properties which button will enable the explicit unlock.

Page 211 Un s c |©S ns | DI F


Multitouch
Two hand operation

Select property

Configure basic objects and elements which require explicit unlock.

Page 212 Un s c |©S ns | DI F


Multitouch
Layers

• The layers tab contains information about the


active layer and the visibility of all layers.

• Using layers, multiple objects can be combined


and edited together

• Using layers, multiple objects can be hidden and


displayed again when required

• Objects in a higher layer will overlap objects in


lower layers in Runtime

• Layers can not be directly accessed in Runtime


Multitouch
Layers

Indication of active
layer • a screen object is always assigned to one of the 32
layers.

• There is always an active layer in the screen.

• By default, newly inserted objects are in the


foreground of the active layer.

• To c v l y ,s l c ‘S o c v ’
command from the context menu of a layer.
Activation of layer

Page 215 Un s c |©S ns | DI F


Multitouch
Layers

In order to move objects


between layers, Drag&drop the object to
select the object the required layer

Drag and drop multiple objects is supported.

Page 216 Un s c |©S ns | DI F


Multitouch
Change layer visibility in Runtime

Change the layer visibility in


runtime

Check the Status of the


Layer is it invisible or visible

Page 217 Un s c |©S ns | DI F


NEW

Multitouch
Zoom Screen (Ctrl + Scroll with the mouse)

Zoom to mouse position

Centre of zooming is current mouse position (compare to google maps)


This works for Screen and Screen windows

Page 218 Un s c |©S ns | DI F S SU MI


NEW

Multitouch
Default layer names

Each screen will use the


default layer names
Change default layer names
in runtime settings

Rename layers on device level

Page 219 Un s c |©S ns | DI F S SU MI


NEW

Multitouch
Zoom

Disable default visibility for single


layers for each Screen

Configure visibility of layer


depending on zoom factor

Invisible layers will not be loaded at startup / screen opening on the Client.
The Unified Server will handle the dynamization or script will execute farther

Page 220 Un s c |©S ns | DI F S SU MI


NEW

Multitouch
Screen Decluttering

Examples:
Range of zoom: MaximumZoom = 1.5 MinimumZoom = 1.0
Layer is hidden by Zoom higher 150% and lower 100%

Range of zoom: MaximumZoom = 8.0 MinimumZoom = 2.0


Layer is hidden only lower then 200% (800% is maximum)

Range of zoom: MaximumZoom = 3.0 MinimumZoom = 0.1


Layer is hidden only higher then 300% (10% is minimum)

Objects get automatic hidden if a Zoomlevel


is out of range. No refresh needed

Page 222 Un s c |©S ns | DI F S SU MI


Multitouch
Live Demo

LIVE D E M O 12 in 15 min

• Add a Touch Area in your Screen


• Try to increase a tag by swiping
• convert system functions to scripting
• Two hand operation functionality

Page 224 Un s c |©S ns | DI F


WinCC Unified – V18

DATA2UNIFED

Un s c |©S ns | DI F S SU MI
WinCC Unified
Data2Unified Add-In

Convert your existing configuration


contents into WinCC Unified environ-
ment easily, without recreating configu-
rations from scratch.

Customer Benefits:
• No double efforts
• Reduced converting time

More information, the download and a


how-to video can be found via SIOS Entry
ID 109770510

Page 226
WinCC Unified
Data2Unified Add-In Target and motivation

➢ Converting most of the mass data (T s, l s, Lo s,…) from existing project into Unified.

➢ Several technical reasons prevent us from a providing a full conversion


• different scripting language (no translation from VBS → JS)
• Limited access to device data via TIA Portal Openness
• Screen templates (WinCC Comfort/Advanced) are no longer available and can not be replaced with
screen windows automatically
• new controls

100% project conversion will not be possible with Data2Unified

Page 227
WinCC Unified Data2Unified
Add-in

Data2Unified Description

• TIA Portal Add-in


• Used for converting the mass data of your project into
a WinCC Unified project
• Automatic conversion of:
1 Screen objects of type "Basic objects"
2 Screens
3 Selected system functions on supported screen objects
4 Animations on the supported screen objects
5 Screen management
6 HMI Alarms
7 HMI tags, except UDT structures
Download/
8 Archives and archive tags Guide Link

• Conversion log is generated

Page 228 Restricted | © S ns XX | Author | Department | YYYY-MM-DD


WinCC Unified
Data2Unified Add-In User Interface

The Data2Unified Add-In is …

• Directly available as TIA Add-In


• Based on ES Openness
• Updated regularly

Page 229
WinCC Unified
Data2Unified Preparation
The existing Comfort Panel project (in the TIA Portal) needs to be
prepared in order to achieve an optimal result of the conversion with the
tools. The necessary steps for this preparation are the following points:

1.- Adding the new Unified Comfort Panel

2.- Conversion of screen resolutions

3.- Check of special characters

4.- Preparation of screen objects

5.- Preparation of faceplates

6.- User management

7.- Cycles

Page 233 R s c |©S ns XX | u o | D p n | YYYY-MM-DD


WinCC Unified - Panel Modernization @ SITRAIN access
Curriculum with 3 courses

Short description Content & learning objectives


Learn the methods for switching to the new Unified Comfort Panels. You will learn how to perform a number of conversion tasks using Data2Unified.

The differences, but also the similarities between Comfort Panels and Unified Comfort Panels will
be considered.

Modernization based on a concrete project with screencasts:


• Preparations on the project to be able to use Data2Unified efficiently.
• Installation & use of Data2Unified
• Manual project planning steps that are necessary after the use of Data2Unified on the project

Target group Prerequisites


• Programmer • Knowledge according to TIA-UWCC1 and
• Commissioning engineer TIA-UWCC2
Duration: ~ 2 hours Link: Modernization • Designer
• Maintenance staff
• Maintenance personnel
• Service personnel
• Operator
WinCC Unified – Panel Modernization @ SITRAIN access
Trial Campaign – One month free access

Get one month unlimited access to the curriculum and over 200 other web-based trainings on SITRAIN access:
1. View the WinCC Unified - Panel Modernization (Curriculum) on SITRAIN access.
2. Click on the login button in the top right corner.
3. Use your Online Support or iMall credentials to login (or register for a new account)
4. Type in the co „Unified_Modernization_Trial“ n click „Submit“

1 2

4
3
Preparation Demo

LIVE D E M O 13
Demo project

1. Add the new Unified Comfort Panel

2. Conversion of screen resolutions

3. Check for special characters

4. Preparation of screen objects

5. Preparation of faceplates

6. User management

7. Cycles
TP900 TP1200 MTP1000

Page 236 R s c |©S ns XX | u o | D p n | YYYY-MM-DD


Data2Unified

Data2Unified Exercise Add-in

LIVE D E M O 14
Demo project

1. Install and activate the Add-in

2. Convert the demo project

3. Analyze Data2Unified log

4. Change the connection to the PLC in HMI


tags

Page 237 Restricted | © S ns XX | Author | Department | YYYY-MM-DD


WinCC Unified – V18

Libraries & Faceplates

Un s c |©S ns | DI F S SU MI
System functions in
Trend control
faceplate

Nested faceplates
(Faceplate in faceplate

Faceplates
Visualization

Alarm control

Page 240 Un s c |©S ns | DI F S SU MI


Copy Faceplate GoTo library version Script modules as type
interface Dynamic SVG as type

Minimal required
runtime version

Library & Faceplates


Handling functions

Style preview

Page 241 Un s c |©S ns | DI F S SU MI


roperty interface ‘Graphic’ &
Event Interface
Multilingual text

Connect HMI Tags Interface Supports Array of


with Date/Time tags Simple tags
to the interface tag of
data type DateTime

Structured UDTs on
Faceplates
Interface Interfaces
(Including Type Struct)
Internal Tags UDTs containing arrays of UDT

Local tag
editor

Page 242 Un s c |©S ns | DI F S SU MI


Faceplates
Faceplates types and Faceplate instances

Faceplate containers
are inserted in a
screen in order to
Faceplate type instantiate the
faceplate types

Configure once… …use multiple times

Page 243 Un s c |©S ns | DI F


Faceplates
Unified Faceplates as enclosed graphical objects

Unified Comfort Panel PC

Use the same Faceplates


for panel and PC systems using a Faceplate
container control

Standardized operation elements for flexible


reuse in all Unified devices and projects

Efficient operation window (popup)


for assets e.g., motor, pump
Create individual library templates (faceplate
types) with dynamic process connection

Page 245 Un s c |©S ns | DI F


NEW

Faceplates
Dynamic SVG as Library types

New option for


DynamicSVG Types. Default
coolfanfront image. Can be
replaced with other dynamic SVG

User can use DynamicSVG Types inside Faceplates as well as in Screens of the Project

Page 246 Un s c |©S ns | DI F S SU MI


Faceplates
Using a Graphic type

Open the Graphic


in MS Paint (not
Select graphic file possible for SVG)

If you change the Default graphic, it will be used for all languages.

Page 247 Un s c |©S ns | DI F


NEW

Faceplates
Script Modules as library types

Script types can be imported


in scripts or selected in
function lists

User can use Script Types inside Scripts of Faceplates, other Script Types or the Project

Page 248 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Minimal require runtime version
It is not possible to use a
V18 Faceplate on a <V18
Runtime device

Faceplates only work on the Unified Runtime with an equal or higher version!

Page 253 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Minimal require runtime version

Duplicate to
change the
minimal target
device version

Overview of the
used version

Select the
minimum
version Select the new
minimal device
version

Handle faceplates with features which depend on a specific runtime version.

Page 254 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Handling

Selected version of type

New function go to library version

Page 256 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Support HMI UDT

New data type

Browse your HMI-UDT

The faceplate tag interface additionally supports HMI-UDTs.

Page 257 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Support of HMI data type
New data type

Browse your HMI-UDT

with V18 it is possible to use HMI data types in the faceplate tag interface

Page 258 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Tag interface – Support Array of UDT

UDT Structure
which
includes an
Array of UDT

Usage in the
Faceplate

Page 265 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Support of UDTs containing arrays of UDT & Structured UDTs on Interface (Including Type Struct)

Struct in a UDT

UDTs containing arrays of Struct in a Array of UDT Structured UDTs containing


UDT are supported via the type STRUCT are supported via
faceplate interface the faceplate interface

Nested UDTs with arrays are Nested UDTs are supported up to


supported a depth of 8 layers

Page 266 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Interface – Loc l T s & Sys func ons n F c pl & op y n f c ‘G p c’

Local tag
editor In order to
hand over a
multilingual
graphic to a
faceplate

Same as in Assign them to


Internal faceplate type tags are the screen the faceplate
not visible editor. interface

System functions can be configured inside faceplates in the event tab.

Page 270 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Support Multilingual text via Interface

. p op y ‘Mul l n u l x’
to interface
Multilingual text can be used in the interface

Connect a resource list with index to the


faceplate interface

2. Connect static text or a


resource list

Hand over a multilingual text via the faceplate interface

Page 274 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Copy Faceplate Interface

paste Interface

Copy Interface

It works with shortcuts ctrl+c & ctrl+v and via drag and drop too

Page 279 Un s c |©S ns | DI F S SU MI


Faceplates
Working with instances

Drag & Drop the


Use the empty Faceplate Faceplate type directly to
container the Screen

Page 284 Un s c |©S ns | DI F


Faceplates
Replace Faceplates

Choose
Choose a new Faceplate
Faceplate
type
type and
and version
version

Cl ck on “R pl c yp ”

Page 286 Un s c |©S ns | DI F


Faceplates
Replace Faceplates

• Task: Replace all instances of one Faceplate


Type by instances of another Faceplate type.

• Efficient engineering: Us c n l “R pl c
yp ” func on. ll ns nc s w ll b c n .

Page 287 Un s c |©S ns | DI F


NEW

Faceplates
Faceplate in Faceplate

M n f c pl ‘T nk’

Subordinated
f c pl ‘V lv ’

Subordinated
f c pl ‘Flow’

Build your nested faceplate with the feature ‘Faceplate in Faceplate’


and connect your sub-UDT to the subordinated faceplate

Page 289 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Faceplate in Faceplate – Engineering

2. Connect your interface


1. Add faceplate to your tags or local faceplate tags
faceplate by Drag & Drop or to the interface of the
faceplate container subordinated faceplate

Build your nested faceplate with the feature ‘Faceplate in Faceplate’


and connect your sub-UDT to the subordinated faceplate

Page 292 Un s c |©S ns | DI F S SU MI


Faceplates
Faceplate Popups

Faceplate Popups

• Identical interfaces of icon and operation


window
• Popup is created dynamically at runtime.
No need to set placeholder objects.
• Faceplate interface is passed
„Snippet“ for the call through at runtime

Click to
open “D l”
details Faceplate

Page 293 Un s c |©S ns | DI F


Faceplates
Faceplate Popups

Independent windows:
Called Faceplate type with
… true = lifetime of PopUp is
the exact Version:
decoupled from the calling
FaceplateName_V_0_0_0
faceplate (it remains after a
screen change)

Visibility of Popup :
Position Title of the popup true = visible
(see next slide) false = invisible

Page 294 Un s c |©S ns | DI F


Faceplates
Faceplate Popups
220 px
220 px 50 px
50 px

220 px
50 px

Independent
Independent
windows
windows

Page 295 Un s c |©S ns | DI F


Faceplates
Screen object (Button) opens a faceplate in popup

• It is also possible to call Faceplates as


PopUp directly from the HMI screen (via button
for example).
• For the call of a Faceplate in a PopUp window
from a HMI screen a code snippet is available.
• The interface has to be manually connected in
the script.

Replace with
name and version
of the faceplate
Page 299 Un s c |©S ns | DI F
Faceplates
Parent Properties

In
In Runtime
Runtime you you
can
can see the the
object name in
object name in
the
the title of the
title of the
popup
popup

“ n ” you c n cc ss
the properties of the
Faceplate container.

Page 302 Un s c |©S ns | DI F


Faceplates
Faceplates container Properties - Window settings and Fit to size

Page 305 Un s c |©S ns | DI F


Faceplates
Close Faceplates instances with a separate button

Task:
Create a button for closing the faceplate
instance inside the faceplate type.

Advantage:
Faceplate instance is totally deleted.

Page 306 Un s c |©S ns | DI F


Faceplates
Differences between Faceplate.Close() and Faceplate.Parent.Visible = False

Faceplate is still existing


→ Scripts of Faceplate are still executed!
→ To many executed scripts can be problematic
Faceplate is not existing anymore after
execution. for performance

Set a faceplate only invisible, when it is used


furthermore!

→ Use Faceplate.Close() for deletion of the faceplate. Make invisible for further usage.

Page 307 Un s c |©S ns | DI F


Faceplates
Rotation of Faceplate Instances

Rotating of Faceplate Instances


Faceplate Instances can rotate like standard
screen item (Rotation)

Dynamize Rotation of Faceplate Instances


Rotation and Rotation Point can be dynamized
via Tag or Script

Page 308 Un s c |©S ns | DI F


NEW

Faceplates
Trend Control in faceplate

Add the trend control


to your faceplate

Use interface tags or


local tags as data source

Configure the trend control in a faceplate

Page 309 Un s c |©S ns | DI F S SU MI


NEW

Faceplates
Alarm control in faceplate

1.Add the alarm control


to your faceplate

2.Use a configuration string in 3.Hand over the alarm


the property interface to hand filter as a string on the
over the filter via the interface faceplate instance

Configure the alarm control in a faceplate and hand over the alarm filter via the faceplate interface

Page 313 Un s c |©S ns | DI F S SU MI


Faceplates
Live demo

LIVE D E M O 15
1. Create a Faceplate type

2. Create the tag & property


Interface and a visualization

3. Create Faceplate Instances

4. Connect the Instances

Page 314 Un s c |©S ns | DI F


Faceplates – Preview for styles
SIMATIC WinCC Unified

Select a Style for


preview

Page 328 Un s c |©S ns | DI F S SU MI


Faceplates
Live Demo

LIVE D E M O 16

• Create a Faceplate in Faceplate


• HMIUDT
• Local Tag
• Graphic for Property interface

Page 329 Un s c |©S ns | DI F S SU MI


WinCC Unified – V18

Parameter Control

Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda

Time Topic Presenter

1 General Information
2 Engineering Workflow
3 Parameter Control settings
4 Recipe Screen

Page 337 Un s c |©S ns | DI F S SU MI


Parameter Control
Handling and operation of machine or production parameters

Unified Comfort Panel PC


• Efficiency due to reuse of structural
definition of “Us D Typ s”
(PLC/HMI UDT) for parameter sets

• Central changeability of parameter


set types by using a new version of
PLC/HMI UDT from library

• Consistent bi-directional PLC/HMI transfer


of parameter sets (manually/automatically)

Extend parameters with unit of measurement.

Page 338 Un s c |©S ns | DI F


Parameter Control
Derive structure of Parameter Set Types from UDT

Unified Comfort Panel PC

Precondition – UDTs are already Add new Parameter set type Assign UDT as data type to Parameter
created and available in the library within project tree set type to derive structure from UDT

V17: Complex structure possible (UDT in UDT,


Arrays of simple data types)

Add structure tag to exchange Para- Configure properties e.g., Display Use Control tags for automatic ex-
1 meter sets between HMI and PLC 2 name, Unit of measurement 3 change between HMI and PLC (optional)

Page 339 Un s c |©S ns | DI F


Parameter Control
Complex data structures

Unified Comfort Panel PC


Engineering
Runtime

A Complex UDT can contain


multiple UDTs or Arrays

UI interactions with complex UDTs


in runtime

For complex UDTs as a parameter set type, all elements must exist under a top level UDT. Multiple UDT
instances in a DB can not be used as complex UDT for a parameter set.

Page 340 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 General Information
2 Engineering Workflow
3 Parameter Control settings
4 Recipe Screen

Page 341 Un s c |©S ns | DI F S SU MI


Parameter Control
Workflow

• You need a PLC- or HMI-UDT for your parameter set


1. UDT settings type
• The UDT needs to be in the library as type

2. HMI interface tag • Create an HMI tag that is connected to your DB

• Create a parameter set type and connect the PLC data


3. Parameter set type type
• Set additional information e.g. limits or the start value

• Parameter set ID → To change the parameter set


4. Configure control tags • Job ID → for automatically function e.g. read a
parameter set

• Add the parameter control


5. Parameter control
• Select a fix parameter set type (optional)

Page 342 Un s c |©S ns | DI F


Parameter Control
Workflow – 1. PLC data type

1. Creation of PLC
data types in PLC 2. Add the PLC data type to
the project library

3. Create a instance from


the UDT e.g. in a DB

Page 343 Un s c |©S ns | DI F


Parameter Control
Workflow – 1. HMI data type

1. Create a new type

2. Select HMI user data type

3. Select Unified

HMI User data types, work also with the Parameter control
(alternatively to PLC data type)

Page 344 Un s c |©S ns | DI F


Parameter Control
Workflow – 2. HMI interface tag

2. Connect the HMI tag with


1. Add a new HMI Tag
the UDT instance in the DB

Page 345 Un s c |©S ns | DI F


Parameter Control
Workflow – 3. Parameter set type

1. Add a new Parameter set


type 2. Connect the data type 3. Connect the data type
instance

4. Enter limits (optional)


5. Unit of measure (optional)

Storage location of Parameter set types can be local drives for PC Station or
USB-X61, USB-X62 or SD-X51 for Panel.

Page 346 Un s c |©S ns | DI F


Parameter Control
Workflow – 4. Control tags

Parameter ID is the ID of
an existing parameter set Automate handling via Job-ID:

• Read parameter set (ID: 6) from PLC


and store it in the parameter set memory
• Load parameter set (ID: 7) from storage
and write it to PLC
• Delete a parameter set (ID: 8)
from the parameter set memory

JobID control the


job e.g. write to • Is a job executed and it was successful the Value is
PLC set to: 0
• Otherwise the value is -1

Page 347 Un s c |©S ns | DI F


Parameter Control
Workflow – 5. Parameter Control

1. Place the Parameter


set control on the screen

3. Change the Editing


Mode, to define which
actions are allowed in
runtime (optional)
2. Select a fix parameter
set type (optional)

Page 348 Un s c |©S ns | DI F


Parameter Control
Live Demo

LIVE D E M O 17
• Create a UDT

• Create an HMI interface tag

• Configure a parameter set type

• Configure control tags

• Configure the Parameter control

Page 349 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 General Information
2 Engineering Workflow
3 Parameter Control settings
4 Recipe Screen

Page 352 Un s c |©S ns | DI F S SU MI


Parameter Control
Parameter Runtime Control

Parameter set type ID

Current parameter set type

Parameter set ID

Current parameter set

Page 353 Un s c |©S ns | DI F


Parameter Control
Parameter Runtime Control – handling create and save
Rename a
parameter set

Parameter ID can be
chosen freely. If it is
“S v s …”: s v empty the next free
Save changes
parameter set under number will be assigned
Creates a new a new name
Save changes
parameter set

Page 354 Un s c |©S ns | DI F


Parameter Control
Parameter Runtime Control – handling write and read from PLC

Write to PLC

Overwrite the current parament


read
Readfrom
fromtoPLC
PLC set or create a new

Page 355 Un s c |©S ns | DI F


Parameter Control
Parameter Runtime Control – handling import and export

Export parameter set

Import parameter set

Only .tsv is possible


(can be viewed via Excel)

Page 356 Un s c |©S ns | DI F


Parameter Control
Parameter Runtime Control – handling cancel and delete

Delete the selected


parameter set

Cancel the process

Page 357 Un s c |©S ns | DI F


Parameter Control
Parameter Runtime Control – export in Excel

Page 358 Un s c |©S ns | DI F


Parameter Control
Live Demo

LIVE D E M O 18
• Create new parameter sets

• Read and write from/to PLC

• Export the config to Excel

• Use the Job ID to read/write automatic

Page 359 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 General Information
2 Engineering Workflow
3 Parameter Control settings
4 Recipe Screen

Page 361 Un s c |©S ns | DI F S SU MI


NEW

WinCC Unified V18


Parameter Control Unified Comfort Panel PC

Customized recipe screen upon user workflow

Create recipe screen with basic screen objects


(sliders, IO fields, buttons,..)

➢ Get Parameter Sets and Parameter Set Types via


scripting

➢ Scripting support of Parameter Control functionality


(CreateParameterSet, SaveParameterSet, LoadParameterSet,
DeleteParameterSet, RenameParameterSet, ReadParameterSet,
WriteParameterSet)

➢ Parameter set synchronization synchronize


parameter set between Parameter control

Seite 362 Un s c |©S ns | DI F S SU MI


NEW

PaCo – Scripting improvements for recipe screen

Parameter control screen


• CreateParameterSet
• SaveParameterSet
• LoadParameterSet
• DeleteParameterSet
• RenameParameterSet
• ReadParameterSet
• WriteParameterSet
Parameter control view property
• CurrentParameterSetTypeID
• CurrentParameterSetID
Script function to get PST and PS names
• GetParameterSetTypeName
• GetParameterSetName
PACO Synchronization

User can now perform all the PaCo operations through scripting
Restriction: can not be used when having nested UDT as Parameter control type
Page 363 Un s c |©S ns | DI F S SU MI
NEW

PaCo – Parameter set types configuration

et your HMI ag with cope “ ession local tag” in order to use it as “Edit tag” in the arameter set ype

Page 364 R s c |©S ns | DI F S SU MI


WinCC Unified – V18

Alarming

Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda

Time Topic Presenter

1 Overview
2 Alarm Engineering
3 Display of Alarms
4 Reacting to Alarms

Page 366 Un s c |©S ns | DI F S SU MI


Alarming
Overview

Unified Comfort Panel PC

Maximum process transparency due to a


configurable alarm system
based on IEC 62682

Availability of S7-1500 PLC- and HMI alarms

Alarm control for efficient handling e.g., filter, sort,


acknowledge, manually or via scripting

Page 367 Un s c |©S ns | DI F


Alarming
Overview

Support of S7-1500 PLC Alarms (Full-text) minimum


Graph alarm controller firmware V2.0 or higher:
• Program_Alarm
• ProDiag alarms
• S7 Graph alarms
• PLC system diagnostic alarms

ProDiag alarm
HMI alarms
• Bit alarms
Program Alarm • Analog alarms
• HMI System events

Page 368 Un s c |©S ns | DI F


Alarming
To edit the runtime alarm
Runtime Settings
settings, select
“Run s n s“ → Alarms Without Automatic
up you on‘
any alams!

WinCC Unified supports PLC


alarms only from S7-1500
controller with a firmware V2.0 or
higher

specify your own State


texts
Page 370 Un s c |©S ns | DI F
Alarming
Diagnostics Indicator

Unified Comfort Panel PC


Systemtag
@DiagnosticIndicatorState

Three dynamic SVGs are available to display


the status

Page 371 Un s c |©S ns | DI F


Alarming
New System alarms

After changes HW Configuration and


downloading the HMI, System
Notification will be shown on the
runtime

If the user tries to subscribe for more


than 150 % of the available PLC
resources an overload alarm will be
raised

User will be informed about misconfiguration and PLC overload

Page 373 Un s c |©S ns | DI F S SU MI


Alarming
System diagnostics control

Unified Comfort Panel PC

Diagnostics buffer of
PLC in TIA Portal
Online View

Diagnostics buffer of
PLC in WinCC
Unified Runtime

SystemDiagnostics
Control

Displays the PLC diagnostics buffer in runtime

Page 374 Un s c |©S ns | DI F


Alarming
System Diagnostics Control

Possible symbols for event


Split view to see more type (second column)
details when selecting a
message

Update the diagnostics buffer Navigate between connected


LC’s

Page 375 Un s c |©S ns | DI F


NEW

Alarming
Control Matrix view

Matrix view

disconnected PLC

State of your connected PLCs and their underlying hardware modules in a matrix view

Page 376 Un s c |©S ns | DI F S SU MI


Alarming
Alarm Control

Unified Comfort Panel PC

Free configurable alarm view


e.g., column order, toolbar buttons

Select alarms according to production unit or user


demand e.g., plant unit in technological hierarchy,
maintenance

Alarm control user interface for e.g., select time-


range, sort, filter, print, hide and lock,
acknowledgement

Page 377 Un s c |©S ns | DI F


NEW

Alarm Control
Alarm control - Duration column

Duration block is only applicable to Pending


Alarm View, Logged View, Logged with
update view and Defined Alarm View.

Duration column is not shown by default.

Select duration as an alarm


text block For statistics view, duration column will always be
“0” as the statistics record is calculated for
multiple instances of an alarm.

Duration column displays how long it took to Acknowledge and Clear an Alarm.

Page 379 Un s c |©S ns | DI F S SU MI


NEW

Alarming
Alarm control - Duration column

Duration column displays the duration of


Incoming and Acknowledged, Incoming and Outgoing in seconds.

Page 380 Un s c |©S ns | DI F S SU MI


Alarming
Alarm Control

at "Alarm source" you specify which alarms the alarm view


displays in runtime by default:
• "Not configured": The alarm view does not show any
alarms.
• "Pending alarms": The alarm view shows the currently
pending alarms.
• "Logged alarms": The alarm view shows the logged
alarms.
• "Logged alarms updated": The alarm view shows the
logged alarms that are updated at specified intervals.
• "Alarm definition": The alarm view shows all alarms
configured in the engineering system, regardless of
whether or not they have occurred.

Hint: settings can also be changed and configured in runtime, but in WinCC Unified the control does not
support persistency, so any changes in runtime will be reset again to engineering setting after a screen
change
Page 381 Un s c |©S ns | DI F
Alarming
Filter in Engineering

• The display of alarms in the alarm control can be


filtered.

• A static value, a tag or a script can be configured


for the filter. This functions can be configured in
the alarm control in the "Screens" editor and in
Runtime.

• The filter can be created by all parameters, such


as ID, name, alarm class, priority, etc.

Page 382 Un s c |©S ns | DI F


Alarming
Alarm Control

Shows active Shows archived Shows and updates


Acknowledgement Filter Sorting
alarms alarms archived alarms

Additional toolbar buttons can be activated in engineering

Page 383 Un s c |©S ns | DI F


Alarming
Filter in Runtime

Create a new filter


criterion

The filters are not


persistence in
runtime!

To filter the alarms in Runtime, click


Alarming
Filter

Extended filter criteria


status text and additional texts 1-9

Output of the alarm status in a separate tag

Acknowledge bit alarms via control tag

Simple overview of alarms configured in arrays

Overview of the available system messages and


editing the system message texts

Page 387 Un s c |©S ns | DI F


Alarming
System events editor

Display HMI
system events

Overview of all HMI system events

Page 388 Un s c |©S ns | DI F


Alarming
System limits

Description Unified Comfort Panel WinCC Unified Runtime PC


Number of alarm classes 32 32
Number of bit alarms 9000 200000
Number of analog alarms 300 10000
Max. characters for an alarm 512 512
Max. number of alarm texts for an alarm 10 10
Max. number of process values for an alarm 10 10
Number of queued alarm events 750 Unlimited
Number of PLC alarms 160000 160000
Number of alarms for every second
- 20
(continuous load)
Number of alarms for every 10 seconds
- 8000
(alarm burst)

For details please see Online help

Page 389 Un s c |©S ns | DI F


Alarming
Alarm classes

Configure the alarm log in case


you want to log the alarms

the higher the number the


more important the priority.
16 is the maximum

Define
Acknowledgement

Define Colors

Page 392 Un s c |©S ns | DI F


Alarming
Alarm logging

Select alarm log

larms can’t be logged separate. It is only possible to add a complete larm class to the archive
Alarming
System events editor

Display HMI
system events

Translation to other
languages possible

If translation is not available for a selected language, the system events will be displayed in english

Page 395 Un s c |©S ns | DI F


Alarming
Configuration of Alarms
Switch between
alarm editors

Add alarm text

Open HMI Alarms Choose a trigger


editor tag

Alarm configuration can also be done in HMI tags editor

Page 396 Un s c |©S ns | DI F


Alarming
Configuration of Alarms

• For an alarm up to ten alarm texts: one alarm text


and up to nine additional texts can be configured

Insert a Parameter
field

• If required, output fields for displaying alarm


parameters in each alarm text can be inserted.

• Each alarm text contains up to 512 characters.

Page 397 Un s c |©S ns | DI F


Alarming
Discrete alarms

Status tag can be used


to check the
acknowledgement state
of an alarm

Alarm state is
represented in Runtime
by the Status tag
Control tag can be
used to acknowledge
an alarm, e.g. from
PLC

Page 400 Un s c |©S ns | DI F


Alarming
Alarm priority

Select an alarm class

the higher the number the


more important the priority
16 is the maximum

If the priority is 0. Then


the priority of the alarm
class applies
You can use the alarm
properties Origin & Area for
structuring the alarms

In Runtime you can sort and filter alarms through the Origin & Area context

Page 401 Un s c |©S ns | DI F


Alarming
Analog alarms
Choose a trigger
To create an analog Define alarm class
tag
alarm, navigate to
HMI alarms and click
„ n w“…

Choose a limit
Add alarm text Set a limit value
mode

Page 402 Un s c |©S ns | DI F


Alarming
Alarm parameter

Up to 10 different
alarm parameters
can be used

Alarm parameters are used to output process values in the alarm text (valid for discrete and analog alarms !)

Page 403 Un s c |©S ns | DI F


Alarming
Live Demo

LIVE D E M O 19

• Configuration of Runtime Settings


• System events
• Analog alarms
• Discrete alarms and acknowledgement tags
• Filter

Page 405 Un s c |©S ns | DI F


WinCC Unified – V18

Scripting

Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda

Time Topic Presenter

1 Overview
2 System Functions
3 JavaScript Syntax
4 Script debugger
5 RTIL Trace viewer

Page 417 Un s c |©S ns | DI F S SU MI


Scripting basics
Script editors

There are different script editors in WinCC Unified. You can find them in the events,
dynamizations of screen items, scheduled tasks and also in the global module area.
Page 418 Un s c |©S ns | DI F
Scripting basics
Autocomplete

Can be opened by…

• Click on the button


• K y co b n on ”C l & Sp c ” o “C l & ”
• n “.” f n obj c o l l n

Autocomplete helps to address WinCC elements.

Page 419 Un s c |©S ns | DI F


Scripting basics
Object picker

Can be opened by…

• K y co b n on ”C l & j”

You can change the short cut in TIA Portal general


settings

Object picker for HMI tags, HMI connections, screens & screen objects.

Page 420 Un s c |©S ns | DI F


Scripting basics
InfoTip

T bu on “InfoTip” lso op ns
ToolTip for the specific function.

Typ n “(” f func on


name and the ToolTip opens

A lot of functions provide InfoTips which explain the function and their parameters.

Page 426 Un s c |©S ns | DI F


Scripting basics
Global Modules

• Each screen has its own global definitions, property


dynamizations and item events

• Local scripts (of screens) can import functions from


global modules

• Note: Values of global variables are only local copies


for each Screen. If you need values across screens
use datasets or internal tags.

• Note: Screens can not access functions or definitions


of other screen (Exception: screen in screen)

Page 427 Un s c |©S ns | DI F


NEW

Scripting basics
Toggle of Global Definition Area

Hide or unhide
the GDA

Scripting editor is split


in GDA and local script

Have a quick overview of the GDA during the editing of the local scripts without switching the GDA on/off.

Page 428 Un s c |©S ns | DI F S SU MI


NEW

Scripting basics
Global Definition Area – Reference handling of aliases

Alias in GDA

Updated reference
in script

Handle easily the renaming of aliases of the imported modules.


Change the alias in the GDA and all the usages in scripts using the same GDA will be updated.

Page 429 R s c |©S ns | DI F S SU MI


NEW

Scripting basics
Copy & paste of the import statement together with the screen items

Screen_3 Screen_4

1. Copy & Paste


screen item

2. Import statement in global


definiton area will be
automatically copied

Import statement will be copied automatically by copying a screen item

Page 430 Un s c |©S ns | DI F S SU MI


Scripting basics
Global Modules

Global Modules

In global modules, functions can be defined which are


used in several screens.

Hint: The advantage is the programming efficiency,


standardization and easier maintenance.
To call a function of a global module in a screen the
function has to be imported (which means the code is
copied internally)

Global modules are groups of several functions with one common definition area.

Page 431 Un s c |©S ns | DI F


Scripting basics
Global Modules

Story 1
The same function multiple times in one screen:
1. Create the function in the global definition area of
the screen
2. Call the function in the same screen e.g. via buttons

Page 432 Un s c |©S ns | DI F


Scripting basics
Global Modules

Story 2
The same function multiple times in multiple
screens:
1. Create the function in a global module
2. Call the function in multiple screens e.g. via
buttons

Page 433 Un s c |©S ns | DI F


Scripting basics
Global definition area within screens

On each screen there is one


global definition area for all
property scripts of the
embedded screen items.

On each screen there is one


global definition area for all
event scripts of the
embedded screen items.

Every screen has its own two global definition areas! One for the events and one more for the property
dynamizations. hey’re not connected to each other!
Page 434 Un s c |©S ns | DI F
Scripting basics
Global definition area – Use Cases

Use Cases

1 1. I po n lob l o ul s…
2. D f n n cons n s…
2
3. D f n n func ons…
3 …w c n n s v l sc p s
that belong to this global definition area
in this screen.

A global definition area could be used for constants and often needed functions.

Page 435 Un s c |©S ns | DI F


Scripting basics
Calling function of global definition area

1. Calling functions which are defined in


1
the global definition area
2. Calling functions of global module
2
(The module has to be imported first.
In this case the module was imported
in the global definition area)

The functions and tags which are defined in the global definition area can be used directly in any script of the
screen. There is no import efforted.
Page 436 Un s c |©S ns | DI F
NEW

Scripting basics
Script improvements (automatic tag trigger, search, xref,) Local search in global
scripts

List of trigger tags are


filled automatically

XRef for global modules


/ functions

Trigger tags are evaluated automatically

Page 437 Un s c |©S ns | DI F S SU MI


Scripting basics
Execution contexts

Scheduled tasks Screen

Cyclic Tag triggered Alarm triggered Event context Properties context

Triggered Perform an action based on an


Triggered cyclically Triggered by value
depending on the event, e.g. click on a button or Can be cyclic, tag based
fastest cycle is change of one or
defined alarm p op y “c n ”
100ms multiple tags
criteria
Cyclic scripts should Cyclic scripts should be avoided
React on value React on changes
be avoided because because of the performance
changes in alarm system
of the performance
Hints: Hints:
• All jobs share a script context • The script of a property cannot access global tags of an event
• Different tasks can access common global tags even in the same screen.
• Each required module must be referenced by means of the • Each script context references the modules that it has imported
'import' statement using the 'import' statement. However, each script context
• No access to screen items receives its own copy of the tags defined there

Page 438 Un s c |©S ns | DI F


NEW

Scripting basics
JavaScript Command ListFiles

list recursive
files and
folders
filter

New cript function “HMIRuntime.FileSystem.Browse” lists folders and files in a specific directory

Page 446 R s c |©S ns | DI F S SU MI


NEW

Scripting basics
Cross Reference

Screen objects

Alarming

Logging

Global Script context

Scheduled Tasks

Improvement of the cross Reference

Page 447 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 Overview
2 System Functions
3 JavaScript Syntax
4 Script debugger
5 RTIL Trace viewer

Page 453 Un s c |©S ns | DI F S SU MI


Scripting basics
System function

SIMATIC WinCC Unified uses JavaScript as a


script language

• One scripting language for Panel and PC Systems


• Use the entire object-oriented JavaScript scope
for handling data, objects, classes, inheritance
• Predefined code Snippets for common tasks
available in TIA Portal
• Always on server side to assure access to
(network) file system and database connections

Page 454 Un s c |©S ns | DI F


Scripting basics
System functions

Unified Comfort Panel PC

Predefined set of standard functions


for frequently required tasks

System functions are available for events


and scheduled tasks

Direct access to WinCC Unified objects and


functionality e.g. SetTag, ChangeScreen, LogOff

Page 455 Un s c |©S ns | DI F


Scripting basics
System functions

Several system functions are supplied by WinCC Unified.


The system functions are used either in function lists, user-defined functions, or local scripts.
Page 456 Un s c |©S ns | DI F
Scripting basics
System functions editors

Change to JavaScript Editor

Converted system function

System functions can be converted from function list to JavaScript code.


Converting JavaScript to system function list is not supported.
Page 457 Un s c |©S ns | DI F
Scripting basics
System functions use in scripts

Hints:

• Every system function can be used in a script


• T os c n b co n z ou “SysFct”
• System functions can be also used for
dynamizations

Scripting basics is an Option package.

Page 458 Un s c |©S ns | DI F


Scripting basics
Handling system functions

Copy and paste system functions between screen objects.

Page 459 Un s c |©S ns | DI F


Scripting basics
Handling system functions

Change the order of the system functions.

Page 460 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 Overview
2 System Functions
3 JavaScript Syntax
4 Script debugger
5 RTIL Trace viewer

Page 465 Un s c |©S ns | DI F S SU MI


Scripting basics
JavaScript Syntax

Preferred way:
• const variable = value
(const is for constant variables)
• let variable = value
(standard way to declare variables)
Outdated way:
• var variable = value (older version of variable
declaration, scoping problems)

Some of the snippets or example code have the old


version of variable declaration.

Variable declaration.

Page 466 Un s c |©S ns | DI F


Scripting basics
JavaScript Syntax

To work with strings you can use:

• „T x “ ( o sp c f c x )
• + (to connect strings to each other)
• variable (use the value of a variable)

Trace example:

HMIRuntime.trace(„T x “+v bl +„T x “+V lu *V lu …)

Working with strings.

Page 467 Un s c |©S ns | DI F


Scripting basics
JavaScript Syntax

• || (logical or)
• && (logical and)
• ! (logical not)

Example:

If ( (variable1 || variable2) && variable3) { }

Logical Operators.

Page 468 Un s c |©S ns | DI F


Scripting basics
Access local screen items

Screen.Items()
• Access to all items in the same hierarchy level
• Properties of items are known and can be selected
via IntelliSense
• If item name is changed, Screen.Items()-item is
also adjusted automatically
• Item path can be addressed with relative or
absolute prefix

Screen.Items() can only access items of the current screen.

Page 470 Un s c |©S ns | DI F


Scripting basics
Access global screen items

Screen.FindItem()
• Access to all items independent of the hierarchy
level
• Properties of items are known and can be selected
via IntelliSense
• Item name is handover as static string
• Item path can be addressed with relative or
absolute prefix

Screen.FindItem() can access all items from different screens/hierarchy levels.

Page 471 Un s c |©S ns | DI F


Scripting basics
Absolute / relative addressing

r Prefix Description
e
References the higher-level screen window (parent) in the
l ".."
a
context of the current screen window.
• Relative and absolute items paths are distinguished
References the own screen window (self).
t "." by the prefix of the item path.
i A screen item of the current screen window is referenced
v
"" without prefix.

e • The relative item path is specified starting from the


screen where the script is called.

a
• The absolute item path is specified starting from
b Prefix Description
s the "RootScreenWindow".
o References a screen window on the highest level, whose
"/" name must follow.
l
u References the screen window on the highest level in the
"~" own screen hierarchy.
t
e

Page 472 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 Overview
2 System Functions
3 JavaScript Syntax
4 Script debugger
5 RTIL Trace viewer

Page 492 Un s c |©S ns | DI F S SU MI


Scripting basics
SIMATIC Runtime Manager – Script debugger

• You adjust settings for:

• Enable/disable screen debugger.

• Assign port number to the debugger for screens.

• Enable/disable scheduler debugger.

• Assign port number to the debugger for jobs.

The debugger is disabled by default. After the activation a RT restart is required.


Scripting basics
Script debugger Chrome <V80

To start the debugger:


Chrome V<80: call the URL http://localhost:port number (e.g. http://localhost:9222)
Chrome V>=80 call the URL Chrome://inspect go to "Target Discovery" settings and add the address
"127.0.0.1: 222“ more information's in I : 109779192
Scripting basics
Script debugger Chrome >=V80

1. Configure 2. Add your Target


(127.0.0.1:9222)

3. Open your Target

To start the debugger:


Chrome V<80: call the URL http://localhost:port number (e.g. http://localhost:9222)
Chrome V>=80 call the URL Chrome://inspect go to "Target Discovery" settings and add the address
"127.0.0.1: 222“ more information's in I : 109779192
Scripting basics
Script debugger
3. Code display
area
1. Select
“Sou c s”

2. Navigation
area
4. Debugging
area

The scripts shown in the debugger are from the current screen in open browser tab (RT).

Page 496 Un s c |©S ns | DI F


Scripting basics
Script debugger - Breakpoints

After setting a break point, you can monitor tag values in "Watch" tab in the debugging area or directly with
mouse pointer over the tag.
Page 497 Un s c |©S ns | DI F
Scripting basics
Script debugger - Breakpoints

Breakpoints can be linked to a condition.


Screen debugger
Live demo

LIVE D E M O 21 in 20 min
1. Activate the screen debugger in the RT
Manager
2. Op n “c o :// nsp c ” o o "T
D scov y”
3. Add "127.0.0.1:9222"
4. Open your "target"
5. Create a breakpoint and see what happens
Additionally try to debug the script from the
Your target
first exercise!

Page 499 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 Overview
2 System Functions
3 JavaScript Syntax
4 Script debugger
5 RTIL Trace viewer

Page 501 Un s c |©S ns | DI F S SU MI


Scripting basics
RTIL Trace viewer

• Trace Viewer displays all runtime alarms which are


listed in the configurable TraceCatalog.
• Traces are displayed in tabular form and can be
filtered.
• Alarms can be exported in text or CSV files.

RTIL Trace Viewer is a separate application. Location:


C:\Program Files\Siemens\Automation\WinCCUnified\bin\RTILtraceViewer
Page 502 Un s c |©S ns | DI F
Scripting basics
RTIL Trace viewer

• Carry out an action in the simulation which starts a


JavaScript function.
• Filter by the trace messages "Subsystem >
ScriptFW".
• Define additional filter criteria if required.
• Evaluate trace messages if actions in the simulation
lead to errors.

If no messages are displayed in the Trace Viewer


despite errors in the simulation, reset the filters.
Page 503 Un s c |©S ns | DI F
Scripting basics
RTIL Trace viewer

It is possible to output a text or a tag value in the Trace viewer via scripting.

Page 504 Un s c |©S ns | DI F


RTIL Trace viewer
Live demo

LIVE D E M O 22 in 10 min

• Extend the existing scripts by a .Trace()


functionality
• Open the TraceViewer
(C:\Program
Files\Siemens\Automation\WINCCUnified\bin\RTILt
raceViewer.exe)
• Apply a Filter to see the runtime traces

Page 505 Un s c |©S ns | DI F


WinCC Unified – V18

Logging

Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda

Time Topic Presenter

1 Overview
2 Logging Engineering
3 Trend control
4 Audit Viewer
5 Scheduled Task

Page 517 Un s c |©S ns | DI F S SU MI


Logging Tags
Scalable logging concept

Unified Comfort Panel PC

Unmanaged file-based data archive for small to


medium applications up to 5,000 Logging Tags.

Changeover to databased logging (optional)


possible due to identical logging structures.
Databased

Planned
Logging Tags
Central logging as overall plant
archiving solution (optional).

Power Tags

Universal logging functionality for machine-level requirements


regarding handling of archive data e.g., copy/paste log files

Page 518 Un s c |©S ns | DI F


Logging Tags
Licensing

Unified Comfort Panel PC

Unified Comfort Panels


5k File-based Logging up to 5,000
Logging Tags (included).

Unified PC Systems
• File-based Logging up to 5,000 Logging Tags
• More than 5000 Logging Tags:
→ change to MS SQL Server required
0 • Licenses for Logging Tags:
File based 100; 500; 1,000; 5,000 (countable)
Tag Logging licenses are valid for
both types of logging: Possibility to change to Databased
file-based und Databased-Logging. File-based Logging for growing requirements.
Unified comfort panel PC

Page 519 Un s c |©S ns | DI F


Logging Tags
SQLite

Unified Comfort Panel PC

• SQLite is a relational database management


system.

• It is self-contained, no additional installation is


needed.

Unified RT systems use SQLite as the default database type.

Page 520 Un s c |©S ns | DI F


Logging Tags
File-based vs. Databased
Unified Comfort Panel PC Unified Comfort Panel PC

File-based Logging Database Logging

SQL Lite MS SQL 2017 Standard Edition (64 Bit)

5,000 Max. Logging Tags Max. number of Power Tags

Depending on storage capacity No of/data per Archive Depending on storage capacity

Offset per segment = ~0,5 MB Footprint Offset per segment = ~5 MB


Tag Logging Record size = ~50 bytes (thumb-rules for record size calculations) Tag Logging Record size = ~50 bytes

Cyclic, On demand, On change Aggregation Cyclic, On demand, On change

Comparison, Value, Relative Value, Swinging Comparison, Value, Relative Value, Swinging
Smoothing
Door Door

Yes (e.g. day, week) Compression archives Yes (e.g. day, week, month, year)

Yes (copy log file manually) Backup Yes (automated backup)

For more detailed information regarding record size calculation please have a look at the TIA online help.

Page 522 Un s c |©S ns | DI F


Logging Tags
Log Structure

Unified Comfort Panel PC


Logs are structured as time series database
which is optimized for storing and
serving through associated pairs of time and
Main database
- config data value.
for all logs

Log A
For best performance and optimal footprint
- Data the set of fixed configuration data is separated
Log Segments from the dynamic, continuous values.

Log B
- Data
Log Segments
Same structure for file based logging (SQLite)
and Microsoft SQL logging.

Page 523 Un s c |©S ns | DI F


Logging Tags
Data aggregation

Aggregation modes:

• Cyclic: Continuous archiving of process values

• On request: Event-triggered archiving


e.g. archiving of a current process value when a critical limit value is exceeded

• On change: acyclic archiving on value change

Page 524 Un s c |©S ns | DI F


Logging Tags
Smoothing to minimize storage capacity

Smoothing modes:
• No smoothing – All values are logged
• Comparing values – Time interval – value changes within interval will not be logged
• Value – Limit value (hysteresis) – log only if distance to last value is exceeded
• Relative value – Deviation (in %) – log only if deviation to last value is exceeded
• Swinging Door – Compression of values according to defined rate of change
(choose between deviation of minimal or maximal time)

Smoothing through the value Swinging Door Swinging Door


Constant value of deviation (hysteresis) Maximum time Minimum time

Page 525 Un s c |©S ns | DI F


Logging Tags
Cyclic vs. On change

• “ n Change”: all changes are logged


(24 measured points in 1,5s)

• “Cyclic”: important information get lost


(4 measured points in 1,5s with a 500ms cycle)

• Take account of how detailed the data log


should be to avoid:
→ loosing any information
→ data logs getting too large

Page 527 Un s c |©S ns | DI F


Logging Tags
Circular Archive

1. Values are stored continuously


to the first segment
2. Next segment when max.
size or max time range
3. When all segments are filled,
the first segment is deleted
and recreated

The usage of backups is only possible with MS SQL Server.

Page 528 Un s c |©S ns | DI F


Logging Tags
Application example

This application example shows:

• basics about logging in SIMATIC WinCC Unified


• when to use which logging method
• how to adapt the necessary configurations
• how to configure archives, logging tags and
alarm logging
• which requirements are necessary for an ideal
archiving
• how to export archives

https://support.industry.siemens.com/cs/document/109782859/

Page 529 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 Overview
2 Logging Engineering
3 Trend control
4 Audit Viewer
5 Scheduled Task

Page 530 Un s c |©S ns | DI F S SU MI


Logging Tags
Storage system

Database supported types:

• File-based logging – SQLite (as default in


Unified PC RT systems).

• Database logging – Microsoft SQL (as an option


for Unified PC RT systems). Not available for
Unified Comfort Panels.

Page 531 Un s c |©S ns | DI F


Logging Tags
Improvements

Unified Comfort Panel PC

Main Database Storage:

for configuration data for all logs

• SD → SD card
• USB → USB memory
• Off → Disable storage

Seperate storage path for


tag logging and alarm
logging

Page 532 Un s c |©S ns | DI F


Logging Tags
Improvements

Edit all different settings


in table view

Page 541 Un s c |©S ns | DI F


Logging Tags
Runtime Settings

Assign any name


Select backup
to the log
mode

Maximum time
and size of the log

Determines Maximum time and Path where the


where the log is size of the segment backup should
stored be stored

With both logging types you define the same properties for the log
(except BackUp mode: only available for MSSQL).

Page 542 Un s c |©S ns | DI F


Logging Tags
Logging Tags configuration steps 1 - 4

Configure a logging tag:

1. Select an existing tag in the tag table.

2. Click "Logging tags" in the lower table editor.

3. In “Lo n s" bl o , oubl -click


"<Add>" in the column "Name".

4. Assign a data log to the new logging tag.

Logging tags are configured and edited in the "HMI tags" editor.
Logging Tags
Logging Tags configuration steps 5 - 7

Configure a logging tag:

5. Select the required smoothing mode.

6. Select the desired compression mode for


compressing the logged values.

7. Enter the limit range and the required limit


values if needed
Logging Tags
Logging modes

1. Cyclic: Logging takes place according to the set


cycle.

2. On demand: Logging is triggered by a state


change of a preconfigured trigger tag.

3. On change: Logging only takes place if there is


a value change in the tags to be logged.

You have the option to select one out of three "logging modes" for logging tags.
Logging Tags
Long term saving of logs

Action can be triggered


as scheduled task

Export of logged values into a user defined format is supported via Snippet!

Page 552 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 Overview
2 Logging Engineering
3 Trend control
4 Audit Viewer
5 Scheduled Task

Page 553 Un s c |©S ns | DI F S SU MI


Trend Control
Flexible evaluation of process data

Unified Comfort Panel PC

Free configurable trend view of online and/or


historical data e.g., multiple trend areas

User defined settings regarding trend


appearance e.g., color, line form, single
value point, background

Direct evaluation of online and historical data including Trend user interface e.g., number of trends,
comparison of different time ranges e.g., shifts
ruler, range, print (hardcopy), export

Page 554 Un s c |©S ns | DI F


Trend Control
Configuration

Click here leads to


Table view for trends
Table view for trends
for faster adjustment Sort or delete trends
for faster adjustment
of settings
of settings

Add a new Trend

Connect a tag / logging


tag to the trend

Page 555 Un s c |©S ns | DI F


NEW

Trend Companion
Statistical evaluation of process data

Unified Comfort Panel PC

Free configurable statistic view in relation


to the selected range of the corresponding
trend control

User defined evaluation regarding


sum, average, max, min, integral

Trend Companion user interface e.g.,


print (hardcopy) or the export statistical data
Flexible statistical evaluation of process data depending on
you p son l n (op o , sup v so , n n nc , …)

Page 556 Un s c |©S ns | DI F


NEW

Trend Companion
Configuration
Data source:
select the trend
control of the current
screen

Select visibility for


all necessary
elements of the
toolbar

Click here leads to


table view of Toolbar
elements for faster
adjustment of settings

Page 557 Un s c |©S ns | DI F


Function Trend control f(x)
Analysis of data

Unified Comfort Panel PC

Analysis of data without


time-based relationship

Typical use cases are e.g., batch evaluations


(pressure vs. temperature) or quality evaluations
(availability vs. performance)

Graphical presentation of mathematical


formulas e.g., target – performance comparison
Function trend control refers to online and historical data.
or reactions at chemical processes

Page 558 Un s c |©S ns | DI F


Function Trend control f(x)
Configuration
Click here leads to
table view of trends for
faster adjustment of
settings

Select the data Select visibility for


source for the x- and all necessary
y-value elements of the
toolbar

Connect a tag / logging


tag to the specific data
source

Page 559 Un s c |©S ns | DI F


Trend Control
Live Demo

LIVE D E M O 23

• Which Settings are necessary

• What needs to be considered when archiving

• How does the Trend control work

• Connect tags to it

• Calculate values and export it Excel

Page 560 Un s c |©S ns | DI F


Table of contents
Index / Agenda

Time Topic Presenter

1 Overview
2 Logging Engineering
3 Trend control
4 Audit Viewer
5 Scheduled Task

Page 584 Un s c |©S ns | DI F S SU MI


Scheduled tasks
Overview

• Execute cyclic actions in Runtime


• Trigger actions on value change of a tag
• Trigger actions based on alarms in runtime

ystem ags can’t be used in cheduled tasks.

There is no access from scheduled tasks to screen items.

Page 585 Un s c |©S ns | DI F


Scheduled tasks
Alarm trigger

Alarm trigger

Define criteria

Define alarm criteria that needs to be fulfilled to trigger the event.

Page 586 Un s c |©S ns | DI F


Scheduled tasks
Live Demo

LIVE D E M O 24

• Create some tasks in the scheduled tasks area

Page 587 Un s c |©S ns | DI F


WinCC Unified – V18

Communication & Tags

Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda

Time Topic Presenter

1 Communication
2 Tag Handling
3 Tag Counting
4 Tags
5 OPC UA

Page 590 Un s c |©S ns | DI F S SU MI


Engineering Connections
Integrated Connections – E o “D v c s & N wo k”

Add a integrated HMI connection via Drag & Drop operation.

Page 591 Un s c |©S ns | DI F


Engineering Connections
E o “Conn c ons”

Add new connection

Editor “Connections” to manage and create integrated and non-integrated connections.

Page 592 Un s c |©S ns | DI F


Engineering Connections
Integrated Connections – E o “Conn c ons”

“In us l E n ”
as required interface

Specify connection
parameters

he connections will be created automatically in the editor “Connections”.

Page 593 Un s c |©S ns | DI F


Engineering Connections
Non integrated connections – E o “Conn c ons”

Select the
Add a new communication driver
connection

Select the required


interface

Specify connection
parameters

he connections can be created manually via double click in “add new”.

Page 594 Un s c |©S ns | DI F


Engineering Connections
Using Device Proxy

Selection for import:


• Data blocks
• PLC tags
• Alarm texts from S7

… f c n s n
the STEP 7 program

(STEP 7 V5.x project)

With the “Device roxy” you can include LCs from E 7 V .x projects and
use the advantages of TIA Portal.

Page 595 Un s c |©S ns | DI F


Tag handling
External Tags – E o “ MI s”

PLC name is assigned


Tag properties automatically when the
connection is selected

When configuring an external PLC tag that


tag, the HMI Connection must is linked with
be specified the HMI Tag

You can also create external HMI tags by dragging and dropping data block elements or global PLC tags to an
HMI tag table.

Page 597 Un s c |©S ns | DI F


Tag handling
External Tags – Add HMI tags via Drag & Drop

HMI tag with HMI connection will be added automatically.


The name will be generated by the DB name and PLC tag name.

Page 598 Un s c |©S ns | DI F


Tag handling
External Tags – Using PLC-UDTs from S7-1200/S7-1500

Select PLC tag with


PLC-UDT as data type

You can also can add HMI tags with a PLC-UDT as data type.

Page 599 Un s c |©S ns | DI F


Tag handling
External Tags – Data-Types for S7-1200/1500 communication

PLC-UDT as type
in project library
c v “ cc ss bl
fo MI/O CU ”
for Elements

The PLC-UDT must be a type and the elements accessible from HMI device.

Page 600 Un s c |©S ns | DI F


Tag handling
External Tags – Data-Types for S7-1200/1500 communication

dvantages when using the “ ccessible


from HMI” flag
• PowerTag license:
Only needed elements will become HMI Tags

Only activated • Engineering handling:


c v “ cc ss bl save time by simply drag&drop a complete DB
elements will
fo MI/O CU ”
become HMI Tags to a HMI tagtable and get all necessary HMI
for Elements
tags

nly elements having “ ccessible from HMI” enabled will become HMI ags

Page 601 Un s c |©S ns | DI F


Tag handling
External Tags – Add HMI tags with PLC data type via Drag & Drop

HMI tags can be


added also through a
DB

Not accessible tag


will not be added

Not
accessible

Page 602 Un s c |©S ns | DI F


Tag handling
External Tags – Addressing

Options for addressing a PLC tag:

• Symbolic addressing – a validity check of the tag


connection is performed in runtime. If a symbol is
changed in the PLC, the change is registered and
an error message is issued.

• Absolute addressing – The linking of tags is not


checked in runtime. You select the valid data type of
the tags. If the tag address changes in the PLC,
compile and load the HMI device again so that the
change is registered in runtime.

Symbolic addressing is the default method.

Page 603 Un s c |©S ns | DI F


Tag handling
External Tags – Acquisition mode/cycle

Configure acquisition
mode and update
cycle

Acquisition mode and update cycle is directly configured at the properties of a tag.

Page 604 Un s c |©S ns | DI F


Tag handling
External Tags – cqu s on o “On n ”

3. Trigger system function


with Update ID to update
tag values
1. Configure
Acquisition mode to
“On demand”

Acquisition mode Available for Data types Behavior


Cyclic in operation • Elementary datatypes Tag value is updated in configured
• Arrays cycle when used on an activated
• UDT‘s screen
On demand • Elementary datatypes Tag value on HMI is only updated
2. Define an Update ID • Arrays when system function „Up “
is called

Update ID’s can be used for multiple tags

Page 605 Un s c |©S ns | DI F


Tag handling
Internal Tags – Persistence

• Activate the persistence at the properties of the


internal tag

• The value will be saved when stopping the


runtime and used as start value if runtime is
started again

Activate
persistence • Tag persistence needs to be activated in runtime
settings

o save persistency values, the untime on UC needs to be stopped via system function “StopRuntime”

Page 612 Un s c |©S ns | DI F


Tag handling
Internal Tags – Runtime settings for tag persistency

Possible storage Possible storage


mediums for mediums for
PC systems Panels

You configure the data location for tag persistency in the Runtime settings.
It depends on the device which locations are possible.

Page 613 Un s c |©S ns | DI F


Tag handling
Live Demo: Create external tag with S7-1200/1500 connection

LIVE D E M O 25 in 15 min

• Create a connection
• C UDT n wo k w “ cc ss bl f o MI”
flag
• Create a DB and insert some tags
• Create the tags in HMI
• Test the different acquisition cycles
• Compile and see the behavior regarding powertags
usage
• Test in Runtime

Page 614 Un s c |©S ns | DI F


NEW

Tag Counting Concept – V18 Unified Comfort Panel


SIMATIC WinCC Unified

Not linked tags e.g. via Script


are not used and needs to be
Only tags in use e.g. Process configured in a screen to be
Value are counted System limit = 8000 used tags useable

First step of new tag count concept introduced!

Page 616 Un s c |©S ns | DI F S SU MI


NEW

Tag Counting Concept – V18 Unified Comfort Panel – UDT & Faceplate
SIMATIC WinCC Unified

In V18 a new counting for UCP will be implemented. A distinction is made between tags in use and configured

Page 617 Un s c |©S ns | DI F S SU MI


NEW

Tag Counting Concept – V18 Unified PC-Runtime


SIMATIC WinCC Unified
No change for tag counting to previous
versions!

All tags part of the HMI tag tables are counted. This includes elements of arrays and structures!

Page 619 Un s c |©S ns | DI F S SU MI


Communication & Tags
Tags – System tags

New system tag @CurrentLanguage

Can be used to react on language change in


runtime

System tags can be directly accessed in


faceplate types

Page 621 Un s c |©S ns | DI F S SU MI


NEW

Communication & Tags


Session local tags

Client 1 session In Runtime Session-local


tags have their own value
Client 2 session for each client session

A new Scope property


allows to configure
internal tags to be
Session-local

Store client specific information in session local tags.


Elementary datatypes, HMI UDT and Array are supported

Page 624 Un s c |©S ns | DI F S SU MI


NEW

Communication & Tags


Session local tags – Ex pl ‚S opw c '

Store client specific information in session local tags

Page 625 Un s c |©S ns | DI F S SU MI


NEW

WinCC Unified V18


Connectivity – OPC UA

Communication via WinCC Unified devices can be used as OPC UA client


OPC UA WinCC Unified PC HMI Unified Comfort Panel
as OPC UA as OPC UA
▪ A&C Server ▪ A&C Server
▪ A&C Client(1) ▪ A&C Client (1)
▪ DA Server or Client ▪ DA Server or Client

3rd Party PLC, HMI or device


OPC UA alarms can be ▪ OPC UA Server
Easy and powerful  Displayed
▪ OPC UA Client

alarm integration of  Statistically evaluated


3rd party devices and  Logged
HMIs via OPC UA A&C  Acknowledged
(1) With V18 Update

Page 628 Un s c |©S ns | DI F S SU MI


Overview
Standard interface OPC UA

Unified Comfort Panel PC

Unified Comfort Panel WinCC Unified Runtime PC


• OPC UA DA/A&C server • OPC UA DA/A&C server • Unified Comfort Panel and WinCC Unified
• OPC UA DA client • OPC UA DA client Runtime PC can be configured as
OPC UA server and as OPC UA client.

• The OPC UA DA server provides process values


OPC UA
from the WinCC data management for one or
more OPC UA DA clients.

Devices without S7 Devices/applications of


communication driver third-party providers
• The OPC UA A&C server provides the alarms
• OPC UA DA server • OPC UA DA server from the WinCC alarm management for one or
• OPC UA DA/A&C client • OPC UA DA/A&C client
more OPC UA A&C clients.

OPC UA communication standard for connectivity


to OT/IT systems and other automation systems
Page 629 Un s c |©S ns | DI F | -03
OPC UA client
E o “Conn c ons” – OPC UA connection parameter

Type in discovery URL

Select security mode

Message security mode

User & Password for


authentication

Select running OPC UA


servers local or in the
network environment

OPC UA Client supports security policies, message security modes


and user (with password) authentication.
Page 640 Un s c |©S ns | DI F | -03
WinCC Unified – V18

Offline Transfer

Un s c |©S ns | DI F S SU MI
Device handling – Load project to external storage medium
SIMATIC WinCC Unified
Offline transfer

• You can use offline transfer if you cannot establish


a direct connection from the configuration PC to the
HMI device.

• The compiled runtime project is loaded onto an


external storage medium.

• You load either the complete runtime project or only


changes of a runtime project.

Only one runtime project at a time with the same project identification
can be saved in the target directory.

Page 667 Un s c |©S ns | DI F


Device handling – Load project to external storage medium
SIMATIC WinCC Unified

Procedure:

Jump to the "Devices" tab in the project tree.


1. Double-click "Add user-defined card reader" in the
"Card reader/USB storage" folder.
2. Select a target directory to save the project.
3. Drag and drop the folder of the HMI device to the
added folder.
4. In the selection menu, specify how your project is
to be loaded, Click "Load" to confirm.

Page 668 Un s c |©S ns | DI F


Device handling – Load project from external storage medium
SIMATIC WinCC Unified

UCP Procedure:

1. Go to control panel.
2. Select Runtime Properties > Load project from
storage.
3. Select the storage media and the project.
4. Confirm with "Add project".

UCP must have V17 image.

Page 669 Un s c |©S ns | DI F


Device handling – Load project from external storage medium
SIMATIC WinCC Unified

UCP Procedure:

Check project details before executing project load


5. Click on load.
6. The project has been loaded.

UCP must have V17 image.

Page 670 Un s c |©S ns | DI F


SIMATIC WinCC Unified
Live Demo: Sm@rtClient – Offline Transfer

LIVE D E M O 26
• Offline Transfer

Page 671 Un s c |©S ns | DI F


Q&A

You might also like