GettingStartedWCCUBeginnersenUS en US
GettingStartedWCCUBeginnersenUS en US
Creating a project 2
Creating tags 8
Configuring alarms/
messages 9
Configuring screens 10
User management 11
Compiling, simulating and
loading 12
Useful information 13
Keyword 14
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.
1 Welcome ................................................................................................................................................ 5
2 Creating a project .................................................................................................................................. 7
3 The Project view .................................................................................................................................. 11
4 Adding a controller .............................................................................................................................. 13
5 Adding an HMI device.......................................................................................................................... 17
6 Configuring hardware settings............................................................................................................ 23
7 Creating an HMI connection ................................................................................................................ 29
8 Creating tags ....................................................................................................................................... 33
9 Configuring alarms/messages.............................................................................................................. 41
9.1 Alarms/messages ............................................................................................................... 41
9.2 Configuring analog alarms ................................................................................................. 42
10 Configuring screens ............................................................................................................................. 47
10.1 Screens.............................................................................................................................. 47
10.2 Creating screens ................................................................................................................ 47
10.3 Configuring a start screen .................................................................................................. 50
10.4 Configuring a screen change .............................................................................................. 58
10.5 Displaying tag values in Runtime ........................................................................................ 60
10.6 Generating alarms ............................................................................................................. 67
10.7 Limit inputs ....................................................................................................................... 70
10.8 Configuring SVG graphics ................................................................................................... 76
11 User management ............................................................................................................................... 85
11.1 User management ............................................................................................................. 85
11.2 Configuring a local user management ................................................................................ 86
12 Compiling, simulating and loading ..................................................................................................... 91
12.1 Function test ..................................................................................................................... 91
12.2 Configuring encrypted transfer........................................................................................... 91
12.3 Compiling a project............................................................................................................ 96
12.4 Simulating a project ........................................................................................................... 99
12.5 Downloading the project.................................................................................................. 105
13 Useful information............................................................................................................................. 115
13.1 Changing the start screen ................................................................................................ 115
Note
When installing the various TIA Portal products, ensure you use the same versions of service
packs and updates.
In compact form, you will receive tips on the optimal use of WinCC Unified as well as
information on restrictions and free downloads.
3. Enter important information about your project in the "Create new project" area:
– Assign the project name.
– Specify a folder, e.g. C:\Project, where the project is to be stored.
– Optionally, enter the author.
– Optionally, add a comment that helps to understand the documentation of your project,
for example.
– Click the "Create" button.
Note
You can reopen a created project at any time via "Open existing project".
Project view
The Project view contains the following areas:
• Project tree
• Detail view
• Work area
• Inspector window
• Task cards
① Project tree
In the project tree, you can see your entire project arranged hierarchically. The project
tree provides you access to all components and project data. You can perform the fol‐
lowing actions in the project tree, for example:
• Add new components.
• Edit existing components.
• Query and modify the properties of existing components.
• Add folders to clearly group your project data. Note that this is not possible in every
area.
② Detail view
In the Detail view, certain contents of a selected object are displayed in the overview
window or in the project tree. Contents might be, for example, text lists or tags.
③ Work area
The work area displays the objects that you open for editing. These objects are, for
example:
• Editors and views
• Tables
④ Inspector window
The Inspector window shows additional information about a selected object or about
performed actions.
• You can view or change properties of a selected object.
• You can get information about performing actions, e.g. compiling the project.
⑤ Task cards
Depending on the edited or selected object, task cards are available for you to perform
further actions, e.g.:
• Select objects from a library or from the hardware catalog.
• Find and replace objects in the project.
• Drag pre-defined objects to the work area.
More complex task cards are divided into palettes. The functions available to you de‐
pends on the installed products.
Adding a controller
1. Double-click "Add new device" in the project tree.
Note
If you have SIMATIC controller other than the "CPU 1516-3 PN/DP" configured here, select
your device and version. It has no influence on the further configuration.
The wizard for configuring the PLC Security Settings is opened.
3. To set the protection level and protection class for the controller, follow the instructions of
the wizard. Use the "Next>>" button for this. When you have defined all settings, close the
wizard with the "Finish" button.
Note
If you have a Unified Comfort Panel other than the "MTP1000 Unified Comfort" configured
here, select your device and Runtime version. It has no influence on the further
configuration.
You can see specific information about your device in the overview.
Note
In order for the computer, the HMI device and the controller to be able to establish a connection
later, their IP addresses must be within the same network.
– In the "Internet protocol version 4 (IPv4)" area, enter the subnet mask of the one in which
your computer is also located, e.g. "255.255.255.0"
– In the "Internet protocol version 4 (IPv4)" area, enter an IP address, e.g. "192.168.1.2".
– In the "Internet protocol version 4 (IPv4)" area, enter this subnet mask of the one in which
your computer is located, e.g. "255.255.255.0"
+0,GHYLFH
+0,GHYLFH
&RQWUROOHU
The connection is created. A correctly created HMI connection between both devices is
highlighted in blue.
Each table row represents a connection to a controller with its respective properties. If you
create a connection in "Devices & networks", it is an integrated connection. The
communication parameters are automatically filled correctly.
You also create new connections via "<Add>". You have to configure the communication
parameters of these connections yourself.
Note
The name of the default tag table depends on the language in which a project was created.
Note
The name of the default tag table depends on the language in which a project was created.
3. Create a total of five HMI tags. Assign a name for each tag. Select their data type as follows:
– The "HMI_Flow", "HMI_Level" and "HMI_Pressure" tags the "Int" type. You use these tags
to cache process values that you want to use on the HMI device.
– The "HMI_SetStatus" tag is of the "Bool" type. You link this tag with a PLC tag.
– The "HMI_StartStop" tag is of the "Bool" type. You use this tag to cache the state of a
switch.
The PLC tag "tempGetStatus" is linked to the HMI tag "HMI_SetStatus". The HMI tag
"HMI_SetStatus" acts as an external tag due to the link and forwards its state to the controller.
– Click "Rename".
You insert objects from the palettes into the screens using drag-and-drop or a double-click.
The selection of objects depends on the HMI device you are currently configuring.
If you hover the mouse pointer over the object, the name of the object is displayed in a
tooltip.
You have created three buttons for the screen change in the start screen.
– Drag-and-drop the I/O field from the "Elements" palette onto the screen.
– Select "Output".
– In the Inspector window, click for the "Process value" property in the "Dynamization"
column.
– Select "Tag".
– In the Inspector window, click for the "Process value" property in the "Dynamization"
column.
– Select "Tag".
Dynamizing a slider
1. Click on the slider.
– In the Inspector panel, click "General > Scale".
– For the "Scale value - maximum" property, click the field in the "Static value" column.
– Enter the value "100".
This input causes the slider to output values up to 100.
With this setting, the maximum fill level of the lauter tank corresponds to the maximum value
of the slider.
2. Set the tag to be used for dynamization.
– Click for the "FillLevel" property in the "Dynamization" column.
– Select "Tag".
Basics
Only local user management is considered in the context of this Getting Started. You configure
the local user management in the project. You create users, define the rights of the individual
roles and assign the users their roles.
3URMHFW
WinCC allows you to restrict security-relevant operator actions to certain users. In this way,
you protect data and functions in Runtime from unauthorized access.
• You set up the users and assign roles to them.
• Each role has specific rights.
• You configure the rights required for operation on security-relevant objects.
• The users have to identify themselves by entering user name and password in Runtime.
Note
You must create at least one user in WinCC to be able to simulate your project or operate it in
Runtime.
Assigning a role
1. Click "Assigned roles."
– Assign the role "Siemens" to the user "HMI Administrator".
2. There are specific rights associated with each role. Click "Assigned rights".
– Click for "Runtime rights".
– Click for "WinCC Unified Comfort Panel".
Compiling a device
1. Right-click "HMI_1" in the project tree.
2. Select the "Compile > Hardware and software (only changes)" command in the shortcut
menu.
Requirement
• The device is compiled without error.
• WinCC Unified Runtime is installed
• The setting for encrypted transfer is configured identically in Unified Runtime and the
engineering system.
Simulating a device
1. Right-click "HMI_1" in the project tree.
2. Select the command "Compile > Start simulation" in the shortcut menu.
3. When the preparations are complete, configure the download for simulation.
– Click the symbol in front of "Runtime values".
– Disable "Keep current user administration data in runtime" during initial download for the
new user settings to take effect.
– Click the "Load" button.
6. If you get the message "Your connection is not private", click the "Advanced" button. In the
Advanced view, click the "Proceed to" button.
7. The Runtime view opens.
9. Log on to Runtime:
– Enter the user name "Siemens" and the password "Siemens1234*".
– Click the "Sign in" button.
10.You see the start screen of your project and can now test your project.
Requirement
• The device is compiled without error.
• The Unified Comfort Panel is connected to the engineering system via the X2 interface with
the highest bandwidth.
You can find detailed information on commissioning a Unified Comfort Panel in the operating
instructions. This can be found at the Siemens Industry Online Support (SIOS) website under
Entry ID 109810754. (https://support.industry.siemens.com/cs/ww/en/view/109810754)
• The same IP addresses are configured in the engineering system and on the panel.
• The setting for encrypted transfer is configured identically in Unified Runtime and the
engineering system.
2. Click the "PN-X2" button and scroll down to the "IP address" area.
– Select "Specify an IP address".
– Enter the "192.168.1.2" for the "IP address".
– Enter the value "255.255.255.0" for "Subnet mask".
– Click "Set IP address".
4. Click "Service and Commissioning > Transfer" in the control panel of the HMI device.
– Click "Transfer".
3. If there is no connection to the HMI device yet, the "Extended download to device" dialog
opens.
– Select the type of PG/PC interface to "Ethernet".
– Select "Configured IP address".
– Click "Connect".
– Click "Load".
4. When the preparations are complete, configure the load to the device.
– Click the symbol in front of "Runtime values".
– Disable "Keep current user administration data in runtime" during initial download for the
new user settings to take effect.
– Click the "Load" button.
The project is transferred to the HMI device If errors or warnings occur during the transfer,
corresponding alarms are displayed under "Info > Load" in the Inspector window. After the
successful transfer, the message "Loading complete (Error: 0; Warnings: 0)"
is displayed.
5. Protect the device from unintentional transfer.
– Open "Service and Commissioning > Transfer" in the control panel of the HMI device.
– Disable "Enable Transfer".
4. Select all the languages you want to add as project languages, for example, Polish.
The "ToggleLanguage" system function does not require any further parameters. It toggles
through the Runtime languages according to the sequence defined in the Runtime settings.