Beruflich Dokumente
Kultur Dokumente
Generating Faceplates
WinCC Comfort and WinCC Advanced
Application Description March 2013
Caution:
The functions and solutions described in this entry are mainly limited to the
realization of the automation task. In addition, please note that suitable security
measures in compliance with the applicable industrial security standards must be
taken, if your system is interconnected with other parts of the plant, the companys
network or the internet. More information can be found under entry ID 50203404.
http://support.automation.siemens.com/WW/view/en/50203404
Configuring faceplates
V1.0, Entry ID: 68014632
SIMATIC
Configuring faceplates
Configuring faceplates
V1.0, Entry ID: 68014632
Task
Solution
Basics
Configuration and
Settings
Operation of the
Application
Related Literature
History
The application examples are not binding and do not claim to be complete
regarding configuration, equipment and any eventuality. The application
examples do not represent customer-specific solutions. You are responsible for
ensuring that the described products are used correctly. These application
examples do not relieve you of your responsibility to use sound practices in
application, installation, operation and maintenance. When using these
application examples, you recognize that we will not be liable for any
damage/claims beyond the liability clause described. We reserve the right to
make changes to these application examples at any time and without prior
notice. If there are any deviations between the recommendations provided in this
application example and other Siemens publications e.g. Catalogs the
contents of the other documents have priority.
We do not accept any liability for the information contained in this document.
Any claims against us - based on whatever legal reason - resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this application example shall be excluded. Such an exclusion shall
not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (Produkthaftungsgesetz), in case of intent, gross negligence, or injury of life,
body or health, guarantee for the quality of a product, fraudulent concealment of a
deficiency or breach of a condition which goes to the root of the contract
(wesentliche Vertragspflichten). The damages for a breach of a substantial
contractual obligation are, however, limited to the foreseeable damage, typical for
the type of contract, except in the event of intent or gross negligence or injury to
life, body or health. The above provisions do not imply a change in the burden of
proof to your disadvantage.
It is not permissible to transfer or copy these application examples or excerpts
thereof without express authorization from Siemens Industry Sector.
Configuring faceplates
V1.0, Entry ID: 68014632
Preface
Preface
Objective of this application
The objective of this application is to provide you with a step by step instruction for
generating a faceplate.
Several practical examples are used for describing various application cases.
Furthermore, the benefits for you as the user are discussed and how to use those
for yourself.
Main topics of this application
The following main points are discussed in this application:
Configuration Instruction
Application examples
Valid until
Configuring faceplates
V1.0, Entry ID: 68014632
Table of Contents
Table of Contents
Warranty and Liability ................................................................................................. 4
Preface .......................................................................................................................... 5
Table of Contents ......................................................................................................... 6
1
Task ..................................................................................................................... 8
1.1
1.2
Solution............................................................................................................. 10
2.1
2.2
2.3
2.4
2.5
Basics ............................................................................................................... 15
3.1
3.2
3.3
3.4
3.5
3.5.1
3.5.2
3.6
3.7
3.8
Overview .............................................................................................. 8
Overview of the automation task .......................................................... 8
Configuring faceplates
V1.0, Entry ID: 68014632
Table of Contents
5
History............................................................................................................. 114
Configuring faceplates
V1.0, Entry ID: 68014632
1 Task
1.1 Overview
Task
1.1
Overview
Introduction
In plant and mechanical engineering in particular, the requirements for a uniform
operator control and monitoring concept are high in order to guarantee short
familiarization times or high operating security for the later operator of the plant.
A uniform operator control and monitoring concept is also important for the
maintenance of plants. This can reduce down times during failures, maintenance
works, or a plant expansion.
In serial machine construction, configured functions, such as drive on/off,
switchover automatic/manual mode etc. are frequently used. These functions
generally only need to be adjusted to the respective machine and its control tags.
Using preprogrammed objects reduces engineering times and costs.
1.2
You have different customers whose functions for controlling a pump or a drive are
identical.
Figure 1-1
Customer A
<==
Customer B
- Status display
- Switchover manual/ automatic
- Manual On / Off
- Current flow rate display
-
==>
Configuring faceplates
V1.0, Entry ID: 68014632
1 Task
1.2 Overview of the automation task
Description of the automation task
You have several customers whose plant areas have similar functions.
The plant sections consist of several drives for pumps and fans. It shall be possible
to operate each drive via one control panel.
The following functions shall be possible via the control panel.
Due to the different requirements for the HMI operator unit, it must be possible to
use HMI operator units with different display sizes.
Requirements
Automatic update of the control panels used in the project after performed
modifications or expansions.
A connection to a data block for data exchange between the control panel and
the connected PLC controller. The data block of the PLC controller has a
respective given structure.
Configuring faceplates
V1.0, Entry ID: 68014632
2 Solution
2.1 Overview of the general solution
Solution
2.1
Figure 2-1
Control panel
10
Configuring faceplates
V1.0, Entry ID: 68014632
2 Solution
2.2 General notes on the application
2.2
Advantages
Using this application offers the following advantages:
the used Comfort Panel. This document only describes the steps necessary for
this application.
how to create, for example, a network connection between operator unit and
configuration computer or PLC controller.
the installation of the SIMATIC software WinCC Comfort and STEP 7 V11.
2.3
Configuring faceplates
V1.0, Entry ID: 68014632
11
2 Solution
2.4 Hardware and software components used
2.4
Hardware components
Table 2-1
Component
Qty.
Order number
Note
CPU 317-2PN/DP
6ES7 317-2EK14-0AB0
Optional:
the PLC is used for
simulation purposes (data
exchange between control
panel and PLC).
6AV2124-0MC01-0AX0
Alternative:
see chapter 2.5.
Qty.
Order number
Note
6AV2101-0AA01-0AA5
Alternative:
WinCC Advanced V11 SP2
or higher.
WinCC Professional V11
SP2 or higher.
6ES7822-1AA01-0YA7
Optional:
For the example
configuration.
Alternative:
higher version.
Note
68014632_Faceplates_instruction_CODE_v10.zip
68014632_Faceplates_instruction_DOKU_v10_e.pdf
This document.
12
Configuring faceplates
V1.0, Entry ID: 68014632
2 Solution
2.5 Supported operator units
2.5
Runtime
Table 2-4
No
Operator unit
1.
2.
Comfort Panels
Table 2-5
No
Operator unit
1.
KP400 Comfort
2.
KTP400 Comfort
3.
KP700 Comfort
4.
TP700 Comfort
5.
KP900 Comfort
6.
TP900 Comfort
7.
KP1200 Comfort
8.
TP1200 Comfort
9.
KP1500 Comfort
10.
TP1500 Comfort
11.
TP1900 Comfort
12.
TP2200 Comfort
Panels
Table 2-6
No
Operator unit
1.
TP 277
2.
OP 277
Configuring faceplates
V1.0, Entry ID: 68014632
13
2 Solution
2.5 Supported operator units
Mobile Panels
Table 2-7
No
Operator unit
1.
Mobile Panels
2.
3.
4.
5.
Multi Panels
Table 2-8
No
14
Operator unit
1.
MP 277
2.
MP 377
Configuring faceplates
V1.0, Entry ID: 68014632
3 Basics
3.1 What is a faceplate?
Basics
The Basics chapter describes individual terms relevant for the application.
3.1
What is a faceplate?
A faceplate is a configured group of displays and operator objects. The data
exchange with the display and operator objects contained in the faceplate is
performed via an interface at the created faceplate.
The properties of the used display and operator objects are assigned to the
individual objects in the faceplate editor.
Faceplates can be managed and modified in a central library.
3.2
3.3
Tools:
Animations:
Layout:
Libraries:
Configuring faceplates
V1.0, Entry ID: 68014632
15
3 Basics
3.4 What is a faceplate?
3.4
What is a faceplate?
In this application, a picture object refers to a compilation of several individual
display and operator objects, such as IO fields and buttons, whose properties can
be edited individually. The example in this application is the control panel shown
in the figure below.
Figure 3-1
Text fields
3.5
created as a faceplate.
16
Configuring faceplates
V1.0, Entry ID: 68014632
3 Basics
3.5 Difference between a picture object and a faceplate
3.5.1
Control panel
Problem
For each of the 20 control panels you need to adjust the HMI tags for the
respective drive at the objects to which you have configured a system function.
This may easily lead to errors when selecting the tags for the individual
drives.
Configuring faceplates
V1.0, Entry ID: 68014632
17
3 Basics
3.5 Difference between a picture object and a faceplate
You have configured all control panels in the project. Your customer
subsequently requires a further button in the control panel.
You have configured all control panels in the project. Your customer
subsequently requests a further function or animation to be added.
You need to call up and adjust each of the 20 control panels individually.
Highly time consuming.
You need to call up and adjust each of the 20 control panels individually.
Highly time consuming.
Your customers use HMI operator units with different display sizes.
You need to create control panels of different sizes in order to use them for
the different display sizes. You need to adjust font and dimensions of the
individual objects. Highly time consuming.
18
Configuring faceplates
V1.0, Entry ID: 68014632
3 Basics
3.5 Difference between a picture object and a faceplate
3.5.2
Note
Figure 3-3
Instead of many individual HMI tags only one tag per drive is required in this
case. The used tag has one structure.
Due to the simple structure an error during tag assignment is less likely.
Less time is consumed.
You have configured all control panels in the project. Your customer
subsequently requires a further button in the control panel.
Configuring faceplates
V1.0, Entry ID: 68014632
You can change the used faceplate centrally and expand it by the button.
The changes are subsequently adopted for all respective faceplates. The
configuration workload is reduced.
19
3 Basics
3.5 Difference between a picture object and a faceplate
You have configured all control panels in the project. Your customer
subsequently requests a further function or animation to be added.
You can change the used faceplate centrally and expand it by the function
or animation. The changes are subsequently adopted for all respective
faceplates. The configuration workload is reduced.
Your customers use HMI operator units with different display sizes.
Setting faceplates gives you the option to label the size of text format or
layout, for example, as parameter (statical tag). Later, you can specify
the font size individually for all objects via the Interface tab (1). The
faceplate can therefore be used for different display sizes. This reduces
the configuration workload.
Figure 3-4
Note
20
Configuring faceplates
V1.0, Entry ID: 68014632
3 Basics
3.6 What is an HMI UDT user data type?
3.6
Example:
The different states of a motor can be described with 5 individual tags, for example.
Off state
On state
Fault state
Manual state
These tags (user data type elements) are summarized as a group. The
functionality is the same as familiar in STEP 7 programming, when creating a
structure in a data block.
Details for creating a user data type are described in chapter 5 and 6.
3.7
3.8
Configuring faceplates
V1.0, Entry ID: 68014632
21
4.1
4.1.1
Creating a faceplate via the pictures editor is always an option if you have already
created a completely configured picture object. You can access the already
existing picture objects.
In order to create a faceplate via the pictures editor, please proceed as follows.
22
Generate a picture and add all required objects to this picture or call up an
existing picture object.
Select all objects in the picture which you require for the faceplate.
Configuring faceplates
V1.0, Entry ID: 68014632
Figure 4-2
2
First you close the created faceplate via the Close X button (2).
Configuring faceplates
V1.0, Entry ID: 68014632
23
4.1.2
Figure 4-3
24
Configuring faceplates
V1.0, Entry ID: 68014632
In Specify device for the new type you activate the radio button
Panels / WinCC Runtime Advanced (3).
Now add all objects which you require you require to the workspace of the
picture. The procedure is the same as in the pictures editor.
Figure 4-5
2
Configuring faceplates
V1.0, Entry ID: 68014632
25
First you close the created faceplate via the Close X button (2).
4.2
Opening a faceplate
There are two options for opening a faceplate.
4.2.1
Select the Edit faceplate item from the opened context menu. The faceplate
editor for creating / editing the faceplate opens.
Figure 4-6
26
Configuring faceplates
V1.0, Entry ID: 68014632
4.2.2
In the Types folder you use the right mouse button to select the faceplate you
wish to open. A context menu opens.
Figure 4-7
Configuring faceplates
V1.0, Entry ID: 68014632
27
4.3
Faceplate status
When editing a faceplate, the following entry Name of the faceplate [in progress]
appears next to the name of the faceplate.
In the header of the faceplate editor you can also see the current status of the
opened faceplate.
The status information [in progress] shows you that the faceplate on hand was
edited and this modification has not yet been released. For this purpose, please
refer to chapter 4.3.2.
Figure 4-8
What happens with the faceplates used in the project if the respective faceplate is
currently edited?
When editing a faceplate used in the project, then the modifications performed at
this faceplate only become effective after the respective faceplate has been
explicitly released (see chapter 4.3.1).
You can, for example, interrupt editing a faceplate and save and close the
configuration. After opening the configuration, you can continue editing the
faceplate. The status of the edited faceplate is then always still [in progress].
28
Configuring faceplates
V1.0, Entry ID: 68014632
4.3.1
In the Types folder you use the right mouse button to select the faceplate you
wish to release. A context menu opens.
Figure 4-9
Example:
Using a faceplate in several pictures. Subsequently, you edit this faceplate and add
a further button. As long as you dont release the edited faceplate, the faceplates
existing in the pictures will not change. The performed modification only becomes
effective after releasing the edited faceplate. The faceplate used in the pictures
now contains the added button.
Configuring faceplates
V1.0, Entry ID: 68014632
29
4.3.2
In the Types folder you use the right mouse button to select the faceplate you
wish to restore. A context menu opens.
Figure 4-10
Example:
You perform the modifications at a faceplate. You notice that you have edited the
wrong faceplate. To restore the old status, please use the Restore faceplate
type function. The modifications are rejected. The respective faceplate in the
pictures will not be modified.
30
Configuring faceplates
V1.0, Entry ID: 68014632
4.3.3
Figure 4-11
Configuring faceplates
V1.0, Entry ID: 68014632
31
4.4
Select the desired faceplate and drag it to the HMI screen via drag&drop.
Figure 4-12
32
Configuring faceplates
V1.0, Entry ID: 68014632
4.5
Faceplate editor
The subsequent figure shows the faceplate editor in which you can create and edit
the faceplate.
In the further course of the application, the areas such as
workspace
configuration area
inspection window
Workspace
Configuration area
Inspector window
Configuring faceplates
V1.0, Entry ID: 68014632
33
4.5.1
Workspace
In the workspace area you place the objects for the faceplate as familiar from the
pictures editor. You remove the objects or add new objects into the workspace
from the Tools task card.
Figure 4-14
Tip:
After you have inserted an object, you assign a name to the object which enables
identifying the object easily. This procedure facilitates the work for the subsequent
configuration.
Example:
You have inserted a button. The system automatically assigns a name to this
button (e.g. Button_1).
Change the name e.g. from Button_1 to Button_Automatic_Mode.
In the Inspector window you change the properties of the button. In the
Properties > Property list > Miscellaneous tab you can adjust the name of the
object.
In the further course of this application you will see what this procedure is useful
for.
34
Configuring faceplates
V1.0, Entry ID: 68014632
4.5.2
Configuration area
The configuration area contains various tabs.
Details on the individual tabs are described in chapter 4.7.
Figure 4-15
Configuring faceplates
V1.0, Entry ID: 68014632
35
4.5.3
Inspector window
The properties of the selected object are displayed in the inspector window. It
corresponds to the same view as familiar from the pictures editor.
Properties, animations and events which you configure here in the faceplate at the
objects, cannot be edited in the pictures editor. As opposed to the Configuration
area (see previous chapter) where the given properties, animations and events
could be transferred to the faceplate as Parameter or be modified afterwards.
Settings in the inspector window are always advisable if you wish to assign a fixed
text, layout or function to an object.
Figure 4-16
36
Result:
The Auto text is firmly assigned to the button and cannot be changed
later on at the faceplate in the Interface tab.
Alternative:
Alternatively, you have the option to configure the name of the button in the
configuration area as static property. In the Interface tab of the faceplate
you can later on adjust the name individually. Respective details are
available in chapter 6.1.
Configuring faceplates
V1.0, Entry ID: 68014632
Alternative:
Alternatively, in the configuration area you have the option to configure the
event Press to the button.
In the Interface tab of the faceplate you can assign a system function
individually to the Press event. You are therefore not tied to a fixed
function, such as SetBit. Respective details are available in chapter 6.1.
Configuring faceplates
V1.0, Entry ID: 68014632
37
4.6
38
Configuring faceplates
V1.0, Entry ID: 68014632
4.7
4.7.1
Properties tab
Figure 4-18
3
1
Interface list 2
Configuring faceplates
V1.0, Entry ID: 68014632
39
In the Dynamizations column (2) you can see from the symbols whether the
available property has a static or a dynamic property.
symbol):
Dynamic properties (apparent from the
Values can be later assigned to the faceplate as tags or via a text or
graphics list.
symbol):
Static properties (apparent from the
Values are later assigned to the faceplate as a constant value.
Figure 4-19
2
1
40
Configuring faceplates
V1.0, Entry ID: 68014632
The figure below shows the created faceplate (in this case only an IO field), which
was called in the pictures editor.
Figure 4-21
1
2
3
In the Interface tab (1) you see the two configured properties of the faceplate. A
tag can be assigned to the dynamic (2). Only a fixed value can be assigned to the
static interface (3).
Configuring faceplates
V1.0, Entry ID: 68014632
41
1.
Action
Screens
Configuration view:
From the Contained objects list the selected properties from the Button_Auto_Mode button are
connected with the Properties in the Interface list via drag&drop (1). The data type is given
automatically.
The Properties in the Interface list were created beforehand. Respective details are available in
chapter 6.1.
42
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
The color for the Auto button can be assigned via the two configured properties via the
Interface tab.
Configuring faceplates
V1.0, Entry ID: 68014632
43
Action
Screens
Configuration view:
From the Contained objects list the selected property from the IO-Field_DisplayValue_m3/h IO
filed is connected with the Tag created in the Interface list via drag&drop. The data type must
be assigned / adjusted accordingly.
The Tag in the Interface list was created beforehand. Respective details are available in
chapter 6.1.
44
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
Configuring faceplates
V1.0, Entry ID: 68014632
45
Action
Screens
Configuration view:
From the Contained objects list, the selected properties of the four buttons are connected with
one generated Properties in the Interface list via drag&drop (1). The data type is given
automatically.
The Property in the Interface list was created beforehand. Respective details are available in
chapter 6.1.
46
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
The font for Font_Buttons can be assigned via Interface tab in Properties.
In this example: Tahoma 19px
3.
For comparison.
In this case, the font Tahoma 11px was selected.
Configuring faceplates
V1.0, Entry ID: 68014632
47
Property
symbol).
Property (apparent from the
Values are later assigned to the faceplate as a fixed value.
Tags
symbol).
Tag (apparent from the
Values can be later assigned to the faceplate as tags or via a text or
graphics list.
Figure 4-22
1a
1a
2a
2a
Adjusting a name:
If you wish to edit the name of a category, property or tag, then right-click the name
to be changed. A dialog box opens. In the dialog field, you select the option you
with to perform.
Add category (1)
In order to create a new category, click on the Add category button (1).
This function gives you the option to structure the used properties or tags
according to topics (1a). If necessary, adjust the name accordingly. The
name is displayed at the faceplate in the Interface tab.
48
In order to create a new property or tag, click on the Add property button
(2). The name is displayed at the faceplate in the Interface tab.
Tip: assign a name via which you can easily recognize the given property
or tag (2a).
Example: Instead of Button_01, rather use Button_AutoMode.
Configuring faceplates
V1.0, Entry ID: 68014632
The buttons enable you to adjust the sequence of the given categories,
properties and tags afterwards.
Name (5)
Type (6)
Note:
If you connect static values from the Contained objects list with the
Interface list via drag&drop, the data type is assigned automatically. If
you assign the Properties from the inspection window of the Interface
list, you need to specify the respective data type and adjust it to your
specification.
Configuring faceplates
V1.0, Entry ID: 68014632
49
Figure 4-23
50
Configuring faceplates
V1.0, Entry ID: 68014632
4.7.2
Events tab
Figure 4-24
3
2
Like the previous Properties tab, the Events tab contains two lists as well as a
graphic area.
Interface list 2
Configuring faceplates
V1.0, Entry ID: 68014632
51
Figure 4-25
Example:
As the event, the Press function was selected for the Button_Manual_Mode
button and assigned to the Interface list.
In the Events tab of the pictures editor a function can be assigned individually.
The function is carried out when pressing the Auto button. Please refer to the
below description of the Interface list.
52
Configuring faceplates
V1.0, Entry ID: 68014632
Figure 4-26
Configuring faceplates
V1.0, Entry ID: 68014632
53
Figure 4-27
54
Configuring faceplates
V1.0, Entry ID: 68014632
Events (1)
Copyright Siemens AG 2013 All rights reserved
Here, the name of the added events from the Contained objects list is
displayed.
The events from the Contained objects list are directly assigned to the
Interface list via drag&drop.
The name which you specify here is displayed at the faceplate in the
Events tab.
Tip: assign a name via which you can easily recognize the given property.
Example: instead of Press, rather use AutoMode_Press.
Note:
The sequence of the listed properties cannot be adjusted afterwards.
Configuring faceplates
V1.0, Entry ID: 68014632
55
56
Configuring faceplates
V1.0, Entry ID: 68014632
4.7.3
Tags tab
Figure 4-30
The Tags tab contains tags which are only available within the faceplate. The
tags are connected directly to the objects contained in the faceplate.
Note
You cannot access the tag tables contained in the project tree of your project via
the faceplate editor.
Configuring faceplates
V1.0, Entry ID: 68014632
57
4.7.4
Scripts tab
Figure 4-31
The Scripts tab contains scripts which are only available within the faceplate. In
the script you call up the system functions or program new functions, e.g. for
converting values. Programming is performed in VB script code.
Note
58
You cannot access the scripts contained in the project tree of your project via the
faceplate editor.
Configuring faceplates
V1.0, Entry ID: 68014632
4.7.5
2
1
In the Text lists tab you create text lists for the faceplate and edit them. The
created text lists are only available within the faceplate. You interconnect the text
lists of the faceplate directly to a symbolic I/O field.
The entries for the text lists are entered in the separate Text list entries window
(1).
If you do not wish to display the Text list entries window, open the window via the
arrow key (2).
Note
You cannot access the text lists contained in the project tree of your project via
the faceplate editor.
Configuring faceplates
V1.0, Entry ID: 68014632
59
4.7.6
2
Copyright Siemens AG 2013 All rights reserved
In the Graphic lists tab you create graphic lists for the faceplate when required.
These graphic lists are only available within the faceplate. You interconnect the
graphic lists of the faceplate directly to a graphic I/O field.
The entries for the graphic lists are entered in the separate Graphic list entries
window (1).
If you do not wish to display the Graphic list entries window, open the window via
the arrow key (2).
Note
60
You cannot access the graphic lists contained in the project tree of your project
via the faceplate editor.
Configuring faceplates
V1.0, Entry ID: 68014632
4.7.7
Texts tab
Figure 4-34
The Texts tab only contains texts which are used in the faceplate. For multilanguage configurations, the known functions such as Import project texts and
Export project texts are available (1). Alternatively you enter the multi-language
texts directly into the existing editor.
Note
You cannot access the text list contained in the project tree of your project via
the faceplate editor.
Configuring faceplates
V1.0, Entry ID: 68014632
61
4.7.8
Languages tab
Figure 4-35
In the Languages tab you assign the language to be available for the generated
faceplate. The languages are independent of the language selected in the project.
Using this functionality, you can also use a faceplate in projects with different
languages.
When using the faceplate, it must be ensured, that the stored languages of the
faceplate are also used in the project in which the faceplate is called.
Example:
In your project, you have selected the languages German(Germany) and
English(United States).
The faceplate was generated in the languages German(Germany) and
English(Great Britain).
When using the faceplate in the project with the languages German(Germany)
and English(United States) and selecting the language English(United States),
then no texts are displayed at the faceplate since only the language English(Great
Britain) is stored at the faceplate.
Note
62
Settings in the project languages in the faceplate editor are independent of the
project languages of the user project.
Configuring faceplates
V1.0, Entry ID: 68014632
4.8
Figure 4-36
Configuring faceplates
V1.0, Entry ID: 68014632
63
4.9
Table 4-4
No
1.
Action
Screens
Open the Libraries task card and there the Global libraries palette.
Click on the first icon. The new global library is created via this icon.
A window opens in which you specify the name (1) as well as the storage path (2) etc.. Close
the entry with the Create button.
1
2
64
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
2.
Configuring faceplates
V1.0, Entry ID: 68014632
65
Action
4.
Screens
Go back to the Global libraries palette and open the global library Libraries_Faceplate.
Select the Types folder via the right mouse button.
A context menu opens. Here you select the Insert option. The previously copied folder with
the faceplates is copied to the Types folder.
Click on the third icon. The changes saved in the library via this icon.
66
Configuring faceplates
V1.0, Entry ID: 68014632
5.1
Figure 5-1
Configuring faceplates
V1.0, Entry ID: 68014632
67
In Specify device for the new type you activate the radio button
Panels / WinCC Runtime Advanced (3).
68
Configuring faceplates
V1.0, Entry ID: 68014632
5.2
In the Types folder you use the right mouse button to select the user data
type you wish to open. A context menu opens.
Figure 5-4
Configuring faceplates
V1.0, Entry ID: 68014632
69
5.3
General information
Considerations during the generation process:
Prior to configuring a user data type, all Functions a faceplate should have
should be known. It facilitates the later assignment to the selected properties in
the faceplate. However, you can also adjust a user data type later on at any
time.
The date type in the STEP 7 programming must have the same Structure as
the created user data type.
The used Data types in the data block of the STEP 7 programming must
correspond to the data types in the user data type.
Example view between a DB with data type Struct and a user data type. The
figure illustrates the structure of both files.
Figure 5-5
Note:
Further data types of the Struct type are stored in the STEP 7 data block. These
are used for further faceplates.
70
Configuring faceplates
V1.0, Entry ID: 68014632
2
1
(1)
Here you can adjust the name of the user data type.
(2)
(3)
(4)
Here you can define special properties such as linear scaling for the
tag. The possible properties are limited in comparison with Tag table.
After all tags have been added, close the editor via the Close button X.
For the created user data type to be available in the project, it must first be
released. For this purpose, please refer to chapter 5.4.
Configuring faceplates
V1.0, Entry ID: 68014632
71
5.4
Figure 5-7
What happens with a user data type used in the project if the respective user data type is
currently edited?
When editing a user data type, then the modifications at the user data type used in
the project only become effective after the respective user data type has been
explicitly released (see chapter 5.4.1).
You can, for example, interrupt editing a user data type and save and close the
configuration. After opening the configuration, you can continue editing the user
data type. The status of the edited user data type is then always still [in progress].
72
Configuring faceplates
V1.0, Entry ID: 68014632
5.4.1
In the Types folder you use the right mouse button to select the user data
type you wish to release. A context menu opens.
Figure 5-8
Configuring faceplates
V1.0, Entry ID: 68014632
73
5.4.2
In the Types folder you use the right mouse button to select the user data
type you wish to restore. A context menu opens.
Figure 5-9
74
Configuring faceplates
V1.0, Entry ID: 68014632
6.1
Configuration examples
Using typical application examples, it is shown how to realize the described tasks
with a faceplate.
In the enclosed HMI project the subsequently created faceplates are included as
examples.
The examples are available in the Libraries task card and there in the Global
library > Faceplate_Sample_01 palette. The examples are based on one another.
Figure 6-1
Configuring faceplates
V1.0, Entry ID: 68014632
75
6.1.1
Table 6-1
No
1.
Action
Screens
Insert objects
76
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
Assigning properties
1
4
In the Interface list you assign a name for the newly created property which helps you
identify the property later on at the faceplate (1).
In this example:
Press ->
Event_Button_Off
Configuring faceplates
V1.0, Entry ID: 68014632
77
Action
Screens
78
Configuring faceplates
V1.0, Entry ID: 68014632
6.1.2
Table 6-2
No
1.
Action
Screens
Insert objects
Configuring faceplates
V1.0, Entry ID: 68014632
79
Action
Screens
Assigning properties
Select the Properties tab (1).
In the Cotained objects list you select the properties of the IO field (2).
Open the General entry from the list and mark the Process value property (3).
Via drag&drop you configure a connection between the selected Property and the Interface
list (4). Drag the mouse pointer to an existing category. (The name of the category can be
specified/modified individually and may deviate from the names used in the picture).
In this example:
IO_Field_CurrentSpeed -> Process value Properties_Faceplate
1
2
In the Interface list you assign a name for the newly created property which helps you
identify the property later on at the faceplate (1).
In this example:
Process_value ->
ProcessValue_CurrentSpeed
Select the data type from the drop-down list (2).
80
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
4.
The subsequent figure shows the created faceplate with the two IO fields (1).
In the Properties > Interface tab (2) the two created properties ProcessValue_CurrentSpeed
and ProcessValue_SpeedSettings are displayed (3).
An HMI tag can be assigned to the properties ProcessValue_CurrentSpeed and
ProcessValue_SpeedSettings via the dropdown list (4).
Note:
The name of the properties was selected so they can easily be assigned to the IO fields.
1
2
Configuring faceplates
V1.0, Entry ID: 68014632
81
6.1.3
Table 6-3
No
1.
Action
Insert objects
Screens
82
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
In the Interface list you assign a name for the newly created property which helps you
identify the property later on at the faceplate (1).
In this example:
Font ->
Font_AllObjects
The data type is given automatically (2).
The required settings for the first Object are thus completed.
Configuring faceplates
V1.0, Entry ID: 68014632
83
Action
Screens
In the Contained objects list you select the properties of the next object (1).
Open the Text entry from the list and mark the Font property (2).
Configure a connection between the selected Property and the Interface list via drag&drop.
Drag the mouse pointer to the already existing property (3).
In this example:
Button_On -> Text -> Font
Font_AllObjects
84
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
5.
Note:
The name of the tags was selected so the stored function can be easily recognized.
Configuring faceplates
V1.0, Entry ID: 68014632
85
6.1.4
Table 6-4
No
1.
Action
Insert objects
2.
Screens
Creating tags
In the Interface list of the configuration area you add a new tag and via the dropdown menu
you specify data type Bool in the Type column (1).
In this example:
Name of the property:
FaceplateVisible.
Type:
Bool.
86
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
Creating an animation
3
2
Configuring faceplates
V1.0, Entry ID: 68014632
87
Action
Screens
88
Configuring faceplates
V1.0, Entry ID: 68014632
6.1.5
Table 6-5
No
1.
Action
Insert objects
2.
Screens
Creating tags
In the Interface list of the configuration area you add two new tags and via the dropdown
menu you specify data type Bool in the Type column (1).
In this example:
Name of the property:
Status_Button_On
Status_Button_Off
Type:
Bool.
Configuring faceplates
V1.0, Entry ID: 68014632
89
Action
Screens
Creating an animation
The properties/tags from the Interface list are displayed to you via the
symbol (3).
Select the Status_Button_On tag from the list.
Selecting the tag automatically creates a connection between the property of the On button
(Button_On) in Contained objects list and the Status_Button_On tag in the Interface list.
You can see this in the graphic area (4).
Specify the area and the background color (5).
In this example:
Value 0:
gray
Value 1:
green
2
5
90
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
5.
Call up the created faceplate in a picture. Chapter 4.4 describes how to call up a faceplate.
Note:
The name of the tags was selected so the stored function can be easily recognized.
Configuring faceplates
V1.0, Entry ID: 68014632
91
6.1.6
Introduction
When using the all of the described functions from chapters 6.1.1 to 6.1.5 in one
operator station, you will notice, that the number of tags to be assigned to the
faceplate is increasing.
A user data type is used to reduce this number of assignments of tags to a
faceplate.
For the subsequent description it is helpful if you open the attached configuration
and the faceplate as a template, or recreate the described functions by means of
the existing faceplate.
Note
General information
a data block which has the same structure as the user data type.
an HMI tag for which the created user data type has been selected as Data
type. The data exchange is then performed between the PLC and the user
data type used in the faceplate.
For the configuration of a user data type it makes sense to initially create the data
block with the required structure.
You can assign respectively one data block to a user data type. However, you can
also use a data block which contains several structures and assign it to the
individual user data types.
Task (Sample_06)
A drive for a fan shall be operated and monitored via an operator station. The
following functions and status information shall be executed and evaluated.
Status information
Error state
OK state
Functions
92
Manual mode On
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
(1)
(2)
(3)
Note:
The data block can be extended at will.
Configuring faceplates
V1.0, Entry ID: 68014632
93
Action
Screens
3.
HMI_UDT_Pump
94
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
The DB10 data block displayed in the table section (1) contains the structure for three faceplates
(Link).
Add DB10.DBX0.0 as the start address for the first faceplate.
Configuring faceplates
V1.0, Entry ID: 68014632
95
Action
Screens
Insert objects
2.
96
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
In this example:
Name of the user data type
4.
HMI_UDT_Pump
The details for assigning the individual configurations are described below.
The procedure is principally the same as described previously for chapter 6.1.1 to 6.1.5 .
Configuring faceplates
V1.0, Entry ID: 68014632
97
Action
Screens
Button:
Button_Auto_Mode
Button:
Button_Manual_Mode
Button:
Button_Manual_On
Button:
Button_Manual_Off
Rectangle: Rectangle_Ready_to_use
Rectangle: Rectangle_Fault
Display:
Symbol_Pump
The procedure is described in chapter 6.1.5.
The allocation can be controlled by means of the graphic representation.
6.
Input/output field:
IO-Field_DisplayValue_m3/h
Output field:
IO-Field_PumpNo
The procedure is described in chapter 6.1.2. The assignment via drag&drop in this case occurs
directly to the respective tag at the interface.
Example: Input/output field:
IO-Field_DisplayValue_m3/h
98
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
Button:
Button_Auto_Mode
Button:
Button_Manual_Mode
Button:
Button_Manual_On
Button:
Button_Manual_Off
Button:
Button_x
The procedure is described in chapter 6.1.1.
8.
9.
The Interface list only contains the tags for the user data type and the tag for switching the
faceplate invisible.
In this example:
Property_UDT ->
02_HMI_UDT_Pump
Faceplate_Visible ->
Bool
The Connections shown in the graphic area are no more extensive in this example application.
The reference behind it should now no longer be confusing for you.
10.
Configuring faceplates
V1.0, Entry ID: 68014632
99
Action
Screens
11.
Note:
The name of the tags was selected so the stored function can be easily recognized.
100
Configuring faceplates
V1.0, Entry ID: 68014632
6.1.7
Table 6-8
No
1.
Action
Screens
Insert objects
2.
Configuring faceplates
V1.0, Entry ID: 68014632
101
Action
Screens
1
2
4
In the Interface list you assign a name for the newly created property which helps you identify the
property later on at the faceplate (1).
In this example:
Authorization ->
Security_Button
The data type is given automatically (2).
The required settings for the first button are thus completed.
102
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
In the Contained objects list you open the properties of the button (1).
Open the Security entry from the list and mark the Authorization property (2).
Configure a connection between the selected Property and the Interface list via drag&drop. Drag
the mouse pointer to the already existing Security_Button property (3).
Configuring faceplates
V1.0, Entry ID: 68014632
103
Action
Screens
6.
Note:
The name of the tags was selected so the stored function can be easily recognized.
104
Configuring faceplates
V1.0, Entry ID: 68014632
6.2
Application example
6.2.1
Example 1
In Screen_01 of the attached HMI configuration an example is listed how the
created faceplate can be integrated to a plant picture.
Task
In a ventilation system two fan drives shall be operated and monitored via the HMI
operator unit. The control elements for controlling the fan drives shall only be
visible or called on demand.
Solution
The following picture shows the used control elements (faceplates) in a plant
picture.
The used functions of the faceplates are described in detail for chapter 6.1.1 to
6.1.6 .
Clicking one of the fan symbols calls the respective control element or closes it
again.
The control element can also be closed again via the X button at the control
element.
Figure 6-2
The call of the faceplates for the Screen_01 picture is described on the following
page.
Configuring faceplates
V1.0, Entry ID: 68014632
105
Action
Screens
The Screen_02 picture consists of compiled objects from the symbol library of WinCC (TIA
Portal).
An invisible button has been placed over the each pump symbol (1).
The faceplates are currently hidden for better clarity (level 2 and level 3 are deactivated).
2.
106
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
In the Properties > Interface tab of the faceplate both tags Faceplate_Visible and
Property_UDT are displayed (1).
Assign the respective HMI tag to this tag (2).
In this example:
Faceplate_Visible ->
Faceplate_01_Visible
Property_UDT ->
DataExchange_HMI_Faceplate_01_to_PLC
2
1
4.
Invisible button
The invisible button shows or hides the faceplate next to it (1).
The InvertBit function is stored at Properties > Events > Press (2).
The Faceplate_01_Visible tag is used as the HMI tag (3). For this purpose, please refer to the
previous table section 3.
Configuring faceplates
V1.0, Entry ID: 68014632
107
Action
Screens
6.
PLC program
In this case, no STEP 7 program has been stored for the application.
For testing the functions, you can use the Watch and force table ->
Watch table_Sample_01.
The force table stores all tags for the two faceplates.
108
Configuring faceplates
V1.0, Entry ID: 68014632
6.2.2
Example 2
The Screen_02 picture contains the second example.
In the second example only one faceplate is displayed in connection with the
respective user data type.
A PLC program is stored for example 2. At the faceplate, the status information of
the button is simulated via the PLC program.
The following functions are evaluated or controlled via the FB20.
Status manual On
For the further functions of the faceplate, the respective tags are listed in the form
of a table. The respective values can be specified via this table.
The faceplate uses the functions described in chapter 6.1.
Figure 6-3
Configuring faceplates
V1.0, Entry ID: 68014632
109
7.1
Overview
The enclosed example configuration helps you get an impression of how the
faceplate can be applied.
For testing the example configuration, you can whenever necessary also use the
simulation integrated in WinCC (TIA Portal).
Action
Screens
2.
Overview screen
The Overview screen enables you to
navigate to the example application.
Press the Sample 1 or Sample 2 button.
110
Configuring faceplates
V1.0, Entry ID: 68014632
7.2
Screen Example 1
Action
Screens
Hiding faceplates
2.
Faceplate shown
In this case, an operator station has been
called. The call is performed via the
invisible button located above the fan
symbol.
Renewed actuation of the invisible button
or pressing the X button at the control
station, hides the control station again.
Configuring faceplates
V1.0, Entry ID: 68014632
111
Action
Screens
7.3
Screen Example 2
The following functions are evaluated or controlled via the PLC program.
Status manual On
For the further functions of the faceplate, the respective tags are listed in the form
of a table. The respective values or animations are specified via this table.
Table 7-3
No
1.
Action
Screens
1
2
112
Configuring faceplates
V1.0, Entry ID: 68014632
Action
Screens
3.
General overview
Configuring faceplates
V1.0, Entry ID: 68014632
113
8 Related Literature
Related Literature
Internet links
The following list is by no means complete and only provides a selection of
appropriate sources.
Table 8-1
Table 8-2
Topic
Title
\1\
Link to this
document
http://support.automation.siemens.com/WW/view/en/68014632
\2\
Siemens Industry
Online Support
\3\
FAQ
\4\
FAQ
How can you create faceplates in WinCC (TIA Portal) with user
authorizations?
http://support.automation.siemens.com/WW/view/en/57434982
\5\
Application
\6\
Application
History
Table 9-1
114
Version:
Date
V1.0
03/2013
Modifications
First version
Configuring faceplates
V1.0, Entry ID: 68014632