Unified Comfort Panel V18: Teknik Workshop
Unified Comfort Panel V18: Teknik Workshop
90° 25
Platforms
Engineering Advanced
Comfort VoT Professional
in TIA Portal
!
Efficient
Standardization Engineering Automated Engineering Diagnostics
RFID
Login
WinCC Unified V18 310
Audit Viewer
V18
Customized Screens
for Parameter Control
Hundreds of extensions and
GraphQL improvements to discover
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"
PLC-Connections 8 16
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
• 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
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
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
• 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
… 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
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
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
c
Fraunhofer Tested Device
IP96k
Cut-Out compatible to
Protection Unified Comfort Standard
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
Change over from “old” MLFB -0AX0 → to “new” MLFB -0AX1 is done
WinCC Unified
Comfort
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 Comfort
Upgrade Packages
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.
V17 V18
SIMATIC WinCC Unified V18
Upgrade Packages
WinCC Unified
Package (DVD) Online Software Delivery (OSD)
Upgrades V16..V18
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
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
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
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 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)
Virtualization
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
Remote
control
SIMATIC WinCC Unified
Server / Client – Overview – quantity structure
LIVE DEMO 1
• Sm@rtClient ç lış sı
• WebClient ç lış sı
SIMATIC WinCC Unified – Tools
Configuration Manager
Delete project
Start with
options
Secure transfer
password
autoscaling
behavior
language
autoscaling
deactivated
autoscaling
activated
Supported Certificates:
V17 V18
Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda
1 User Administration
2 RF ID
Page 77 Un s c |©S ns | DI F S SU MI
Local User Management
General Information
Page 78 Un s c |©S ns | DI F
Local User Management
Password policies
Page 79 Un s c |©S ns | DI F
Local User Management
Add Users
Page 80 Un s c |©S ns | DI F
Local User Management
Compilation warning
Page 81 Un s c |©S ns | DI F
Local User Management
User-specific runtime 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
Page 83 Un s c |©S ns | DI F
Local User Management
Assign roles
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)
Page 85 Un s c |©S ns | DI F
Local User Management
Authorization
Page 86 Un s c |©S ns | DI F
Local User Management
Download
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
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
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
Page 96 Un s c |©S ns | DI F S SU MI
Modern UI
Device handling – Change device
Page 97 Un s c |©S ns | DI F S SU MI
NEW
Modern UI
Screen resolution
Page 98 Un s c |©S ns | DI F S SU MI
NEW
Modern UI
Screen resolution
Page 99 Un s c |©S ns | DI F S SU MI
Modern UI
Resize screen
Modern UI
Screen Size improvement
LIVE DEMO 3
1. Unified Comfort Panel ekle
2. Settings-Fit to Screen ös
3. Resize ç lış sı
4. UCP -> PC System c z ğ ş .
Modern UI
Find and replace text
Use wildcards.
* → for any number of characters
? → to leave out a single character
Modern UI
Auto-Scrolling
Modern UI
Usability improvement with CTRL + drag
When copying an object with CTRL + drag the original object does not disappear anymore
Keyboard shortcuts
Modern UI
Grid
Modern UI
Tooltip in case of hovering over screen objects
Modern UI
Multi selection: Change size proportionally
Modern UI
Mass operation: Change object color
Change objects
color of the screen
Change quickly the color of multiple screen objects by ‘Change object color’ dialogue
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
Modern UI
Misleading order of properties
Background - Color
• Search Filter:
Filter for
− Search for all properties by characters
dynamization type
− Overview of used dynamizations
− Filter of different dynamizations
Combine property
filter with
dynamization filter
Modern UI
Search property filter improvement
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
Most of the object properties include change methods that will be executed by change of the
property value
Modern UI
Improvements in Engineering
Modern UI
Favorites for properties
On the left, configurable property list for the user with important used properties.
On the right, Overview of the configured favorite properties
Modern UI
Drag & Drop of objects into the function list
Secondary property
Add a Hotkey
Modern UI
Click through transparent Screen Window/Faceplate
• T „T x s“ b spl ys ll l n u f nc s n
a screen or depending on the selected object!
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
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
Enable flashing
Flashing Rate:
- Fast
- Medium
- Slow
LIVE DEMO 5
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
Modern UI
Group Screen objects
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
Modern UI
Group in Faceplate type and Faceplate instance in group possible
LIVE DEMO 6
• G upl öz ll ğ n ös
• Layerlardan grub l nı kl çık
• G up l nl ını k k üz nl
1 Editor handling
2 Property handling
3 Groups
4 Dynamizations
5 Layers, Zoom & Decluttering
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.
Select dynamization
settings
Copy & Paste conditions of animation dialog for further screen objects.
Script trigger
Column for static
values Column for
dynamization
Dynamic parameter
can be chosen
Modern UI
Tag dynamization for graphic property in Screen items
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
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
Modern UI
Simple dynamics – Bit mask (multiple bits)
Modern UI
Value Converter with Expression
Add Property
Expression configuration
Remove Property
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
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
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
To add a language to the user interface, it should be first added as a project language.
Adding languages must be done before starting adding any elements on the HMI.
LIVE DEMO 8
Condition could be a
range or a specific value
roperties that can be dynamized can be found under “Miscellaneous > Interface".
LIVE DEMO 9
Modern UI
Show default text- and graphics- for objects apart from Symbolic IO
S l c „ sou c l s “
as dynamization
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
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
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.
HMI Template suite Wizard offers you templates for screen navigation.
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.
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
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“)
Screen_window_1
Screen_1
Open
Header navigation
window
Button Screen_3
Button Screen_5
Show the Screen_3 in the
Button Screen_6
Content window:
Screen_window_3
Screen_2
Footer
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.
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
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.
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
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
Multitouch, Layer
Un s c |©S ns | DI F S SU MI
Multitouch
Multitouch support and Touch Area
• S R l s bu on „Expl c unlock“
for HMI screen and select screen items
which are relevant for secure operation
Select button
Define at screen properties which button will enable the explicit unlock.
Select property
Indication of active
layer • a screen object is always assigned to one of the 32
layers.
• To c v l y ,s l c ‘S o c v ’
command from the context menu of a layer.
Activation of layer
Multitouch
Zoom Screen (Ctrl + Scroll with the mouse)
Multitouch
Default layer names
Multitouch
Zoom
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
Multitouch
Screen Decluttering
Examples:
Range of zoom: MaximumZoom = 1.5 MinimumZoom = 1.0
Layer is hidden by Zoom higher 150% and lower 100%
LIVE D E M O 12 in 15 min
DATA2UNIFED
Un s c |©S ns | DI F S SU MI
WinCC Unified
Data2Unified Add-In
Customer Benefits:
• No double efforts
• Reduced converting time
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.
Page 227
WinCC Unified Data2Unified
Add-in
Data2Unified Description
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:
7.- Cycles
The differences, but also the similarities between Comfort Panels and Unified Comfort Panels will
be considered.
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
5. Preparation of faceplates
6. User management
7. Cycles
TP900 TP1200 MTP1000
LIVE D E M O 14
Demo project
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
Minimal required
runtime version
Style preview
Structured UDTs on
Faceplates
Interface Interfaces
(Including Type Struct)
Internal Tags UDTs containing arrays of UDT
Local tag
editor
Faceplate containers
are inserted in a
screen in order to
Faceplate type instantiate the
faceplate types
Faceplates
Dynamic SVG as Library types
User can use DynamicSVG Types inside Faceplates as well as in Screens of the Project
If you change the Default graphic, it will be used for all languages.
Faceplates
Script Modules as library types
User can use Script Types inside Scripts of Faceplates, other Script Types or the Project
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!
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
Faceplates
Handling
Faceplates
Support HMI UDT
Faceplates
Support of HMI data type
New data type
with V18 it is possible to use HMI data types in the faceplate tag interface
Faceplates
Tag interface – Support Array of UDT
UDT Structure
which
includes an
Array of UDT
Usage in the
Faceplate
Faceplates
Support of UDTs containing arrays of UDT & Structured UDTs on Interface (Including Type Struct)
Struct in a UDT
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
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
Faceplates
Copy Faceplate Interface
paste Interface
Copy Interface
It works with shortcuts ctrl+c & ctrl+v and via drag and drop too
Choose
Choose a new Faceplate
Faceplate
type
type and
and version
version
Cl ck on “R pl c yp ”
• Efficient engineering: Us c n l “R pl c
yp ” func on. ll ns nc s w ll b c n .
Faceplates
Faceplate in Faceplate
M n f c pl ‘T nk’
Subordinated
f c pl ‘V lv ’
Subordinated
f c pl ‘Flow’
Faceplates
Faceplate in Faceplate – Engineering
Faceplate Popups
Click to
open “D l”
details Faceplate
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
220 px
50 px
Independent
Independent
windows
windows
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.
Task:
Create a button for closing the faceplate
instance inside the faceplate type.
Advantage:
Faceplate instance is totally deleted.
→ Use Faceplate.Close() for deletion of the faceplate. Make invisible for further usage.
Faceplates
Trend Control in faceplate
Faceplates
Alarm control in faceplate
Configure the alarm control in a faceplate and hand over the alarm filter via the faceplate interface
LIVE D E M O 15
1. Create a Faceplate type
LIVE D E M O 16
Parameter Control
Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda
1 General Information
2 Engineering Workflow
3 Parameter Control settings
4 Recipe Screen
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
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)
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.
1 General Information
2 Engineering Workflow
3 Parameter Control settings
4 Recipe Screen
1. Creation of PLC
data types in PLC 2. Add the PLC data type to
the project library
3. Select Unified
HMI User data types, work also with the Parameter control
(alternatively to PLC data type)
Storage location of Parameter set types can be local drives for PC Station or
USB-X61, USB-X62 or SD-X51 for Panel.
Parameter ID is the ID of
an existing parameter set Automate handling via Job-ID:
LIVE D E M O 17
• Create a UDT
1 General Information
2 Engineering Workflow
3 Parameter Control settings
4 Recipe Screen
Parameter set ID
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
Write to PLC
LIVE D E M O 18
• Create new parameter sets
1 General Information
2 Engineering Workflow
3 Parameter Control settings
4 Recipe Screen
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
et your HMI ag with cope “ ession local tag” in order to use it as “Edit tag” in the arameter set ype
Alarming
Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda
1 Overview
2 Alarm Engineering
3 Display of Alarms
4 Reacting to Alarms
ProDiag alarm
HMI alarms
• Bit alarms
Program Alarm • Analog alarms
• HMI System events
Diagnostics buffer of
PLC in TIA Portal
Online View
Diagnostics buffer of
PLC in WinCC
Unified Runtime
SystemDiagnostics
Control
Alarming
Control Matrix view
Matrix view
disconnected PLC
State of your connected PLCs and their underlying hardware modules in a matrix view
Alarm Control
Alarm control - Duration column
Duration column displays how long it took to Acknowledge and Clear an Alarm.
Alarming
Alarm control - Duration column
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
Display HMI
system events
Define
Acknowledgement
Define Colors
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
Insert a Parameter
field
Alarm state is
represented in Runtime
by the Status tag
Control tag can be
used to acknowledge
an alarm, e.g. from
PLC
In Runtime you can sort and filter alarms through the Origin & Area context
Choose a limit
Add alarm text Set a limit value
mode
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 !)
LIVE D E M O 19
Scripting
Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda
1 Overview
2 System Functions
3 JavaScript Syntax
4 Script debugger
5 RTIL Trace viewer
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
• K y co b n on ”C l & j”
Object picker for HMI tags, HMI connections, screens & screen objects.
T bu on “InfoTip” lso op ns
ToolTip for the specific function.
A lot of functions provide InfoTips which explain the function and their parameters.
Scripting basics
Toggle of Global Definition Area
Hide or unhide
the GDA
Have a quick overview of the GDA during the editing of the local scripts without switching the GDA on/off.
Scripting basics
Global Definition Area – Reference handling of aliases
Alias in GDA
Updated reference
in script
Scripting basics
Copy & paste of the import statement together with the screen items
Screen_3 Screen_4
Global Modules
Global modules are groups of several functions with one common definition area.
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
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
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.
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
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
Scripting basics
Cross Reference
Screen objects
Alarming
Logging
Scheduled Tasks
1 Overview
2 System Functions
3 JavaScript Syntax
4 Script debugger
5 RTIL Trace viewer
Hints:
1 Overview
2 System Functions
3 JavaScript Syntax
4 Script debugger
5 RTIL Trace viewer
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)
Variable declaration.
• „T x “ ( o sp c f c x )
• + (to connect strings to each other)
• variable (use the value of a variable)
Trace example:
• || (logical or)
• && (logical and)
• ! (logical not)
Example:
Logical Operators.
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.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
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.
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
1 Overview
2 System Functions
3 JavaScript Syntax
4 Script debugger
5 RTIL Trace viewer
2. Navigation
area
4. Debugging
area
The scripts shown in the debugger are from the current screen in open browser tab (RT).
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
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!
1 Overview
2 System Functions
3 JavaScript Syntax
4 Script debugger
5 RTIL Trace viewer
It is possible to output a text or a tag value in the Trace viewer via scripting.
LIVE D E M O 22 in 10 min
Logging
Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda
1 Overview
2 Logging Engineering
3 Trend control
4 Audit Viewer
5 Scheduled Task
Planned
Logging Tags
Central logging as overall plant
archiving solution (optional).
Power Tags
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
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)
For more detailed information regarding record size calculation please have a look at the TIA online help.
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.
Aggregation modes:
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)
https://support.industry.siemens.com/cs/document/109782859/
1 Overview
2 Logging Engineering
3 Trend control
4 Audit Viewer
5 Scheduled Task
• SD → SD card
• USB → USB memory
• Off → Disable storage
Maximum time
and size of the log
With both logging types you define the same properties for the log
(except BackUp mode: only available for MSSQL).
Logging tags are configured and edited in the "HMI tags" editor.
Logging Tags
Logging Tags configuration steps 5 - 7
You have the option to select one out of three "logging modes" for logging tags.
Logging Tags
Long term saving of logs
Export of logged values into a user defined format is supported via Snippet!
1 Overview
2 Logging Engineering
3 Trend control
4 Audit Viewer
5 Scheduled Task
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
Trend Companion
Statistical evaluation of process data
Trend Companion
Configuration
Data source:
select the trend
control of the current
screen
LIVE D E M O 23
• Connect tags to it
1 Overview
2 Logging Engineering
3 Trend control
4 Audit Viewer
5 Scheduled Task
Alarm trigger
Define criteria
LIVE D E M O 24
Un s c |©S ns | DI F S SU MI
Table of contents
Index / Agenda
1 Communication
2 Tag Handling
3 Tag Counting
4 Tags
5 OPC UA
“In us l E n ”
as required interface
Specify connection
parameters
Select the
Add a new communication driver
connection
Specify connection
parameters
… f c n s n
the STEP 7 program
With the “Device roxy” you can include LCs from E 7 V .x projects and
use the advantages of TIA Portal.
You can also create external HMI tags by dragging and dropping data block elements or global PLC tags to an
HMI tag table.
You can also can add HMI tags with a PLC-UDT as data type.
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.
nly elements having “ ccessible from HMI” enabled will become HMI ags
Not
accessible
Configure acquisition
mode and update
cycle
Acquisition mode and update cycle is directly configured at the properties of a tag.
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”
You configure the data location for tag persistency in the Runtime settings.
It depends on the device which locations are possible.
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
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
All tags part of the HMI tag tables are counted. This includes elements of arrays and structures!
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
Only one runtime project at a time with the same project identification
can be saved in the target directory.
Procedure:
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 Procedure:
LIVE D E M O 26
• Offline Transfer