Professional Documents
Culture Documents
GettingStartedWCCUenUS en US
GettingStartedWCCUenUS en US
Configuring the
visualization of the 2
brewery (RT Unified)
Online documentation
04/2023
Online documentation
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance
are required to ensure that the products operate safely and without any problems. The permissible ambient
conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
4.4.1 Link HMI connection with program block (RT Unified) ....................................................... 105
4.4.2 Creating a parameter set type and configuring a parameter control (RT Unified) ................ 108
4.4.3 Inserting and configuring a parameter set control (RT Unified) .......................................... 112
4.5 Setting up a connection with PLCSim (RT Unified) ............................................................. 114
5 Configuring user administration (RT Unified).................................................................................... 125
5.1 User management in WinCC Unified (RT Unified)............................................................... 125
5.2 Configuring local user administration (RT Unified)............................................................. 127
6 Configuring screen navigation (RT Unified)....................................................................................... 135
6.1 Screen navigation (RT Unified).......................................................................................... 135
6.2 Screen window technology (RT Unified)............................................................................ 135
6.3 Configuring screen window for navigation (RT Unified) ..................................................... 136
6.4 Configure the HMI screen to open the navigation window (RT Unified) .............................. 147
6.5 Configuring the HMI screen to open the process screens (RT Unified) ................................ 151
6.6 Configuring a button with access protection (RT Unified)................................................... 161
7 Runtime (RT Unified).......................................................................................................................... 163
7.1 Function test in Runtime (RT Unified)................................................................................ 163
7.2 Installing certificates (RT Unified)...................................................................................... 163
7.3 Testing the configuration in Runtime (RT Unified) ............................................................. 164
8 Additional functions (RT Unified) ...................................................................................................... 175
8.1 SVG graphics (RT Unified) ................................................................................................. 175
8.2 SIMATIC Runtime Manager (RT Unified) ............................................................................ 179
8.2.1 Runtime Manager (RT Unified).......................................................................................... 179
8.2.2 "Autostart" in Runtime Manager (RT Unified)..................................................................... 181
8.3 Unified Collaboration (RT Unified)..................................................................................... 181
8.4 Scripting in WinCC (RT Unified)......................................................................................... 182
Requirement
For working with this Getting Started, installation of the following software is required:
• TIA Portal V18
• WinCC Unified V18
• S7-PLCSIM V18, referred to hereinafter as PLCSIM
• WinCC Unified Runtime V18, referred to hereinafter as Runtime
Configuration steps
This Getting Started will familiarize you with the following configuration steps:
• Configuring the visualization of the brewing process
• Monitoring and logging the brewing process
• Configuring parameter sets (optional)
• Configuring user management
• Configuring screen navigation
• Carrying out a function test in runtime
Sample project
If you simply want to view the configuration steps and results presented in this Getting Started,
use the "Brewery" project. This project contains the complete, ready-to-run project in which all
the configuration steps described in the Getting Started have already been completed.
The project uses a PLC and an HMI device. The HMI device is connected to the PLC via
Profinet IE. The HMI device is used for operator control and monitoring of the brewing
process. The PLC processes the parameters according to its programming and sends
measurement data acquired by the sensors to the HMI device for the display.
+0,
3URILQHW,(
3/&
%UHZHU\&RQWURO
See also
Sample project "Brewery" as download in the SIOS portal (https://
support.industry.siemens.com/cs/ww/en/view/109783212)
Basics
The basis for configuring the user interface is the project. Projects contain data and programs
that result from creating an automation solution.
Project data includes, for example:
• Hardware configuration data and parameterization data for modules
• Configuration data for network communication
• Configuration data for the devices
In the project, you create and configure basic objects that are needed for operator control
and monitoring of a plant, such as:
• Tags for storing data temporarily or transferring data between the HMI device and plant.
• Screens for representing and facilitating operation of a plant.
• Alarms for displaying errors on the HMI device.
YDU
Introduction
A project is to be created for the brewery sample project.
Requirement
The TIA Portal is open.
Procedure
1. First, create a new project.
– Click "Create new project".
– Name the project "Brewery".
– Enter the desired path and author.
– Confirm your selection.
Basics
WinCC Unified distinguishes between two types of tags:
• Internal tags
Internal tags have no link to the process. They transport values only within the HMI device
and are available exclusively in Runtime.
• External tags
External tags are the link between WinCC Unified and the automation systems. An external
tag reads the process value of the PLC tag from the memory of an automation system or
writes a new process value back into the memory of an automation system.
DGGUHVV DGGUHVV
Introduction
During the brewing process, individual process variables such as the fill levels in the storage
tanks, or the temperature in the mash tun, are to be monitored. A tag must be created for each
of these variables. In the following, the tags shown in the table are to be created and organized
in tag tables.
Procedure
1. Create a tag table with a tag.
– Locate "HMI tags" under the HMI device in the project tree.
– Add a new tag table.
– Name it "filling_levels".
– Add a tag to this table.
2. Configure the tag for the fill level of the water tank.
– Name the created tag "HMI_filling_level_water".
– Select the data type "Int".
3. Create the other tags listed in the table above in the same way.
– Add four more tag tables.
– Create the associated tags in the individual tag tables.
– Check your result by having all tags displayed.
Basics
An HMI screen represents the user interface of an HMI device. A plant or process is visualized
with pre-defined screen objects in the HMI screen. The operator interacts with the process via the
HMI screen.
A screen has static and dynamic screen objects:
• Static screen objects do not depend on the process. Static screen objects include, for
example, labels and diagrams.
• Dynamic screen objects change in line with the process. Dynamic screen objects typically
visualize process values such as fill levels. The operator uses dynamic screen objects to
intervene in the process.
2.3.2 Configuring HMI screens for operating and monitoring (RT Unified)
Introduction
In the following you create the HMI screens that serve as the basis for the user interface of the
brewery process:
Procedure
1. Create the start screen.
– Locate "Screens" under the HMI device in the project tree.
– Add a new screen.
– Name it "BreweryOverview".
Purpose
%UHZHU\2YHUYLHZ
%UHZHU\3URFHVV
2SHQ
1DYLJDWLRQ
$ODUPV
+HDGHU
3URFHVV9DOXHV
1DYLJDWLRQ
You implement the screen navigation using the screen window technology. In an overview
screen, you can insert the following screen windows, which fulfill different tasks:
• Header
A navigation window is shown above the header.
• Navigation
The operator uses the buttons in the navigation window to change the content in the content
window.
The navigation window is hidden by default.
• Content
Information on the system is displayed in the content window. Fill levels of tanks or plant
alarms are displayed, for example.
You can specify the content of the screen windows using HMI screens.
Template Suite
Systems and machines are becoming more and more complex and the demands placed on the
operator of a system are increasing. An intuitive and graphically appealing user interface, which
serves as the interface between human and machine, is therefore becoming increasingly
important. The HMI Template Suite provides you with templates and ideas for configuring your
HMI device in a clear and modern way.
The layout and design are designed for smooth operability, clarity, and expandability. In this
way, you can simplify the operation of your machine and reduce operating errors.
You can learn how to work with the HMI Template Suitein the following application example:
Application example "HMI Template Suite" (https://support.industry.siemens.com/cs/us/en/
view/91174767)
Basics
Faceplates are user-defined groups of display and operating objects that are stored, managed
and edited centrally in the project. Ideally, you should use faceplates for plant objects or plant
units that you use multiple times and that have identical data structures.
In order to support central changeability, faceplates are based on a type-instance model:
• You create properties for faceplate instances centrally in the faceplate type.
• The instances represent local points of use of the faceplate type.
If you make subsequent changes in the faceplate type, they are compiled in all faceplate
instances used.
/
Introduction
The basic ingredients water, hops and malt are stored in 3 identical storage tanks. A valve on
each storage tank controls the transport into the mash tun. Because the same display and
control elements are used for all tanks, use the faceplate technology to implement the
visualization. You define properties on a faceplate type that are parameterized for later use.
You need the following interface tags to configure the faceplate type:
Procedure
1. Create a new faceplate type in the project library.
– Locate Types under the project library in the "Libraries" task card.
– Add a new type by double-clicking it.
4. Create the remaining interface tags listed in the table for the faceplate type.
6. Create a new graphic type for the visualization of the storage tank.
– Follow the same steps as for creating the faceplate type.
– Select the type "Graphics / Dynamic SVG".
– Name the graphic type "tank_graphic".
– Confirm your selection.
10.Create a graphic type for the valve in the same way and insert it into the visualization of the
faceplate.
– Locate the valve in the "Toolbox" task card under "Graphics > WinCC Graphics
folder > Equipment > Automation [EMF] > Valves".
11.Link the bar graph of the fill level with the interface tag "filling_level".
– Locate the "Process value" property in the Inspector window under "General".
– Select "Tag" for the dynamization.
– Select the interface tag "filling_level" as the process tag.
– Confirm your selection.
13.Dynamize the background color property of the circle so that the background color changes
as a function of the tag.
– Click on the created circle.
– In the Inspector window, navigate in the properties to "Appearance".
– Select "Tag" for dynamization of the background color.
Efficiency tip
To make things easier to see, you can hide property options by activating favorites .
You can add and remove properties to and from favorites as required.
14.Specify that the background color changes as a function of the interface tag "valve_status".
– Select the interface tag "valve_status" as the process tag.
– Enable the setting "Read only".
– Select the "Single bit" type.
– Define the desired background colors for the associated process values.
Introduction
The storage tanks for the beer ingredients should now be visualized on the basis of the created
faceplate type. Insert an instance of the faceplate type for each storage tank and parameterize
the interfaces with the corresponding tags.
Procedure
1. Create the instance for the storage tank containing water from the faceplate type.
– Open the HMI screen "BreweryProcess".
– Place the faceplate type "Tank" from the project library in the screen using drag-and-drop.
2. Connect the interface tag "pressure" of the faceplate instance to the "HMI_pressure_water"
tag.
– Click the faceplate instance.
– Navigate to "pressure" in the properties under "Miscellaneous > Interface".
– Link the interface tag with the "HMI_pressure_water" tag.
3. Connect the remaining interface tags of the faceplate instance in the same way.
4. Visualize and connect the storage tank for hops in the same way.
5. Visualize and connect the storage tank for malt in the same way.
Introduction
In the following, the previously created process screen "BreweryProcess", which contains the 3
storage tanks for water, hops and malt, is to be expanded to include the remaining components
of the brewing process. A mash tun is inserted and connected to the storage tanks via pipes. A
heat source that heats the mash tun is inserted. In addition to the graphic elements, display
elements for the process values of the mash tun are to be added.
Procedure
1. Insert the displayed tank, which represents the mash tun.
– Locate the tank in the "Toolbox" task card under "Graphics > WinCC Graphics folder >
Equipment > Automation [SVG] > Tanks".
– Place the desired tank using drag-and-drop.
Efficiency tip
: Move the selected screen object forward one position within the layer.
: Move the selected screen object backward one position within the layer.
A complete overview of the layers can be found in the "Layout" task card.
4. Insert a value display for the fill level tag "HMI_filling_level_mash_tun" of the tank.
– Click on the "mash_tun" tag table
– Open the "Details view" in the project tree.
– Drag the "HMI_filling_level_mash_tun" tag into the screen using drag-and-drop.
– An IO field connected to the tag is automatically created.
Introduction
In the following a pop-up window for faceplates is to be configured in which additional
information on the fill level, temperature, and pressure of the respective storage tank is
displayed when you click on one of the 3 storage tanks.
Procedure
1. Duplicate the faceplate type "Tank" in the project library. All interface tags of the faceplate
type "Tank" are transferred to the new faceplate.
– Right-click on the faceplate type "Tank" in the project library.
– Select "Duplicate type".
4. Delete the graphic elements of the copied faceplate type. Use multiple selection.
– Hold down the <Shift> key and click all the screen objects in the faceplate.
– Right-click a selected screen object. Alternatively, press <Delete>.
– Delete the selected screen objects.
8. Configure the text boxes and IO fields for temperature and pressure.
– Connect the IO fields to the interface tags "temperature" and "pressure".
10.Release the faceplate type for the pop-up window in the project library.
11.Open the faceplate type "Tank" in the project library for editing.
14.Insert the name of the newly created faceplate "Tank_Details_V_0_0_2" and the designation
"Tank status" into the script.
15.Release the faceplate type in the project library and check the "Update instances in the
project" box.
Confirm your selection.
Result
The pop-up window for faceplates has been created and is opened in Runtime when you click
one of the storage tanks.
Basics
WinCC Unified ensures that all events in the process sequence are recorded chronologically.
Deviations from the process sequence are visualized to the system operator as alarms.
WinCC Unified supports complete traceability for processing the cause of an error.
An alarm contains the traceable status of the error processing with time stamp. An example
of an alarm is when the level of a storage tank falls below the limit value.
Introduction
In the following, an alarm is to be configured that is triggered when the fill level in one of the
storage tanks falls below a defined limit value.
The following alarms are to be configured for the storage tanks of the ingredients.
Procedure
1. Open the alarm overview.
– Open "HMI alarms" in the project tree.
– Click "Analog alarms" in the work area.
2. Create alarms for limit violations of the fill levels of the water, hops, and malt tanks.
– Add three alarms.
– Configure the alarms as described below.
Basics
Logging is a method for analyzing error states and for process documentation. By evaluating
logged data, you can derive measures to optimize maintenance cycles or increase product
quality.
In WinCC Unified, the alarm classes and tags to be logged in process mode are selected
during configuration.
Introduction
The previously configured level alarms with the alarm class "Alarm" are now be logged. An alarm
log is created for the logging and then assigned to the alarm class "Alarm". All alarms of the alarm
class are logged in this alarm log.
Procedure
1. Create an alarm log "tank_level_alarms".
– Open "Logs" in the project tree.
– Click "Alarm logs" in the work area.
– Add an alarm log and name it "tank_level_alarms".
Introduction
The process values of the fill levels in the storage tanks and the mash tun are to be logged. To do
this, a logging tag must be created for each tag and then assigned to a data log.
Logging tag name Logging of process values from Data type Data log
tag
log_water_level HMI_filling_level_water Int filling_levels
log_hop_level HMI_filling_level_hop Int filling_levels
log_malt_level HMI_filling_level_malt Int filling_levels
log_mash_tun_level HMI_filling_level_mash_tun Int filling_levels
log_status_water HMI_valve_status_water Bool valve_status
log_status_hop HMI_valve_status_hop Bool valve_status
log_status_malt HMI_valve_status_malt Bool valve_status
Procedure
1. Create a data log "filling_levels".
– Open "Logs" in the project tree.
– Add a data log.
– Name it "filling_levels".
4. Verify that the data log "filling_levels" was created correctly with the associated logging tags.
5. Create the above-named logging tags in the "valve_status" tag table in the same way.
Visualization of alarms
Recorded alarms can be shown in an alarm control in Runtime. In this way, you can see
immediately whether there are problems or errors in the system. For example, it is indicated if
the fill level of a storage tank falls below a limit value and has to be refilled.
Introduction
In the following, you will learn how to configure an alarm control to display the logged alarms.
Procedure
1. Insert an alarm control in the HMI screen "Alarms".
– Open the HMI screen "Alarms" in the project tree.
– Locate the alarm control in the "Toolbox" task card under "Controls".
– Place the alarm control in the screen using drag-and-drop.
2. Configure the alarm control so that the logged alarms are displayed.
– Click on the alarm control.
– Navigate in the properties to "General".
– Select "Logged alarms" as alarm source.
Introduction
The fill levels of the three tanks and the status of the three valves are to be output on the HMI
device as a trend.
Procedure
1. Insert a trend control in the HMI screen "ProcessValues".
– Open the HMI screen "ProcessValues".
– Locate the control in the "Toolbox" task card under "Controls".
– Place the trend control in the screen using drag-and-drop.
4. Specify that the first trend is supplied with values by the logging tag
"HMI_filling_level_hop:log_hop_level".
6. Specify that both trends are supplied with values by the logging tags
"HMI_filling_level_malt:log_malt_level" and "HMI_filling_level_water:log_water_level".
11.Add two more trends and configure the properties in the same way as before.
– Supply the two trends with the logging tags "HMI_valve_status_malt:log_status_malt"
and "HMI_valve_status_water:log_status_water".
– Specify the trend mode "Stepped" for both trends.
>O@
>NJ@
>NJ@
No specific parameter values are stored in the parameter set type. Instead, a parameter set
is created based on the parameter set type for each product to be manufactured, e.g. wheat
beer or Pilsner.
Parameter sets should be used when frequently changing between products with similar
composition. In the process, you can quickly switch to another product. Basic changes to the
structure are carried out centrally on the parameter set type.
+0, 3/&
r&
3/&
Requirements
In the following you will add a PLC to the project and network it with the HMI device. Then you
will configure a PLC data type and add it to the project library. Finally, you will also insert a data
block.
Introduction
To transfer parameter sets, you first configure a PLC and then configure the connection to the
HMI device.
Procedure
1. Add a new device in the project tree.
3. Cancel the PLC security settings. You will return to them in a later step.
5. Network a port of the PLC with the new interface of the HMI device using drag-and-drop.
4.3.2 Creating a PLC data type and adding it to the library (RT Unified)
Introduction
In the following you will create a user data type on the PLC and add it to the project library. The
user data type is later used as the basis for the parameter set type.
The user data type contains the following elements:
Procedure
1. Add a new PLC data type.
– Navigate in the PLC "Brewery Control" to "PLC data types".
– Add a new data type.
3. Add the PLC data type "UDT_Beer" to the project library as a user data type using drag-and-
drop.
Introduction
The values of the elements "Water", "Hop" and "Malt" are stored in the program block. In the
following, you insert a data block and link it to the user data type "UDT_Beer".
Procedure
1. Create a program block.
– Navigate in the PLC "Brewery Control" to "Program blocks".
– Add a new block.
Introduction
In the following, you will configure the data exchange between the PLC and HMI device.
3. Select the "Beer" element from the program block "DB_Brewery" as the PLC tag.
4.4.2 Creating a parameter set type and configuring a parameter control (RT
Unified)
Introduction
In the following, you will create a parameter set type for several different beer types. The
parameter set is to receive its structure through the parameter set type "PST_Beer". The
parameter set type consists of the elements "water", "hop" and "malt".
Procedure
1. Create a parameter set type.
– Navigate to "Parameter set types" in the project tree.
– Add a new parameter set type.
– Name it "PST_Beer".
2. Select the user data type "UDT_Beer" from the project library as the data type.
The structure is created automatically based on the selected data type.
Introduction
In the following you will configure the parameter set control. The parameter sets are created and
edited in runtime via the parameter set control.
Procedure
1. Insert a parameter set control into the HMI screen "ProductCtrl".
– Open the HMI screen "ProductCtrl".
– Locate the control in the "Toolbox" task card under "Controls".
– Insert a parameter set control into the HMI screen using drag-and-drop.
Requirement
PLCSIM is installed.
Introduction
To establish the connection with PLCSIM, define the access rights for the PLC before setting up
the connection.
When you start the simulation, the PLCSIM control window opens. You can control the
simulation using the "Run" and "Stop" buttons. If you follow the explained procedure, no
operation of the control window is required.
During the procedure, deactivate functions for the protection of confidential data and
restrictions on operation. These functions are deactivated to simplify the simulation. In
the real process environment, this access must be restricted. With automation systems, the
unconditional maintenance of operational safety and the protection of life and limb are
paramount. The decisive requirement for this is maintaining the availability of the system
and thus unrestricted control over the process.
To make a final check of the procedure, establish an online connection. A more detailed
explanation is not provided in this Getting Started guide since no PLC functionality has been
created due to the absence of external tags.
Procedure
1. Open the properties of the PLC "Brewery Control".
4. Start the search for target devices and select a target device.
– Select the type of PG/PC interface "PN/IE".
– Select the connection "PN_IE_1".
– Start the search.
– Select the target device.
– Click "Load".
6. Specify that the module should be started after the download, and finish the download.
Result
The connection has been established successfully.
Basics
WinCC user management allows you to limit security-relevant operator actions to certain users.
In this way, you protect data and functions in Runtime from unauthorized access.
• Set up users and assign authorizations to these users. Configure the authorizations required
for operation of safety-related objects.
• Users must prove their identity in Runtime by entering their user name and password. The
requested action is executed provided the user has the required authorization.
When a user is assigned a role, they receive the function rights associated with it. Roles with
associated rights may look like the following for a brewing process:
3URMHFW
Subsequent addition or removal of users changes the project. Local user management is
appropriate if you create and manage only one project. For example, a single brewery.
In the case of global user management, users are managed centrally on an external
server. You create the users centrally on an external server and organize them in groups
corresponding to their later function. You do not create any users in the project. Rather, you
import the groups from the external server and assign the corresponding roles to the groups.
3HWHU 6XVDQ
%UHZPDVWHU 2SHUDWRU
6HUYHU 3URMHFW
To add users later, they are created on the external server and assigned to an existing group.
Users automatically receive the role assigned to the group in the respective project. It is not
necessary to change the project.
Introduction
In the following, you will learn how to create a local user management. You use roles
predefined in the project for this.
Basics
Process visualization is generally split between multiple screens, for example on the basis of
functional or technological aspects. Changing between screens is referred to as screen
navigation.
Basics
You use the screen window technology to implement the screen navigation. You divide the
overview screen into 3 areas using screen windows and determine which HMI screens are
displayed in the respective screen window.
6FUHHQV
%UHZHU\3URFHVV %UHZHU\2YHUYLHZ
%UHZHU\2YHUYLHZ
VZB+HDGHU
VZB1DYLJDWLRQ $ODUPV
+HDGHU
VZB&RQWHQW
3URFHVV9DOXHV
1DYLJDWLRQ
Information on the system is displayed in the screen window "sw_Content", for example the
brewing process, alarms or process values. The HMI screens that are used for navigation are
displayed in the "sw_Header" and "sw_Navigation" screen windows.
You can use the "Open Navigation" button in the HMI screen "Header" to show the HMI screen
"Navigation". Using the buttons in the HMI screen "Navigation", the operator changes the
screens in the screen window "sw_Content" in Runtime.
2SHQ 2SHQ
1DYLJDWLRQ 1DYLJDWLRQ
6HW3URSHUW\9DOXH &KDQJH6FUHHQ
Introduction
In the following you will learn how to implement the screen navigation using the screen window
concept. The following screen objects are needed for this:
Procedure
1. Add a screen window to the HMI screen "BreweryOverview" to display the "Header".
– Open the HMI screen "BreweryOverview".
– Locate the screen window in the "Toolbox" task card under "Controls".
– Place the screen window using drag-and-drop.
2. Specify that the HMI screen "Header" is displayed in the screen window.
– Click on the screen window.
– Navigate in the properties to "General".
– Link the HMI screen "Header" with the screen window.
4. Configure the screen window so that it adapts to the size of the displayed HMI screen.
– Navigate in the properties to "Format".
– Select the option "Fit window to screen".
– Specify that the screen window "sw_Navigation" is always displayed in the foreground.
– Using the mouse, position the screen window "sw_Navigation" over the other two screen
windows.
1DYLJDWLRQ
6.4 Configure the HMI screen to open the navigation window (RT
Unified)
Introduction
In the following, you configure the HMI screen "Header" which is displayed in the screen window
"sw_Header". Use the button in the HMI screen "Header" to show the screen window
"sw_Navigation" in which the operator changes the screen in the screen window "sw_Content".
Procedure
1. Create a button in the HMI screen "Header" to open the navigation window.
– Open the HMI screen "Header".
– Insert a button in the screen. Locate them in the "Toolbox" task card under "Elements".
– Label the button with "Open Navigation".
Note
Upper and lower case
Pay attention to the correct case when setting the parameters.
6.5 Configuring the HMI screen to open the process screens (RT
Unified)
Introduction
In the following, you configure the HMI screen "Navigation" which is displayed in the screen
window "sw_Navigation". Using the buttons in the HMI screen "Navigation", you change the
screen displayed in the screen window "sw_Content".
The screen window "sw_Navigation" is hidden by default and can be shown using the "Open
Navigation" button in the "Header" and hidden again using the "<" button in the HMI screen
"Navigation".
Procedure
1. Configure the button for closing the navigation window.
– Open the HMI screen "Navigation".
– Insert a button.
– Label the button with "<".
2. Insert the other buttons in the same way and label them as shown.
Efficiency tip
By dragging an HMI screen from the project tree to the opened screen, a button with the screen name
is automatically configured as the label.
3. Configure the button "<" that hides the screen window "sw_Navigation".
– Add the system function "SetPropertyValue" to the "Click left mouse button" event.
Note
Upper and lower case
Pay attention to the correct case when setting the parameters.
5. Configure the button "Brewery" which shows the brewing process in the screen window
"sw_Content".
– Add the system function "ChangeScreen" to the "Click left mouse button" event.
8. Configure the "Process Values" button in the same way as the "Brewery" button. Specify the
displayed parameters for the "ChangeScreen" system function.
9. Configure the "Alarms" button in the same way as the "Brewery" button and specify the
displayed parameters for the "ChangeScreen" system function.
10.Configure the "Production" button in the same way as the "Brewery" button and specify the
displayed parameters for the "ChangeScreen" system function.
Introduction
Employees of the "worker" user group should not be able to access the process values. To ensure
this, configure appropriate access protection for the button for calling the process values.
Procedure
1. Configure access protection for the "Process Values" button.
– Open the "Navigation" screen.
– Select the "Process Values" button.
– Navigate in the properties to "Security".
– Assign the authorization "Operate" to the button.
Basics
The environment for operating and monitoring the brewing process is called "Runtime". Runtime
runs in the browser independent of the device.
In this Getting Started, Runtime is run on the PC on which you configured it. For runtime to
be started in the browser, the user logged on to Windows must have local admin rights.
Introduction
Certificates are used to securely connect end devices to WinCC Unified Runtime. Certificates
fulfill the following tasks:
• Confirm the identity of the communication partner
• Encrypt data exchange
Operating principle
① You use the WinCC Unified Configuration tool to transfer the certificate to the clients that can
access Runtime.
② When the operator enters the URL of the Runtime server, the identity of the client is
checked using the certificate.
③ After the check, the operator authenticates themself with user name and password.
④ Communication between the Runtime server and client is encrypted using the HTTPS
protocol.
85/
Introduction
In the following you will learn how to start the simulation of the HMI device and check the correct
functioning of the configuration in Runtime.
Requirement
The simulation of the configured PLC "Brewery Control" has been started without errors.
The setting for encrypted communication has been configured or deactivated in the HMI
device under "Runtime settings".
4. Log in to Runtime.
– Use the "master_brewer" user.
– Enter the password.
– Confirm the login.
4. Configure the values of the ingredients for the parameter set "Pilsner".
– Enter the desired ingredient amounts under Value.
– Save the parameter set "Pilsner".
Congratulations!
You have created your first project with WinCC Unified and successfully tested it in Runtime.
Introduction
In the following section, the static mash tun graphic is replaced with a dynamic SVG graphic and
dynamized.
Procedure
1. Open the "BreweryProcess" screen.
Delete the screen elements for the mash tun and the heat source.
Introduction
To manage compiled projects on a Unified PC, use Runtime Manager. Unlike on Unified Comfort
Panels, multiple Runtime projects can be stored simultaneously on the Unified PC.
Requirement
• Runtime Manager is installed.
• Runtime Manager is open.
Functions
Runtime Manager provides the following functions:
• Starting, stopping, and deletion of compiled configurations on the Unified PC
• Autostart of a configuration during device start-up
• Configuration start with specific user accounts
• Display of settings for user management
• Checking the connection to the UMC server
• Certificate management
• Restoring and deleting log segments
Requirement
• At least one project has been loaded into Runtime.
• At least one project has a project type other than "Simulation".
Procedure
Enable the "Autostart" option for one of the projects that has a project type other than
"Simulation".
Note
You can select only one project for autostart at a time.
Result
The project is started automatically when the device on which Runtime is installed is booted.
See also
WinCC Unified Runtime | section "SIMATIC Runtime Manager" (https://
support.industry.siemens.com/cs/mdm/109803796?c=143848987787&lc=en-WW)
Description
Unified Collaboration refers to the exchange of data between multiple Unified systems (Unified
PC and Unified Comfort Panel) during runtime.
With Unified Collaboration, process screens of other stations can be displayed and operated in
a screen window. Thus, no double configuration effort is required.
r&
r&
8QLILHG3& 8QLILHG&RPIRUW3DQHO
To enable the data transfer, the settings for Unified Collaboration must be specified in all
systems. After the configuration, the Unified Comfort Panel is shared for access. In the Unified
PC, access to the Unified Comfort Panel is activated.
Introduction
In this Getting Started, you have configured functions at events such as "Click left mouse button",
e.g. a function that triggers a screen change in Runtime. With this configuration, you have got
to know a small part of the "scripting". WinCC Runtime Unified has a modern script environment
that supports JavaScript as the programming language.
Programming environment
The programming environment is integrated into the familiar working environment and
supports functions such as syntax highlighting:
Code snippets make programming easier by providing frequently used instruction patterns:
Concepts
Scripting supports global and local scripts:
• You program global scripts centrally in the project. You can call global scripts in local scripts,
for example, to convert measurement units.
• You can program local scripts at the respective point of use, e.g. color change at an object.
You can use predefined system functions for frequently required programming tasks, for
example to change values or to exit Runtime.
See also
Configuring the HMI screen to open the process screens (Page 151)
Configuring a pop-up window for faceplates (Page 47)
SIMATIC WinCC Unified - Tips and Tricks for Scripting
(JavaScript) (https://support.industry.siemens.com/cs/document/109758536/simatic-wincc-
unified-tips-and-tricks-for-scripting-(javascript)?dti=0&lc=en-US)