Professional Documents
Culture Documents
How do you create the associated (HMI)block icon for a user-created block (FB)?
Display part number
Instructions:
Overview:
Function blocks (FBs) are assigned to block icons. Block icons are in turn assigned to faceplates. The
configuration of the FBs, block icons and faceplates defines how you add the block icon to a specific
picture. You can either have the block icon added to the picture automatically during OS compilation or
add it manually after you have compiled the OS. We describe both options in this entry.
Information on the "Create/Update Block Icons..." function is available as follows:
In the PCS 7 Online Help under "Configuration Manual - Engineering System > Basic Concepts
of Engineering > Type Definition, Reusability and Central Modifiability of Engineering Data >
Application of Block Types, Faceplates and Block Icons".
In the PCS 7 Online Help under "Configuration Manual - Engineering System > Creating the
PCS 7 Configuration > Creating the Master Data Library > Adapting Blocks > Using Faceplates
and Block Icons for OS Pictures".
In the PCS 7 Online Help under "Configuration Manual - Operator Station > Configuring the OS
Data in the SIMATIC Manager > Additional Editing in the OS Configuration > Function and
Creation of Block Icons".
In the PCS 7 Online Help under "Configuration Manual - Operator Station > Configuring the OS
Data in the SIMATIC Manager > Additional Editing in the OS Configuration > Create/Update
Block Icons...".
In the PCS 7 Online Help under "Configuration Manual - Operator Station > Creating Process
Pictures - Advanced > Function and Use of Block Icons and Faceplates".
In the manual "PCS 7 - Programming Instructions for Blocks".
This documentation is available via the Start menu of an ES: "Start > SIMATIC >
Documentation > English".
Automatic generation of block icons
If you wish to create the block icons automatically in the picture, you must first create an icon in the
picture "@PCS7Typicals.PDL". This picture is the basis for the automatic creation of the block icons. If it
is not available in your project, copy the picture "@@PCS7Typicals.PDL" and change its name.
With this option the symbols required are copied from the @... picture into the relevant plant picture.
Warning!
Use of the template files "@@PCS7Typicals.PDL" and "@PCS7Typicals.PDL" differs in different
versions of PCS 7. Please also refer to the information in Entry ID 26697820.
1. Select a type (name) for the faceplate. This name will also be used in the FB and in the block
icon (in this example we use "CustomFB" for the type).
2. Create your faceplate.
3. Name your faceplate "CustomFB".
Fig. 5: FB properties
11. Compile the S7 program.
12. Make sure that you have activated the automatic generation of block icons in the Properties of
your pictures.
Description
You have created a graphics block with PCS 7 V5.x and would like to use it in PCS 7 V6. In order for
this faceplate to be able to work perfectly it has to be migrated from PCS 7 V5 to SIMATIC PCS 7 V6.
Instructions for this are available in the "Software Updates Without Using New Functions (PCS 7 V5.x to
V6.0)" manual (Entry ID: 16518653) and the "Software Updates Using New Functions (PCS 7 V5.x to
V6.0)" manual (Entry ID: 16527664).
SIMATIC PCS 7 V6 provides stock protection of the faceplates created in previous versions, which
means the functionality of faceplates created with PCS 7 V5 tools, for example, is also given in
SIMATIC PCS 7 V6. However, in these faceplates you can only use functions that are in V5.
Mixed operation of V5 faceplates and V6 faceplates is not possible. More information about this topic is
available in the "Software Updates Using New Functions (PCS 7 V5.x to V6.0)" manual (Entry
ID:16527664) in chapter 5 "Adjustments on the ES", section 5.3.23 "Special Case".
Keywords
Faceplate
Using dynamic dialog during the creation of faceplates - PCS7 V5.x
Display part number
QUESTION:
How do I use the dynamic dialog during the creation of faceplates?
ANSWER:
You would like to create a faceplate with PCS7 V5.x and use a dynamic dialog in this context. Proceed
as follows:
1. Insert the desired object into your picture and open the properties dialog of the object by
doubleclicking or via "right mousebutton > Properties" .
2. Select the property and the attribute to be dynamic. Click with the right mouse button on the
dynamic sampling symbol. [
5. Mark the object and open the dialog window linking tag connections by clicking on "right mouse
button > Linking > Tag Connections.
Enter your desired tag in the field "Replace" When using the Faceplate Designers V2.0 a point
(".") has to be set infront of the tag. If you use the Faceplate designer V1.0,
the point must notbe co-indicated.
Important:
The tag now cannot be changed arbitrariliy in the dynamic dialog. When opening the dialog window, the
following report appears.
Description
You would like to create a faceplate with SIMATIC PCS 7 using the dynamic dialog. Proceed as follows:
1. Insert the desired object into your Graphics Designer picture. Open the Properties of the object
with a double-click or via "Right-click > Properties".
2. Mark the property and the attribute to be dynamized. Now, right-click on the dynamize symbol
[PCS7_Dynamik_Dialog_0_e.gif] in the "Dynamic" column to open the Dynamic dialog.
How can you have a tag name displayed as tooltip text in OS Runtime?
Display part number
Instructions
Proceed as follows to assign a customized object the functionality described.
No. Procedure
1 In the WinCC Graphics Designer, open the picture with the customized object to be changed.
2 Open the configuration dialog of the customized object.
3 Enable the property "Tooltip Text":
In the left pane you select the "Miscellaneous" property group of which the "Tooltip text"
property is a subitem.
Select the customized object in the center pane.
In the right pane you select the "Tooltip text" enable it with a double-click.
Fig. 01
4 Close the Configuration dialog box with "OK".
5 Open the Object Properties of this customized object.
6 Configure the C action below under a suitable trigger:
char* Tagname;
Tagname=GetPropChar(lpszPictureName,"CFC(1)/2","tagname"); //Return-Type: char*
SetPropChar(lpszPictureName,"CFC(1)/2","ToolTipText",Tagname);
Bild 02
Make sure to change the parameters of the function calls to match your customized objects.
Note
A C action is activated by a trigger. The action below is executed once when the picture is
opened, so use a suitable trigger to keep the system load as low as possible. A suitable trigger is
the "Select Screen" event of the screen where the customized object is located ("Screen Object >
Miscellaneous > Select Screen").
7 Compile the C action, close the editor with "OK" and save the screen.
Note
A description of how to create your own block symbols that are incorporated automatically in process
pictures is available in Entry ID: 16514590.
Keywords
Display of bitmaps of
the faceplates linked
as icons
Designer in PCS7
V5.2 SP2
Properties and
creating the process
objects (PCS 7 V5.1)
In a user-created
faceplate, how can
you display the block
comment in addition
to the "TagName" or
use a button to switch
between TagName
and Comment?
Which template
pictures for faceplates
are used by the
Faceplate Designer
and the OS Project
Editor?
Why should you close opened faceplates for a change of user (log on/off)?
Display part number
Description:
Users often configure faceplates such that the user currently logged on is stored. For example, the user
name can be stored in the "Text" property of an object of the "Static Text" type. Depending on how a
faceplate is configured, it might happen that the stored user rights are not updated when there is a
change of user. Under certain circumstances this might mean that unauthorized switching actions are
executed or on the other hand that switching actions cannot be executed due to lack of user rights.
Remedy:
Faceplates should be closed after a change of user and then reopened.
Do not store the user currently logged on. For each operator action, always run a new direct
query of the user currently logged on.
Notes:
This behavior occurs, for example, with the Safety Matrix faceplate.
If you use the Basic Process Control option (e.g. when using PCS 7 or the OS Project Editor),
faceplates are closed by default when there is a change of user. Detailed information on this
behavior and on authorization checks is available in Entry ID 16626380.
In the case of Standard WinCC, you must manually configure faceplate administration (opening
and closing of picture windows). Automatic closing of opened picture windows upon logging
on/off can be implemented with a global script action, for example, which is run upon change of
the "@CurrentUser" tag.
The following figure shows the configuration of a C action that is run upon a change of user.
Here, the picture defined in the action is reloaded as Start picture. If the static value of the
"Display" property of possible picture windows has the value "False", then the picture windows
are closed upon change of user.
Bild 01
Alternatively, by script you can query the authorization levels configured in the WinCC User
Administrator through appropriate ODK functions. Entry ID 27068495 shows how to use the
ODK function "PWRTCheckPermission()" to query an authorization level in the script.
How does the faceplate technology work with the "Tag Prefix" property of picture windows?
Display part number
Instructions
You are using faceplate technology in your configuration. As from version V5 of WinCC you can use
the "Tag Prefix" property of picture windows.
Important
It is important that the tag prefix of a picture window corresponds to a global definition. This means that
the tag prefix of the picture window is valid for all tags that are processed in that picture window or are
changed in another way (script).
It thus follows that these tags must be part of the structure whose name you have specified as tag prefix
for the picture window.
If, for example, you declare a tag with the name "Hallo" outside the aforementioned structure and
attempt to change it in the picture window, then an attempt is made to change the tag
name"TagPrefix.Hallo". This leads to an error, because this tag does not exist.
Please also note that the tag prefix of the picture window is also valid when you agree upon another tag
prefix in the picture window.
For tags that are processed in the second definition or changed in another way (script), the following
interpretation holds:
"TagPrefix1.TagPrefix2.TagName".
Implemented in this example are dynamizations with tag links, dynamic dialog and C script. Dynamic
dialog and C script all work with a tag trigger.
The tag prefix works not only in combination with the separation point in WinCC structure tags, but also
at any point in the WinCC tag name. The tag prefix can also be used on elementary WinCC tags.
Notes on the dynamic dialog
In order to be able to work with the dynamic dialog you must implement two things:
The point must be specified with the "Tag prefix" property:
Example
"ampel13".
The dynamic dialog checks whether the tag exists. Therefore you must create a normal tagonce
again for each member tag of a structure.
Example
The structure has three members: ".red", ".yellow" and ".green". Then you must create three
tags "red", "yellow" and "green" in addition.
Advantage of this faceplate technology
You do not need to use any unnecessary C scripts. The tag trigger also ensures good performance.
Notes on changing the tag prefix
Please note that changing the tag prefix only becomes effective in a picture window when there is a
picture change in the picture window. This has been implemented in this sample project. For this please
also refer to the Online Help of the Graphics Designer under the "Tag Prefix" property attribute of the
picture window.
Download
There are compressed WinCC projects ready for downloading for the WinCC versions V5, V6 and V7,
WinCC version
Download
V5
ampelv5.zip ( 597 KB )
V6
ampelv6.zip ( 2892 KB )
V7
ampelv7.zip ( 8022 KB )
Unpack the relevant archive in a separate directory on your computer. You can then use the matching
WinCC version to open and process the project.
Note for PCS 7 users
In this regard also note the benefits of the Graphic Object Update Wizard - you can find a detailed
description in the WinCC Online Help under "Options > Options for Process Control > Graphic Object
Update Wizard". The license for the Graphic Object Update Wizard is included only in the PCS 7 OS
and cannot be ordered separately.
Note on using tags without tag prefix
From WinCC V7 you can use the @NOTP extension to use a tag outside the structure in a faceplate
with tag prefix.
Example
To display the user currently logged on in an IO field in the faceplate you enter
the@NOTP::@CurrentUser tag in the Configuration dialog.
More information on this topic is available in the manual "WinCC: Working with WinCC(02/2013) >
Dynamizing process screens > Using Tag Prefix and Server Prefix"
Display of bitmaps of the faceplates linked as icons
Display part number
QUESTION:
Why are the bitmaps of the faceplates linked as icons no longer displayed?
ANSWER:
When linking the bitmaps into faceplates displayed as icons, WinCC notes the absolute path of the
directory in which the bitmap is stored. If, for example, you copy the project onto another computer, you
must copy the bitmaps into the same path. You can determine the name of the path in which WinCC
searches for the bitmap as follows:
1. Use an ASCII editor (WordPad, NotePad) to open the image <Image_name>.PDL created by
WinCC from the WinCC project directory GraCS.
2. Search in this file for the name of the bitmap. The complete path is then given. If no path is
displayed, the bitmap is in the GraCS directory.
IMPORTANT:
Under no circumstances should you change this file with the ASCII editor.
Remedy:
You can avoid this problem by storing all the required bitmaps in the WinCC project
directory"...\GraCS" and from there link them into the faceplate.
Why are the faceplates, that were created with the Faceplate Designer, not opened on the Multi Client?
Display part number
Description:
A possible cause could be that the faceplates (views) which were created with the Faceplate Designer,
are not handed over with the Server Package to the Multi Client.
Remedy:
In order to display the faceplate, it has to be copied to the folder "GraCS" in the configuration directory
of the MultiClient .
How do you configure different block icons for a technological block in PCS 7 V6.0 and higher?
Display part number
Instructions:
In PCS 7 V6.0 and higher you can configure the selection of block icons instance-specifically in the
CFC. This makes it possible to assign different block icons to blocks in the CFC. Before PCS 7
V6.0different block icons for different instances of a block type were configured directly in the process
picture. There is information available about this in Entry ID 7779197.
Below is a description of how to proceed in PCS 7 V6.0 and higher.
1. Create a PCS 7 V6 project and create a CFC chart with a "MOTOR" (FB66) block. Open the
Properties by double-clicking on the block instance in the CFC or by right-clicking and selecting
Properties in the pop-up menu. In the "Block Icon" dialog insert the name for the block item
used from the block icon picture "@PCS7Typicals.PDL".
The different versions are differentiated via the "Type" attribute in the properties of the block
icon. Configure icon names or numbers (e.g. 1 for vertical valves and 2 for horizontal valves, or
agitator, pump etc. for motors depending on the view in the process picture).
How to configure the various block icons is described in Entry ID: 16514590.
Fig. 1: Setting the block icon in the Properties of the technological block in the CFC ( 15 KB )
2. Change the settings in the SIMATIC Manager for creating block icons. Open the Properties
dialog as shown in Fig. 02.
Fig. 4: Necessary settings in the "Wizard: Compile OS" for generating the block icons
5. The block icon is only generated correctly if a block icon with the corresponding name is found
by the wizard. Thus, make sure that all the block icons used are contained in the template files
"@@PCS7Typicals.PDL" and "@PCS7Typicals.PDL".
Warning!
Use of the template files "@@PCS7Typicals.PDL" and "@PCS7Typicals.PDL" differs in
different versions of PCS 7. Please also refer to the information in Entry ID 26697820.
Fig. 5: Setting of the names in the Properties dialog of the block icon
Using the Faceplate Designer in PCS7 V5.2 SP2
Display part number
QUESTION:
What should you watch out for after inserting the Faceplate Designers V2.0 in PCS7 version V5.2 SP2?
ANSWER:
In the scope of the further development of PCS7 the Faceplate Designer has been newly adapted and
to allow the addition of new functions and make handling easier.
Multi-instance capability (interfacing of more than one CFC block on the same faceplate; see
below)
Incorporation as wizard in the graphical picture generator interface of the Graphics Designer
User-assigned name for the faceplate type
User-specification of the number and names of the views
In addition, a library is created that already contains the block types most used in PCS7 as ready-made
faceplates. These can be easily changed if required or new types added. For this there are also new
Case 2:
The user has already created his own faceplates with Faceplate Designer V1.0.
The current software also continues to support the functions that could be called with version V1.0
until now. This means that the user can also continue to use his faceplates in the same way as before.
The interconnection of the parameters of individual tags is done in the relevant attributes as
before without a separating point.
Faceplate_Designer_V10_e.gif ( 44 KB )
Case 3:
The user has already created his own faceplates with Faceplate Designer V1.0, but in future only wants
to use the new Faceplate Designer version V2.0.
After installing the new Faceplate Designer V2.0, the system software supports both versions of
Faceplate Designer.
The user just has to pay attention to the different handling when specifying the parameters of tags
(member tags).
In version V2.0 the parameters are specified with preset point (" . ").
(This agreed notation supports the aforementioned capability of addressing multi-instances.)
Faceplate_Designer_V20_e.gif ( 36 KB )
Multi-instance capability:
The blocks to be displayed in the faceplate have to be located in one CFC chart.
At this point in the faceplate there must be specification of: block name . parameter
Correct interconnecting to the block instance name from the calling pictogram is done by using:
"FPD_OpenTypeFacePlateFromUdoMulti"
Distinguishing/identifying features in case of mixed usage (Case 3):
Since the properties of the template pictures
Version V1.0 ..._%TYPE%_...
Version V2.0 ..._%TYPE_...
transfer to the faceplates created, they can also be recognized and distinguished by comparison.
In particular, version V1.0 uses C call scripts that begin with "PCS7_..." and version V2.0 such that
begin with "FPD_...".
See here the following table:
Method
Distinguishing features
blocks
Faceplate Designer
After selecting the picture for the basic frame in the group
V1.0
@PL_<Name>.pdl
under Properties , after selecting @Faceplate, you find for
Event and Tag name call scripts that begin with
"PCS7_UpdateGroup(Loop)Tagname...".
Furthermore, in the basic frame there are two small fields
that serve as mount points for a C action for forwarding
authorizations 5 and 6.
Faceplate Designer
V2.0
6ES7658-...05-....
Description:
PCS 7 supplies graphics blocks or faceplates for use with operator-controlled blocks from the PCS 7
libraries. The faceplates are created as OCX and show you all the inputs and outputs of the block
Faceplate view
The "Faceplate" contains the specific values of the associated block, which you mostly want to have
visible in the display all the time. This might include the measured value, any operating constraints and
alarm or error signals. There is also a combi box for selecting other views of the block (boundaries with
options for shifting them, batch control etc.).
Loop view
The "Loop" shows the series of alternative views that you can open in the faceplate.
You choose the view under faceplate Properties in the "View" options box.
If you double click the faceplate while holding down the CTRL key, the faceplate appears with all its
variables (static) in runtime view.
Opening faceplates dynamically in runtime
This option uses a dynamics Wizard. By clicking on any graphic object (e.g. of a status display or static
loop), you can open a faceplate in runtime. You cannot open it by clicking a user object.
The advantage of opening a faceplate dynamically as opposed to a fixed link is that the graphic
selection times are reduced and the graphic is not overloaded with too many objects.
Proceed as follows:
1. In your graphic display select the object from which you want to open the faceplate and start the
"Select graphic at measuring point" dynamics Wizard on the "Graphic Functions" tab.
2. Set the following properties in the Wizard as you wish:
Trigger: e.g. left mouse button
Structure type: e.g. Valve
Measuring point: e.g. valve block from CFC chart "NK 111"
View: e.g. Group view
The views you can choose in the dynamics Wizard signify the following:
Loop => Operating range
The Loop view of the faceplate is inserted in the operating range. This means you can no longer shift or
minimize it. It is deselected by opening a new process display in the operating range.
Loop => Process window
The Loop view of the faceplate is inserted in the process window. This means you can shift and close it.
Group view
The faceplate view is inserted in a graphics window. Again you can shift and close it.
Keywords:
ActiveX element, View formats_
QUESTION:
In PCS 7 OS V5.1 I want to create my own process objects. It should be possible to process these
objects with the Graphic Object Update wizards and upon mouse-click they should open a faceplate that
has been created with the Faceplate Designer.
How should I proceed and what is the meaning of the Properties of the process symbols provided in the
template pictures @Template and @@PCS7Typicals?
ANSWER:
In PCS 7 OS V5.1 you want to create your own process objects that can be processed with the Graphic
Object Update wizards and upon mouse-click they should open a faceplate that has been created with
the Faceplate Designer.
The simplest way is to copy existing objects and adapt them as required. The process symbols that are
provided as templates in the pictures @Template (template picture for "Insert picture manually in picture
object") and @@PCS7Typicals (template picture for the function "Derive picture objects from the TH"),
were all configured as standard user-defined objects (UDOs). These UDOs have special properties
which are accessed both by the Graphic Object Update wizards and the function for calling a faceplate.
If you wish to create your own process pictures, then it must have the following properties so that you
can use the new features.
Properties for Graphic Object Update wizards:
Property "type"
Entered in this property is the object type, e.g. "@VALVE/1". The name of the template object is exactly
the same as the object type
e.g. "@VALVE/1" instead of "User-defined Object 7".
Add a text field to your user-defined object. From it create a property named "type". This property is the
central property for working with the Graphic Object Update wizards and must be available if you want
to work with the wizards.
Property "tag"
It is useful to add a field to the process symbols for unambiguous identification. Add a text field to your
user-defined object and create a property out of it named "tag". When exporting, if this is available, then
the text currently contained in the "Tag" column is exported as well. You can then change the existing
entries in Excel. The next time they are imported, these values are entered in the "Tag" property for the
object concerned.
Properties for calling the faceplates as OCX object or pictures created with the Faceplate Designer:
Property "Mouse-click"
To call the faceplate in the OCX or as Faceplate Designer faceplate, the
"SSMOpenFacePlate(lpszPictureName, lpszObjectName)" function is inserted. This function ensures
that the faceplate called matches the object type. Internally this function requires the information about
which structure the object is linked to and which faceplate type is to be called.
Property "Server name"
The static entry in this property provides the function mentioned above with the information about which
faceplate is to be called.
Example:
The PCS 7 CTRL_PID Control means that the picture @PG_CTRL_PID.pdl will be called. It is important
to have both "PCS7" and the control name in the server name, otherwise the
"SSMOpenFacePlate(lpszPictureName, lpszObjectName)" function cannot find the right faceplate.
The "Server name" property is derived from a simple text field in the UDO and its "Text" property.
Note:
The property "FP_stay_open" is no longer needed in version V5.1 of PCS 7.
Keywords:
Process objects, Symbols, Graphic Object Update, Wizard, Faceplate Designer
>
QUESTION:
How can a picture block view be divided into various tabs?
ANSWER:
The attached sample program shows one way of splitting the picture block view into different views.
These views can then be selected by clicking the corresponding tabs. The following example shows
three different tabs in the Parameter view:
@PG_Example_Tab_PARAMETERS3.pdl
Function:
PCS7_ChangeView_tab.fct
Copy the pictures into the GraCS directory of your WinCC projects (e.g.
C:\Test_Proj\wincproj\OS(1)\GraCS). The function in the installation directory of PCS 7 has to be copied
into the Faceplate Designer directory (e.g. C:\SIEMENS\WINCC\aplib\FaceplateDesigner). Then the
header has to be regenerated (WinCC Explorer: Global Script, right-click -> Open. In the Options menu
you trigger "Regenerate Header").
QUESTION:
Why is the view list of a user-made faceplate not shown in Runtime?
ANSWER:
There is no link between the faceplate and the associated view list.
If you create your own faceplate with the Faceplate Designer, in the first step you use the
template@PG_%Type%.PDL and change this to suit the type of picture block. In the next step the view
list
picture block. The point at which the link to the view list is made is shown in the template picture:
1. Open the template @PG_%Type%.PDL in the Graphics Designer and then the Properties
dialog of the view list.
Description:
The "Faceplate Designer Wizard" was designed to make configuring the faceplate frame easier. If
frames are created with it, then you no longer need to create them manually (as described in the Online
Help.
Important:
The wizard is not integrated in the user interface of WinCC.
Remedy:
The "FaceplateDesigner.exe" file for starting the "Faceplate Designer Wizards" is on the second PCS7
Description:
This entry applies for PCS 7 V5.1 and higher.
If you configure a motor block in the CFC, then normally you would like to visualize this on your
Operating Station. This applies for a large number of blocks. To date you had to create the associated
picture object for each CFC block manually in the Graphics Designer. The function described below
greatly simplifies this configuration.
With PCS 7 Version 5.1 and higher you can have the WinCC icons of the PCS 7 standard blocks
created automatically from a CFC chart.
The icons generated are created by mouse-click in the WinCC picture ready and complete with process
connection and faceplate call. You then have to place the icons in the correct position in the plant mimic
diagram.
You can create icons for the standard blocks below.
AF_6
MEAS_MON
RATIO_P
AF_12
MOTOR
SIPART 19
AF_24
MOT_REV
SIPART 21
AF_16S
MOT_SPED
SIMOCODE
CTRL_PID
OP_A
SIMOVERT
CTRL_S
OP_A_LIM
SIPOS3MC
DOSE
OP_A_RJC
SWIT_CNT
DIG_MON
OP_D
UNIT
ELAP_CNT
OP_D3
VAL_MOT
FMCS_PID
OP_TRIG
VALVE
INTERLOK
Fig. 01
Fig. 02
Fig. 03
You then have to define the structure of the icon header. You can choose between various
combinations of the individual name components.
Note:
The icon header is about 3 centimeters wide. Sometimes it might not be possible to display the
complete technological designation.
If there is not enough space for the display, then please select the setting "Chart/Block" or just "Chart"
or just "Block".
Before starting creation, save and close all the open editors of WinCC, because WinCC will be closed
after creation.
Fig. 04
After creation you can open the WinCC picture with a double-click.
The following figure shows the result of an example. Icons have been created for the following blocks:
MEAS_MON, MOT_REV, MOT_SPED, Motor, OP_A_LIM, OP_D, CTRL_PID, VAL_MOT and VALVE.
The icons are inserted into the picture starting on the left. If the first line is not long enough, a second
line is started again from the left.
Now you still have to place the icons and of course do an AS-OS transfer/OS compilation before starting
the WinCC Runtime. All icons have process interface and the associated faceplate is opened with a
mouse-click.
Fig. 05
Warning:
If you make changes in the CFC chart, which affect these icons, then you have to update the icons via
the TH.
Changes are:
Deleting blocks for icons
Adding blocks for icons
Renaming blocks
Renaming the CFC chart
Renaming designations in the Technological Hierarchy
Fig. 06
For creating the icons for a WinCC picture, all the CFC charts are browsed, which are in the same
hierarchy folder and (if available) in the next lowest hierarchy level. This is a system property. If you do
not need all the icons from both hierarchy levels in your WinCC picture, you can delete the icons not
required.
SSpecial case: valve icons
Since valves in plant pictures are used horizontally and vertically, the display has to be adapted
instance for instance.
The valve icons are created vertically by default.
Below a method is illustrated for the horizontal position.
The icon to be changed is marked in the Graphics Designer and the Properties dialog opened.
Fig. 07
Now double-click the property "type".
Fig. 08
In the input field that opens you must now change @Object_name/1 to @Object_name/2. For example:
old template name "@VAL_MOT/1", new template name "@VAL_MOT/2".
Fig. 09
Then save the picture and close the Graphics Designer. You must then create the block icons once
again from the TH (see above).
Since the icons are already in the picture, they are only updated and the changed template pictures are
used.
As can be seen in the following figure, the position of the valve has changed.
Fig. 10
Note:
This entry was created with PCS 7 V5.1. It is also valid for successor versions, although the appearance
of the separate dialogs might differ slightly. The procedure remains the same.
Keywords:
Faceplate call, Object adaptation, Display format
How can you create your own block icons that will be incorporated automatically in process pictures?
Display part number
Instructions:
With SIMATIC PCS 7, block icons are provided by default in the WinCC picture
"@@PCS7Typicals.PDL" and are made available to the user automatically in the project.
If you call the "Create/update block icons..." function from the SIMATIC Manager, the relevant block
icons for the technological blocks are created in the process display and are also linked automatically
with the measuring point.
The operator thus receives a visualization in the process display with status and alarm information. If
you click on the block icon, the associated faceplate (picture block) opens.
If you wish to change these block icons, create your own icons for your blocks or use the option of
having several icons for the same block type (available in SIMATIC PCS 7 V6.x; see also Entry
ID16519629), then please proceed as follows.
1. Open the WinCC picture "@@PCS7Typicals.PDL" and save it as "@PCS7Typicals.PDL". This
ensures that you don t change the original and at the same time from now on the block icons
will be used with the templates from the WinCC picture "@PCS7Typicals.PDL".
Warning!
Use of the template files "@@PCS7Typicals.PDL" and "@PCS7Typicals.PDL" differs in different
versions of PCS 7. Please also refer to the information in Entry ID 26697820.
2. In this example we will be creating and incorporating three more block icons in the MOTOR
group. The three block icons are for a agitator, pump and motor respectively.
Add three text fields to the MOTOR group each with the designation for the relevant block icon.
To simplify creating your own block icons, copy the block icon for the MOTOR "@MOTOR/1"
and reinsert this object under the first text field in the WinCC picture.
Change the name the first new object (agitator) to "@MOTOR/Agitator", for example, in "Object
Properties -> Object Name". Then mark the renamed block icon and right-click to open the
editing mode via "Customized object -> Edit".
Fig. 2: Starting the editing mode for the customized object block icon
3. In the next step you replace the motor icon with an agitator icon. Click the customized object
block icon and then right-click and select Configuration Dialog
dialog for the extended status display.
Fig. 4: Assigning basic pictures and flash pictures for the block icon
5. Now arrange all the separate objects of the block icon as required and insert other elements if
necessary. Then mark all the objects of the block icon and close the editing mode by rightclicking and then selecting "Customized object > Finish editing". Please note that all the objects
of the block icon have to be marked, otherwise the objects that are not marked will not be
components of the block icon.
Fig. 6: Changing the "type" attribute in the Object Properties dialog of the block icon
7. After editing, save the changed WinCC picture "@PCS7Typicals.PDL" and close the Graphics
Designer.
Fig. 8: Automatically created picture blocks in the process display including the linking of tags
You can download the sample SIMATIC PCS 7 V6 project created here for further processing or
practice.
SIMATIC PCS 7 OS sample object with the block icons used ( 5836 KB )
What options do you have in SIMATIC PCS 7 V6.0 SP1 and higher for generating the block symbols
for an SFC type?
Display part number
Instructions:
The block symbol templates for the SFC chart "@SFC_RTS" and the instance of an SFC type
"@SFC_TYPE" are provided in the picture "@@PCS7Typicals.pdl". For all changes, e.g. to create more
versions of the type, you must copy this picture and save it as "@PCS7Typicals.pdl". In this copy of the
picture you use copy/paste to generate another block symbol for each SFC type created.
Warning!
Use of the template files "@@PCS7Typicals.PDL" and "@PCS7Typicals.PDL" differs in different
versions of PCS 7. Please also refer to the information in Entry ID 26697820.
In this way the associated block icons for all the existing SFC charts are incorporated in the
picture automatically and the appropriate parameters are assigned. See here the Online Help of
the TH: "Automatically create/update block icons for OS pictures".
Place the block icons in the Graphics Designer and use the Dynamic Wizard to configure.
Procedure in WinCC:
1. Copy the block icon concerned from the typicals picture into your current picture.
2. Change the properties "StructureType" and "type" accordingly to the type name (not necessary
for block icons for the SFC chart).
3. Select the block icon and in the "Dynamic Wizard" window, in the "Standard Dynamics" tab you
double-click the entry "Connect picture block to tag structure".
The Dynamic Wizard opens.
4. On the "Set Options" page you click on the "..." button.
The dialog field "Variables - Project:" opens.
5. In the WinCC variables you open "List of all variables" and in the right window you select with a
double-click the relevant variable for the chart or the instance.
The dialog field closes; the variable name is entered in the Dynamic Wizard.
6. Click on "Next".
On the next page there is a display of what the wizard will now generate.
7. Click on "Finish".
Configuration of the block icon is now complete. You can now use it to call the associated
picture block in Runtime mode.
How do you use the template pictures "@PCS7Typicals*.pdl" to create block icons?
Display part number
Instructions
The task of the "Create/Update Block Icons..." function of the plant hierarchy (PH) is to incorporate the
block icons of the measuring points and blocks configured in the PH automatically in the associated
plant pictures. You then only have to move the block icons to the exact position required in the plant
picture.
Requirements for the automatic creation of the block icons
The "Create/update block icons" function is available from PCS 7 V5.1 onwards.
The process pictures in which the block icons are to be created/updated must be created in the
plant hierarchy (PH).
In the plant hierarchy you must select the picture property "Derive block icons from the plant
hierarchy".
The "Create/Update Block Icons..." function can be executed in two different ways:
Menu command "Create/update block icons"
In the "Plant View" of the SIMATIC Manager is the menu command "Options > Plant Hierarchy
> Create/Update Block Icons..." for creating block icons.
Compile OS
From PCS 7 V6.0 onwards you can execute the "Create/Update Block Icons..." function as an
option when compiling the OS.
From PCS 7 V7.0 onwards the "Create/Update Block Icons..." function is always executed when
compiling the OS. This means that the block icons are always created/updated if the relevant
changes are recognized.
Information on the "Create/Update Block Icons..." function is available as follows:
In the PCS 7 Online Help under "Configuration Manual - Engineering System > Basic Concepts
of Engineering > Type Definition, Reusability and Central Modifiability of Engineering Data >
Application of Block Types, Faceplates and Block Icons".
In the PCS 7 Online Help under "Configuration Manual - Engineering System > Creating the
PCS 7 Configuration > Creating the Master Data Library > Adapting Blocks > Using Faceplates
and Block Icons for OS Pictures".
In the PCS 7 Online Help under "Configuration Manual - Operator Station > Configuring the OS
Data in the SIMATIC Manager > Additional Editing in the OS Configuration > Function and
Creation of Block Icons".
In the PCS 7 Online Help under "Configuration Manual - Operator Station > Configuring the OS
Data in the SIMATIC Manager > Additional Editing in the OS Configuration > Create/Update
Block Icons...".
In the PCS 7 Online Help under "Configuration Manual - Operator Station > Create process
pictures - continued > Function and Implementation of Block Icons and Faceplates".
In the manual "PCS 7 - Programming Instructions for Blocks".
This documentation is available via the Start menu of an ES: "Start > SIMATIC >
From PCS 7 V6.0 onwards, in the CFC, for the "Create/update block icons" function, you can
define different block symbols for different instances of an HMI block for incorporation in the
process picture. For example, you can define in the CFC whether a valve is used horizontally or
vertically in the process picture. With regard to the template pictures "@@PCS7Typicals.pdl"
and "@PCS7Typicals.pdl", there is no difference to PCS 7 version V5.1. Previous to PCS 7
V6.0 different block icons were configured for different instances of a block type directly in the
process picture. There is information available about this in Entry ID 7779197.
From PCS 7 V6.1 onwards up to 10 different template pictures are supported for the block
icons. The names of user-specific template pictures must begin with the character string
"@PCS7Typicals". Upper/lower case lettering is irrelevant. The block icons used in the project
can be distributed in different template pictures. The following table describes among other
things the order of processing in the case of multiple template pictures.
With "Create/Update Block Icons...", the template pictures are searched with reference to the block
icons used in the PH. As soon as a suitable block icon has been found in one of the template pictures, it
is incorporated or updated in the plant picture. If the block icon is not yet available in the plant picture, it
is incorporated automatically in a free picture area, starting in the top left corner. Block icons that are
already in the plant picture are updated.
The following table describes some aspects of the "Create/Update Block Icons..." function.
No. Description
Exception
The properties "Left", "Top", "Process_controlling_backup" and
"Higher_process_controlling_backup" of the block icons have the same values after updating as
before updating! This means:
After automatic creation, you can move the block icons to the required position and
change the operation authorization properties "Process_controlling_backup" and
Warning:
This changes the existing position of the block icons in the process pictures. You then
have to move the blocks back into their correct positions in the plant picture.
3 Order of processing in the case of multiple template pictures from PCS 7 V6.1 onwards
If there are multiple template pictures available that contain the same block icons, the
"Create/Update Block Icons..." function uses the block icons of the template picture in which they
were first found. This means that the order of processing the template pictures determines which
block icons will be used. The template pictures are sorted internally by file name and processed in
reverse alphabetical order.
Special characters like "_" in the file name have a special meaning for the sorting order.
The default template picture "@@PCS7Typicals.pdl" is usually the last picture in the
processing order.
A maximum of 10 template pictures are evaluated. If there are more than 10 template
pictures, only the first 10 pictures are used according to the sorting order described. This
can lead to the situation where the default template picture "@@PCS7Typicals.pdl" or
other template pictures are not evaluated and errors occur.
You can view the currently effective order of processing the template pictures for the
"Create/Update Block Icons..." function in the "@@PCS7Typicals.csv" file in the project
path of the WinCC project of the OS concerned. This file is created when you call the
"Create/Update Block Icons..." function.
Fig. 01
You should not store the same block icons in multiple user-specific template pictures.
This will avoid the error of creating "wrong" block icons as a result of the processing
order.
User-specific template pictures should only contain block icons that are not contained or
changed in the default template picture "@@PCS7Typicals.pdl". This makes it easy to
see which block icons have been changed or used in addition to the default.
Fig. 02
Warning
If the "Create/Update Block Icons..." function is called from the "Compile OS" context, any
errors occurring with "Create/Update Block Icons..." are not displayed immediately after
compiling. It might occur that the message "Compile OS (203:300) - The compilation was
completed without errors and warnings" is displayed although errors did occur during
execution of the "Create/Update Block Icons..." function.
Fig. 03
The following table lists other entries on the topic of "Create/Update Block Icons...".
Description
How do you create the associated block icon for a user-created HMI block (FB)?
Entry
18977514
How can you create your own block icons that will be incorporated automatically in process 16514590
pictures?
This entry takes a concrete example to describe how you can change an existing block icon
(motor) or create and interconnect a new version of a block icon (agitator, pump). A
detailed description is given on how to process the block icon (change the user object).
How do you configure different block icons for a technological block from PCS 7
16519629
V6.0onwards?
Generating WinCC icons from a CFC chart from PCS 7 V5.1 onwards. This entry contains
7779197
instructions on how you can use different block icons previous to PCS 7 V6.0.
What options do you have from PCS 7 V6.0 SP1 onwards for generating the block symbols 17815848
for an SFC type?
How can you insert an additional authorization level in a standard picture block or in a user- 21571145
defined object (UDO)?
Keywords
GMP, Pharma, Life Science, Validation, FDA 21 CFR Part 11
How can you make changes to several customized objects using multiple selection?
Display part number
Instructions:
With a customized object it is only possible to change the lower-level objects through separate selection
and not through multiple selection. It is possible to change the properties/events of the customized
object itself through multiple selection and thus make the change simultaneously in several customized
objects. Select the required customized objects and then make the required change under Object
Properties > Properties > Multiple Selection > Miscellaneous.
How do I use and configure an extended status display with SIMATIC PCS 7?
Display part number
Description:
The extended status display is for standardizing the flow chart layout for process pictures. It can be
used in user objects and can be changed centrally using the "Graphics Update-Wizard". its use reduces
the script calls and therefore leads to a higher system performance. Because of the possibility of
connecting to up to four status words it ensures high adjustability to existing blocks. New blocks are
connected only to the status word "VSTATUS".
With the extended status display, you can define any states and assign basic and flash pictures to them.
As a status tag, use preferrably the tag "VSTATUS" or any other numeric tag of the PCS 7 OS tag
management. Additionally, the status tags can be combined with alarm states.
The 32 bit status word "VSTATUS" is at disposal for standard blocks with the introduction of V6.x of
SIMATIC PCS 7 and is intended for the extended status display in block symbols and picture blocks.
The configuration of the extended status display is made in two steps. In the first step, you define which
bits of the status words are relevant for the interpretation and if the collected value of the block is to be
considered in the display. For the collected value, you define the priorities of the various alarms (0 =
inactive, 1 = highest priority, 6 = low priority).
Fig 01 Properties dialog of the extended status display for SIMATIC PCS 7
When changes are made in this configuration, the index list is regenerated. This way, all configurations
that have been done so far will be lost. Information about this is displayed by a dialog window.
Fig. 3: Assignment of pictures and flash pictures to the various states and priorities.
The assignment of the basic pictures and the flash pictures is done this way:
Mark the line to which you would like to assign basic and/or flash pictures.
After that, double-click in the list of all pictures the one that you defined as basic picture. This
one will now automatically assigned as basic picture for the marked linke.
Now you double-click the picture that is to be displayed as flash picture for the marked line.
To change the basic and flash pictures, you always have to proceed in the same way.
Meaning:
S,- Malfunction go
S,+ Malfunction come
S,+Q Malfunciton come and confirmed
Fig. 4: Connection of the extended status display in the Graphics Designer of the PCS 7 OS station.
Behaviour of the report priorites in runtime:
If an event in process is confirmed, the event will go to the background independently of its priority. Low
priority events that not have been confirmed will this way be displayed prior to those with higher priority
More possibilities:
You can, for example, display the states OPEN, CLOSED, OPEN in flow direction, in flow direction TO,
in the block Valve with the tags "VSTATUS" over the bit positions 9, 10, 11, 12 with pictures made
individually and combine them with the alarm status malfunction.
Further information on the use of the extended analog display can be found in the WinCC online Help or
the manual "SIMATIC Process Control System PCS 7 Operator Station", Chapter 6.4.4 under EntryID 15229149.
Creation environment:
The pictures in this FAQ were created with PCS 7 V6.1
In a user-created faceplate, how can you display the block comment in addition to the "TagName" or
use a button to switch between TagName and Comment?
Display part number
Description:
Using a button, a text field and two small scripts it is possible to switch between the display of the
TagName and display of the Comment. If you wish to have both displayed at the same time, then no
button and only one script is needed.
Proceed as follows to assign this functionality to a user-created faceplate:
Solution A: Display Comment and TagName at the same time in the faceplate
1. In the Graphics Designer open the faceplate picture "@PG_<Name_of_faceplate>.pdl" in which
the Comment from the CFC chart is to be displayed.
2. For display of the block comment insert a text field with the name "CommentView" in the
desired position in the faceplate.
SetVisible(lpszPictureName,"CommentView",TRUE);
}
4. Compile and save the script.
5. Now using the button configured,faceplate you can toggle between the TagName display and
the Comment display.
Keywords:
Faceplate comment, Block comment, .#comment
How can you use the extended status display to show the alarm status of a measuring point in the
process picture directly on the user object?
Display part number
Instructions:
This entry applies only to the installation of a PCS 7 OS, since because the extended status display is
only available there.
Function:
The extended status display provides an option of grahically displaying alarm statuses of a measuring
point.
Fig. 01
For this you place the extended status display at an appropriate point in the user object and define the
"Group value" and "Group Relevant" properties as properties of the user object. Later you can make the
"Group Value" property dynamic with the tag "<TagPrefix>.EventState" created with "OS Compile".
Status words 1 to 4 of the extended status display are not needed for this task.
You have the abibility configure the desired graphical display for each alarm status in the form of a basic
picture and a flash picture. The extended status display is configured on the basis of the standard PCS
7 message classes and message types. You can also define priorities in the event that messages of
different types arrive at the same time.
The followig procedure describes how you can incorporate the extended status display in a user object
No. Procedure
Fig. 02
Create the graphics files for the basic and flash pictures for each alarm status.
Note:
Proceed as follows to create the graphics files:
1. Double-click the static text to display the file name.
Now the text is selected. Copy the text into the Windows clipboard.
2. Click on the graphic icon belonging to the file name.
3. Select "File > Export...". The dialog for storing a graphical object opens.
4. Paste the contents of the clipboard into the "File name" field.
5. Close the dialog by clicking the "Save" button.
6. Execute Steps 1 to 5 for creating the basic and flash pictures for each of the alarm
statuses.
Creating the extended status display for displaying the alarm status
1. Insert a WinCC object of the type "Status Display (extended)" into the picture for creating
the extended status display.
You should give the status display a meaningful name, e.g. "CV"(CollectValue).
2. Adapt the height and width of the status display to the height and width of the icons to be
used. This avoids graphical distortions.
3. Open the Configuration dialog of the extended status display. Make the following settings
in the "General" tab:
o
Under "Bit selection" you select for all the "Bit:" fields the entry "no status word".
Make sure that the "Use group value for display" option check box is checked.
Fig. 03
4. Switch to the "Assign Pictures" tab of the Configuration dialog for the extended status
display. Assign the relevant basic and flash pictures to each alarm status.
Fig. 04
5. Click "OK" to close the Configuration dialog.
Detailed information on the extended status display is available in the WinCC Online Help under
"WinCC Information System > Options > Options for Process Control > Overview of the Process
Control Options > Extended Status Display".
Fig. 05
More information:
PCS 7 measuring points generally also have the connection "Quality Code". This connection
provides information on the validity of the measuring point (e.g. OK, defective, defective and
replacement value active, simulation active). It is useful to have this information displayed in the
user object in addition to the alarm status. You can place a separate status display in the user
object for displaying the "Quality Code". In order to reduce the size of the user object, the status
display for displaying the "Quality Code" could overlap the status display for displaying the
alarm status. Only if the "Quality Code" has the value "OK" (e.g. 0x80), could the display be
hidden or transparent. In this case the status display for displaying the alarm status is visible.
The "Group Display" is used by default in PCS 7 for displaying messages on the user object.
The group display has many configuration options for adapting it to the wishes and
requirements of customers. You configure the main properties such as font color and
background color by specifying these properties directly. If the display of an alarm status is to
be changed later, all the user objects already incorporated in pictures have to be revised.
The advantage of the extended status display is that it uses centrally stored graphics files to
display the alarm statuses. If all the user objects of a project use the same status display for
displaying alarm statuses, changes can be made centrally in the graphics files without having to
revise all the process pictures.
This entry has been created with PCS 7 V6.1 SP1.
Keywords:
User-defined Object, UDO
How do you create the associated (HMI)block icon for a user-created block (FB)?
Display part number
Instructions:
Overview:
Function blocks (FBs) are assigned to block icons. Block icons are in turn assigned to faceplates. The
configuration of the FBs, block icons and faceplates defines how you add the block icon to a specific
picture. You can either have the block icon added to the picture automatically during OS compilation or
add it manually after you have compiled the OS. We describe both options in this entry.
Information on the "Create/Update Block Icons..." function is available as follows:
In the PCS 7 Online Help under "Configuration Manual - Engineering System > Basic Concepts
of Engineering > Type Definition, Reusability and Central Modifiability of Engineering Data >
Application of Block Types, Faceplates and Block Icons".
In the PCS 7 Online Help under "Configuration Manual - Engineering System > Creating the
PCS 7 Configuration > Creating the Master Data Library > Adapting Blocks > Using Faceplates
and Block Icons for OS Pictures".
In the PCS 7 Online Help under "Configuration Manual - Operator Station > Configuring the OS
Data in the SIMATIC Manager > Additional Editing in the OS Configuration > Function and
Creation of Block Icons".
In the PCS 7 Online Help under "Configuration Manual - Operator Station > Configuring the OS
Data in the SIMATIC Manager > Additional Editing in the OS Configuration > Create/Update
Block Icons...".
In the PCS 7 Online Help under "Configuration Manual - Operator Station > Creating Process
Pictures - Advanced > Function and Use of Block Icons and Faceplates".
In the manual "PCS 7 - Programming Instructions for Blocks".
This documentation is available via the Start menu of an ES: "Start > SIMATIC >
Documentation > English".
Automatic generation of block icons
If you wish to create the block icons automatically in the picture, you must first create an icon in the
picture "@PCS7Typicals.PDL". This picture is the basis for the automatic creation of the block icons. If it
is not available in your project, copy the picture "@@PCS7Typicals.PDL" and change its name.
With this option the symbols required are copied from the @... picture into the relevant plant picture.
Warning!
Use of the template files "@@PCS7Typicals.PDL" and "@PCS7Typicals.PDL" differs in different
versions of PCS 7. Please also refer to the information in Entry ID 26697820.
1. Select a type (name) for the faceplate. This name will also be used in the FB and in the block
icon (in this example we use "CustomFB" for the type).
2. Create your faceplate.
3. Name your faceplate "CustomFB".
Fig. 5: FB properties
11. Compile the S7 program.
12. Make sure that you have activated the automatic generation of block icons in the Properties of
your pictures.
Description
You have created a graphics block with PCS 7 V5.x and would like to use it in PCS 7 V6. In order for
this faceplate to be able to work perfectly it has to be migrated from PCS 7 V5 to SIMATIC PCS 7 V6.
Instructions for this are available in the "Software Updates Without Using New Functions (PCS 7 V5.x to
V6.0)" manual (Entry ID: 16518653) and the "Software Updates Using New Functions (PCS 7 V5.x to
V6.0)" manual (Entry ID: 16527664).
SIMATIC PCS 7 V6 provides stock protection of the faceplates created in previous versions, which
means the functionality of faceplates created with PCS 7 V5 tools, for example, is also given in
SIMATIC PCS 7 V6. However, in these faceplates you can only use functions that are in V5.
Mixed operation of V5 faceplates and V6 faceplates is not possible. More information about this topic is
available in the "Software Updates Using New Functions (PCS 7 V5.x to V6.0)" manual (Entry
ID:16527664) in chapter 5 "Adjustments on the ES", section 5.3.23 "Special Case".
Keywords
Faceplate
Using dynamic dialog during the creation of faceplates - PCS7 V5.x
Display part number
QUESTION:
How do I use the dynamic dialog during the creation of faceplates?
ANSWER:
You would like to create a faceplate with PCS7 V5.x and use a dynamic dialog in this context. Proceed
as follows:
1. Insert the desired object into your picture and open the properties dialog of the object by
doubleclicking or via "right mousebutton > Properties" .
2. Select the property and the attribute to be dynamic. Click with the right mouse button on the
dynamic sampling symbol. [
5. Mark the object and open the dialog window linking tag connections by clicking on "right mouse
button > Linking > Tag Connections.
Enter your desired tag in the field "Replace" When using the Faceplate Designers V2.0 a point
(".") has to be set infront of the tag. If you use the Faceplate designer V1.0,
the point must notbe co-indicated.
Important:
The tag now cannot be changed arbitrariliy in the dynamic dialog. When opening the dialog window, the
following report appears.
Description
You would like to create a faceplate with SIMATIC PCS 7 using the dynamic dialog. Proceed as follows:
1. Insert the desired object into your Graphics Designer picture. Open the Properties of the object
with a double-click or via "Right-click > Properties".
2. Mark the property and the attribute to be dynamized. Now, right-click on the dynamize symbol
How can you have a tag name displayed as tooltip text in OS Runtime?
Display part number
Instructions
Proceed as follows to assign a customized object the functionality described.
No. Procedure
1 In the WinCC Graphics Designer, open the picture with the customized object to be changed.
In the left pane you select the "Miscellaneous" property group of which the "Tooltip text"
property is a subitem.
Select the customized object in the center pane.
In the right pane you select the "Tooltip text" enable it with a double-click.
Fig. 01
4 Close the Configuration dialog box with "OK".
Bild 02
Make sure to change the parameters of the function calls to match your customized objects.
Note
A C action is activated by a trigger. The action below is executed once when the picture is
opened, so use a suitable trigger to keep the system load as low as possible. A suitable trigger is
the "Select Screen" event of the screen where the customized object is located ("Screen Object >
Miscellaneous > Select Screen").
7 Compile the C action, close the editor with "OK" and save the screen.
Note
A description of how to create your own block symbols that are incorporated automatically in process
pictures is available in Entry ID: 16514590.
Keywords
ToolTipText, Tool Tip Text, UDO, User-defined object, Customized object, Tag name
How can I create and effectively configure my own faceplates using the Faceplate Designer?
Display part number
Description
With SIMATIC PCS 7 V6.0 all the standard faceplates were converted to the Faceplate Designer
technology. Because of this the Faceplate Designer has been included as an editor in WinCC Explorer.
In the Faceplate Designer editor you create the layout of the basic masks for faceplates. Using the
editor you can define the name and views of the new faceplate. Furthermore, you select whether the
new faceplate should also contain a loop display, batch variables or group display. You can also specify
the height and width of the new faceplate here.
Configuring
1. Open the Faceplate Designer with a double-click in WinCC Explorer. In the "Type" field you
enter the name for your new faceplate.
Fig. 2: Selecting and arranging the views configured for the faceplate
With the "More..." button you can select additional views for a faceplate.
3. To finish configuring in the Faceplate Designer you select the "Generate" button to create the
How can you insert an additional authorization level in a standard faceplate or in a user-defined object
(UDO)?
Display part number
Instructions:
You have to make a number of changes to the OS configuration to add an additional authorization level.
The attached document includes detailed handling instructions.
Attachment 2: FP_User_level_script.zip ( 33 KB )
Attachment 2 includes all the WinCC scripts required.
Keywords:
@Level5, @Level6, Faceplate Designer Editor, Faceplate Designer, Faceplate Editor, Authorization,
User Administrator, Rights, Picture Object, Faceplate
How can you configure a trend display with a different size for a faceplate type?
Display part number
Instructions:
These instructions are for changing the size of the trend view for the "CTRL_PID" faceplate blocks. The
size of the trend display for other faceplate types will not be changed.
No. Procedure
Fig. 01
2
Fig. 02
3
Test your changes during Runtime. Only the size of the trend view for the faceplate type
"CTRL_PID" has been changed. The size of the other views and the size of the trend view of
other types of faceplate have not been changed.
Fig. 03
4
Warning!
The next time you run the OS project editor you should not overwrite the changed template file
"@pg_ctrl_pid_viewlist.pdl" in the project directory with any corresponding files from the Product
library (delivered). If this template is left unchecked, all changes will be lost. The template file
differences are displayed in the OS project editor. Basic Data tab, where you can deselect
overwriting. Alternatively you may store the project's changed template files in the product library.
To save the revised template to the peoduct livrary, copy the changed files into the path
"<Installation_path>\SIEMENS\WINCC\options\pdl\faceplatedesigner_V6\..." Your changes will
now be used as default.
How can you hide default faceplate views that are not required?
Display part number
Instructions:
You can make the changes to the default faceplates using the WinCC editor, Faceplate Designer.
Information on this topic is available in the manual "Process Control System PCS 7 - Programming
Instructions for Blocks", Section 2.2. These instructions show how to remove the "Batch" view from the
standard faceplate "CTRL_PID". If the "Batch" entry is to be removed from the combo box for selecting
the desired views, then the "Batch" view must also be removed from the loop display.
Fig. 01
No. Procedure
In WinCC Runtime open the faceplate from which you wish to remove a view. Open the combo
box for selecting the desired view - see Fig. 01. Note the views used and their order for the
following step.
Fig. 02
Click the "Generate" button to generate the Picture Template. Information on the picture
templates is available in section 2.7 of the manual "Process Control System PCS 7 - Block
Programming Instructions" and in Entry ID 22539815.
Important
Only generate the templates for the following two pictures "@PL_CTRL_PID.pdl" and
"@PG_CTRL_PID_VIEWLIST.pdl". When you are prompted for overwriting the pictures, only
answer "Yes" for these pictures. You should not overwrite any other picture.
Fig. 03
Fig. 04
4
The templates for the view selection and loop display have been changed.
Fig. 05
In Runtime call up the faceplate again and check the changes.
Fig. 06
5
Warning:
The next time you run the OS project editor, you should not overwrite the changed faceplate
template files in the project directory with corresponding files from the Product library, or the
changes would be lost. The differences in the template files are displayed in the OS project editor,
where you can deselect overwriting.
Fig. 07
Alternatively you can store the project's changed template files in the Product library. To do this
you copy the two changed files into the path
"<Installation_path>\SIEMENS\WINCC\options\pdl\faceplatedesigner_V6\...". Your changes will
now be used as default.
Which template pictures for faceplates are used by the Faceplate Designer and the OS Project Editor?
Display part number
Configuration Notes:
Detailed Information on this topic is available in the manual "Process Control System PCS 7 - Block
Programming Instructions", sections 2.2 and 2.7. The proper use of the Faceplate Designer and the OS
Project Editor requires an understanding of template picture. The following example uses the block type
"CT_PI to explain how to create a template picture.
Template picture
Display in Description
the
picture
window
@pg_ctrl_pid.pdl
Fig. 01
@pg_ctrl_pid_overview.pdl
Fig. 02
@pg_ctrl_pid_viewlist.pdl
View list
Fig. 03
@pg_ctrl_pid_standard.pdl
View
@pg_ctrl_pid_limits.pdl
@pg_ctrl_pid_maintenance.pdl
@pg_ctrl_pid_parameters.pdl
Fig. 04
@pcs7_alarm.pdl
View
Fig. 05
@pcs7_trend.pdl
View
Fig. 06
When a picture is selected, the C script function
"PCS7_Trend_V6()" is executed. Depending on whether
archived or online values are displayed, the relevant
picture is loaded into the "TrendPicture" picture window of
the picture "@pcs7_trend.pdl" with "WinCC Online Trend
Control". For Online Trend the picture
"@conl1_standard.pdl" is loaded and for archive data the
picture "<ServerPrefix>@CONL1_<TagName>.pdl".
Fig. 07
@pcs7_batch.pdl
View
Fig. 08
@pl_ctrl_pid.pdl
Fig. 09
How can you open more than two faceplates at the same time in PCS 7?
Display part number
Instructions:
In PCS 7 the default setting for the maximum number of opened faceplates per monitor is "2".
". You can
change this value in the "OS Project Editor".
Editor".
Information on this is available in the WinCC Online Help under "WinCC Information System > Options
> Options for Process Control > OS Project Editor > "Runtime window" tab"
tab".
Fig. 01
In the "Maximum number per monitor" field you configure the maximum number of faceplates in the
picture window that can be displayed at the same time on the monitor. When you open a faceplate and
the number of opened faceplates exceeds the number configured, one of the faceplates already open is
closed.
In the "Maximum number per module" field you configure the maximum number of faceplates that can
be displayed at the same time by the same faceplate instance in a picture window. When you open a
faceplate and the number of opened faceplates of the same instance exceeds the number configured,
one of the faceplates of that instance already open is closed.
In the "Group Display" dialog of the "Runtime window" tab you can define the position of the faceplates
and their relative movement to each other.
Fig. 02
In the fields "Position top:" and "Position left:" you specify the position of the first window in relation of
the original coordinates of the working area.
In the fields "Moved horizontally:" and "Moved vertically:" you specify the position of the window relative
to the previous window.