SCADA Study Material
SCADA Study Material
SCADA Study Material
How to open and close WinCC software and the WinCC Explorer.
The structure of the WinCC Explorer.
Message Archiving.
CHAPTER-I
with Autostart
You can start WinCC only once on a computer. If you attempt to open the WinCC Explorer
when it is already open, this will be prevented without an error message. You can continue to
work normally in the open WinCC Explorer.
You can create a shortcut for the "WinCCExplorer.exe" file. You then place this shortcut on
the desktop of the computer.
With the "Exit" menu command in the WinCC Explorer menu bar
With the "Shut Down" menu command in the WinCC Explorer menu bar
Note:
After starting, WinCC always opens the last project that was open before you exited. If the
project was activated when you exited WinCC, it will be opened in runtime again.
Option
WinCC Action
Exiting Windows
When you exit Windows or log off the current user, WinCC closes completely.
C Action in the Activated Project
You can, for example, configure a button in the project with which you can exit Windows. To
do this, you use the "Exit WinCC" or "Exit WinCC or Windows" dynamic wizards.
The user interface of the WinCC Explorer consists of the following elements:
Title bar
Menu bar
Toolbar
Status bar
The following tables provide brief information on the commands in the menu bar. The
"Online Help (Chapter)" column indicates the relevant chapters in the WinCC Information
System that contain more detailed information.
"File" Menu
The "File" menu includes the following commands:
Command
Key
Function
Combination
New
Open
Close
---
Activate
---
Print Project
--Documentation
Documentation of
Configuration and
Runtime Data > Project
Documentation
View Project
--Documentation
Documentation of
Configuration and
Runtime Data > Project
Documentation
Project
--Documentation
Setup
Documentation of
Configuration and
Runtime Data > Project
Documentation
Recent File
---
Exit
<ALT+F4>
Shut Down
---
"Edit" Menu
The "Edit" menu includes the following commands:
Command
Key
Function
Combination
Undo
---
Cut
Copy
---
Paste
---
Delete
<DEL>
---
Characteristics ---
"View" Menu
The "View" menu includes the following commands:
Command Key
Function
Combination
Toolbars
Large
Symbols
---
---
Small
Symbols
---
---
List
---
---
Details
---
Refresh
<F5>
---
---
"Tools" Menu
The "Tools" menu includes the following commands:
Command
Key
Function
Combination
Language
---
Status of
Driver
---
Communication
Diagnostics > Channel
Connections
Status of
--Server
Connections
Diagnostics
Displays the current status of all
involved servers and clients of a
multi-user system at the WinCC
client and the WinCC server of a
server-server communication,
respectively.
"Help" Menu
The "Help" menu includes the following commands:
Command Key
Function
Combination
Contents <F1>
and Index
---
Direct
Help
---
About
WinCC
Explorer
---
---
The toolbar in the WinCC Explorer contains buttons with the following functions:
Icon Tooltip
Meaning
New
Open
Opens a project.
Deactivate
Exits runtime.
Activate
Cut
Copy
Paste
Large Symbols Elements in the data window are displayed as large symbols.
Small Symbols Elements in the data window are displayed as small symbols.
List
Details
Activates the direct help for an element you then left click.
For further information on the commands, refer to the section "Menu Bar".
Status
Object(s)
CAPS
NUM
SCRL
Types of Project
Introduction
There are three types of project available in WinCC:
Single-user project
Multi-user project
Client project
Single-User Project
Introduction
If you only want to work with one computer in a WinCC project, create a single-user project.
The WinCC project runs on one computer that functions as the server for processing the data
and as an operator input station. Other computers cannot access the project.
Principle
The computer on which you create the single-user project is configured as a server.
The computer is connected to the programmable controller via the process communication.
Redundancy
You can also create a single-user project as a redundant system. In this case, you configure a
single-user project with a second redundant server.
Archive Server
You can also create an archive server for a single-user project. In this case, you configure a
single-user project and a second server on which the data of the single-user project is
archived.
Multi-User Project
Introduction
If you only want to work with several computers in a WinCC project, create a multi-user
project.
For a multi-user system, there are two basic options:
Principle
You create a multi-user project on the server. The server is connected to the programmable
controller via the process communication.
In the multi-user project, you configure the clients that access the server. In a second step,
you create the required client projects on the relevant computers.
If you want to work with several servers, duplicate the multi-user project on the second
server. Adapt the duplicated project accordingly. You can also create a second multi-user
project on the second server that is independent of the project on the first server.
A server can also access another server in the role of client. You can use this option, for
example, when you use an archive server or a file server.
Client Project
Introduction
If you create a multi-user project, you must then create the clients that access the server. You
create a client program on the computer that will be used as a client.
For a WinCC client, there are two basic options:
An archive server or a file server can also access another server in the role of client.
Note:
The WinCC client replaces the clients and multi-clients that were used in WinCC up to
version V5.1. Depending on the configuration, a WinCC client takes over the role of a V5.1
client or a V5.1 multi-client.
Principle
You create a multi-user project on the server. The server is connected to the programmable
controller via the process communication. In the multi-user project, you create the clients that
access the server.
If you configure a multi-user system with only one server, you do not create a separate client
project on the WinCC client.
If you configure a multi-user system with several servers, you must create a separate client
project on each client. This also applies when you only want to access one server but require
additional configuration data on the client.
Multi-User System with One or More Servers
To access more than one server, you create a client project on the client. You specify the
project properties on the WinCC client.
On the server, you create packages using the Serverdata component. The packages contain all
the important configuration data of the multi-user project. You load the packages on the
WinCC client.
You only need to create and compile the packages once manually. If the configuration data on
a server is modified, WinCC automatically generates the required packages. The packages
can be downloaded to the clients automatically or manually.
Central Server Configuration for a Multi-User System with One Server
If you want to configure a client that accesses only one server, specify all the settings in the
multi-user system on the server. When you edit the startup list of the client, you should only
start applications that are actually required on the client.
You do not create a separate project on the client. You start the server project using remote
access. You will find more detailed information in the WinCC Information System under
"Configurations" > "Multi-User Systems".
Web Client
You can configure a client that accesses the server over the intranet or over the Internet. If
you require this type of access, you create a Web client with the WinCC Web Navigator
option.
If required, enter the name of the configuration engineer, the project version, and a
comment
You can specify the computer properties and the settings for runtime immediately after
creating the project or during configuration. For more detailed information, referred to the
sections "Specifying Computer Properties" and "Settings for Runtime"
Procedure
Procedure
Click on the
button in the WinCC Explorer toolbar.
1 The "WinCC Explorer" dialog box opens.
4
In the "Drive" list box under "Project Path", select the drive on which you want to create the
project folder.
5 In the "Folder" list box under "Project Path", select the path in which you want to create the
project folder.
6 Confirm with "Create".
WinCC creates a project with the required name and opens the project in the WinCC
Explorer.
7 Click on the project name in the navigation window of the WinCC Explorer and select the
"Properties" command in the Pop-up menu.
The "Project Properties" dialog opens.
8 In the General tab, you go to the name of the configuration engineer, a project version, and
a comment. Change the project type with the "Type" list box.
9 Click on the "OK" button to close the dialog.
Alternative Procedure
You can create a new project in the following ways:
Procedure
1 Click on the "Computer" component in the navigation window of the WinCC
Explorer.
WinCC displays the list of computers in the data window.
Select the required computer and select the "Properties" command in the context2 sensitive menu.
The "Computer Properties" dialog opens.
3 Check whether the correct computer is entered in the "Computer Name" input box.
You will find the computer name in the Windows Control Panel under "System" on
the Network Identification (Windows 2000) or Computer Name (Windows XP) tab.
If you create a multi-user project, the "Computer Type" indicates whether the
4 computer is configured as a server or as a client.
If you have already created other computers in the project, these will be displayed in
the "Names of Clients" or "Names of Server" box. The labeling of the box depends on
whether you are displaying the computer properties of a server or of a client.
5 Click on the "OK" button to close the dialog.
Changing the Computer Name
You can change the computer name in a project. Before WinCC accepts the modified
computer name, you must close and reopen the project.
Note:
If the field "Computer Name" does not contain the proper computer name, Graphics Designer
will open a picture in the English configuration language, regardless of the language settings.
You may reset the desired language in Graphics Designer.
Activating a Project
Introduction
If you wish to operate and observe a process , you must activate the respective project.
WinCC starts runtime and activates communication with the programmable controller. All
process data is stored in the runtime databases.
This section explains
Note:
When you start WinCC or open a project, holding down the keys <CTRL + SHIFT> prevents
WinCC from activating runtime at the same time.
When starting WinCC, if you hold down the keys <ALT + SHIFT>, you prevent WinCC
opening a project at the same time. This also prevents runtime being started at the same time.
Procedure
1 Click on the "Computer" component in the navigation window of the WinCC Explorer.
WinCC displays the list of computers in the data window.
Select the required computer and select the "Properties" command in the context2 sensitive menu.
The "Computer Properties" dialog opens.
4 Activate the applications to loaded when runtime starts in the "Start sequence of WinCC
runtime" list box.
The activated modules are indicated by a check mark in front of the entry in the list. With
the "Edit" button, you can open a dialog in which you can enter start parameters for an
application.
If you want to open additional programs or tasks when you start runtime, click on the
5 "Add" button.
The "Add Application" dialog opens.
6 Enter the required application and the full path in the "Application" input box. You can
locate the file using the "Browse" button.
If required, select the start parameters, the working folder for the application, and the
7 window properties.
Confirm with "OK".
The added application is entered in the "Additional Tasks/Applications" box. With the
"Remove" button, you can delete an application from the startup list.
8 Select an application and click on the "Up" and "Down" buttons. This is how you specify
the order in which the applications are started. The list of additional applications is read
out from top to bottom.
9 Click on the "OK" button to close the dialog.
When you start runtime, you activate your project. All configured processes are started and
run if the status of the system permits. You can also activate your project on a test system.
You may receive error messages, however, it processes cannot run as intended on the test
system.
Principle
You can start Runtime in several ways:
Requirements
Note:
On project activating, free memory space of at least 100 MByte must be available.
Procedure
Procedure
1 Open the required project in the WinCC Explorer.
2
Click on the
The "Activate DATABASENAME" dialog opens. WinCC displays the applications that will
be started. The "WinCC Runtime" window opens with the settings you selected in the
"Computer Properties" dialog.
Note:
During start of WinCC or during opening of a project, holding down the key combination
<Shift+Ctrl> prevents that WinCC activates the project immediately.
When starting WinCC, if you hold down the keys <SHIFT + ALT>, you prevent WinCC
opening a project immediately. This also prevents runtime being started at the same time.
Alternative Procedures
button.
In the menu bar, you can start runtime in the "File" menu with the "Activate Runtime"
command.
Note:
You cannot exit Runtime from Graphics Designer. Exit runtime in WinCC Explorer.
Procedure
Procedure
1 Change to the WinCC Explorer.
2
Click on the
The "Deactivate DATABASENAME" dialog opens. WinCC displays the applications that
will be exited. The "WinCC Runtime" window closes.
Alternative Procedure
Note:
After starting, WinCC always opens the last project that was open before you exited. If the
project was activated when you exited WinCC, it will be opened in runtime again.
Project Status
Configuration Data
Runtime Data
Project closed
Project in Runtime
Note:
It is advisable to make backups of a project at regular intervals while you are creating the
configuration. This allows you to go back to an earlier version of the project and continue
from there.
If you modify a project later, you should also make a backup on completion of each change.
If necessary, you can then revert to the original version without having to edit the project
again.
Principle
Select the project you want to copy in the Project Duplicator.
Specify the folder where you want the copied project to be created. In the description below,
this is called the target folder.
The target folder can be on the same computer or on a computer in the network for which
you have access rights. The project folder is created in the target folder. When you copy it,
you can change the name of the project. The project folder is created with the project name.
You can only copy the entire project and the entire folder structure. You cannot exclude any
data or folders from the copy operation.
After, the project has been duplicated, you can open and edit or activate it immediately. If
you copy the project to another computer, you must, however, adapt the computer name in
the project.
Note:
If the "Duplicate" or "Save As ..." options of the Project Duplicator are used, the same
WinCC version must be installed on the destination computer.
Copying to a Storage Medium
You cannot copy a project directly to a data medium. If you want to copy a project for
archiving on an external data medium such as a CD-ROM, copy the project to a local folder.
You then copy this folder to the data medium.
If you compress the project data before copying, for example in a ZIP archive, you require
less space on the data medium. This also prevents each individual file becoming read-only
after copying to a CD-ROM.
Requirements
If only configuration data are copied, the project may be opened and remain
activated. Another project may remain open on the source computer and may run in
Runtime.
You have created the target folder.
The target computer has enough free space on the hard disk.
Procedure
Procedure
In the Windows Start menu, select "Simatic" then > "WinCC" > then "Tools" and finally the
1 "Project Duplicator" command. The WinCC Project Duplicator opens.
Enter the project you want to duplicate in the "Select the source project that is to be
2 duplicated" box. You can enter the folder path and the project file <PROJECT>.MCP
directly or browse for them with the
button.
Click on the "Save As..." button. The "Save as a WinCC Project" dialog opens.
3
4 Select the folder to which you want to copy your project and enter the name of the project
in the "File name" box.
If you want to copy the project and give it a new name, enter the new name here. The
project files are renamed accordingly when the project is copied.
5 Click on the "Save" button.
The "Copying..." dialog opens. When copying, the Project Duplicator displays the files and
folders with a progress bar. With the "Cancel" button, you can stop the copying.
6 Close the Project Duplicator with the "Close" button.
7 If you have copied the project to another computer, the original computer name is still
entered in the project properties. Correct the computer name in the project properties when
you open the project the first time. The modified computer name is adopted after you close
Alternative Procedure
You can also copy a project in the Simatic Manager using the "Load Target System" function.
For more detailed information, refer to the WinCC Information System under "Working with
WinCC" > "Integration of WinCC in the SIMATIC Manager"
CHAPTER-II
Tag Management
Introduction
Tag Management administers the tags and communication drivers used in the project. You
will find Tag Management in the navigation window of WinCC Explorer.
Usage
Tags with values supplied by the process are referred to as process or external tags in WinCC.
In the case of process tags, Tag Management determines the communication driver by means
of which WinCC is connected to the automation system and how the exchange of data is
taking place. The associated tags are created in the directory structure of this communication
driver.
Tags not supplied with values by the process, known as the "internal tags", are created in the
"Internal Tags" directory.
To provide a better overview, you can arrange the tags in Tag Management in groups.
Creating tags in Tag Management leads to a directory structure in which you can navigate in
a manner similar to Windows directories.
Configuration of Tag Management
Navigation window
You will find Tag Management in the navigation window of WinCC Explorer.
Internal tags and associated tag groups will be found in the "Internal Tags" directory.
WinCC creates a new directory in Tag Management for each communication driver that is set
up. Under the communication driver you will find a channel unit, its connections and
associated tag groups and process tags.
Tag Management uses the following icons:
Icon
Meaning
Tag Management
Internal Tags
Communication drivers
Channel Unit
Connection
Tag Group
Tag
Structure type
Data window
The data window of WinCC Explorer shows you the contents of the directory you selected in
the navigation window.
Tooltip
In Runtime you can view the status information on connections and tags as a tooltip. To view
it, move the mouse pointer in the data window to the connection or tag you want.
The tooltip contains the following information:
Menu bar
At "Edit" you can cut, copy, paste and delete tags and tag groups. At "Edit" > "Properties"
you can view the properties of the selected tag, the communication driver, the channel unit or
connection.
At "View" you can modify the way in which objects are presented in the data window and
update the display.
Toolbar
For tags and tag groups you can use the "Cut", "Copy", "Paste" and "Properties" buttons.
You can modify the display in the data window by means of the "Large Icons", "Small
Icons", "List" and "Details" buttons.
Status bar
The status bar can display the following information, regardless of the operated object:
Find
In Tag Management you can open the search function from the shortcut menu.
You can search for tags, tag groups, connections, channel units and communication drivers.
Tags
Introduction
Data are passed on in a WinCC project by means of tags. A tag has a data address and a
symbolic name, which is used in the project. The data address is used in communication with
the automation system.
WinCC works with two kinds of tags:
Process tags
Internal Tags
Tag groups
Structure types
Name conventions
When naming tags, you must respect certain conventions:
Tag names must be unique throughout the project. When tags are created, WinCC
does not distinguish between upper and lower case characters in a name.
Tag names must not be longer than 128 characters. In the case of structure tags, this
limit applies to the whole expression "structure tag name + dot + structure tag
element name".
You must not use certain characters in tag names. You will find the characters you
must not include in a name in the WinCC Information System at "Working with
projects" > "Authorized characters"
Note:
You must not create tags whose name starts with an '@'. Tags with an @ prefix are created
only by WinCC and PCS 7.
Note:
Remember that WinCC distinguishes between upper and lower case characters in a
configuration. If you change upper and lower case characters in a tag name, you must adapt
your configuration accordingly.
Updating tags
In the case of process tags, the current tag values are transferred over the communication
connection between WinCC and the connected automation systems in Runtime. In this
instance, WinCC accesses the data area on the automation system that is defined in the tag
properties. The current value of the process tag is made available by WinCC in Tag
Management after it has been transferred for further processing and evaluation. Conversely,
WinCC can also write data back to the automation system.
In WinCC you set the frequency of data transfer and of updating in the display. Remember
while you are configuring that periodic updating of tags results in severe loading of the
system and can have an adverse effect on performance.
Importing tags
You can also create tags external to WinCC and import them into your project.
For example, you can establish a connection to the WinCC configuration tool for your project
and create the tags with the help of the configuration tool in an Excel table. You assign
certain properties to these tags in the table. WinCC can use the configuration tool to read in
the data and then automatically creates the tags with the specified properties.
Process Tags
Definition
You use process tags for communication between WinCC and the automation system.
The properties of process tags depend on the communication driver being used. Therefore,
create process tags in Tag Management also under a specific communication driver, its
channel unit and its connections.
You can set the following properties for process tags:
Name
Data type
Adapt format
Limit values
Start value
Replacement value
Scaling
Note:
Process tags are also referred to "external tags" on the system.
Binary tag
Signed 8-bit value
Note:
The process tags required for the "System Info" channel need no licenses. Thus, the tags are
not entered in the license count.
Internal Tags
Definition
Internal tags are not connected to the process.
You use Internal tags to manage data within a project or to transfer data to an archive.
You can set the following properties for internal tags:
Name
Data type
Limit values
Start value
Text reference
Binary tag
System tags
WinCC applications create tags required for internal administration of the project. The names
of these tags begin with an "@" character. You cannot delete or rename these tags. You can
evaluate, but not change, the value of the tag.
Exceptions to this rule are tags created with the "Redundancy" option. They can be set by
means of scripts, for example:
@RM_MASTER
@RM_MASTER_NAME
Note:
You must not create tags whose name starts with an '@'. Tags with an @ prefix are created
only by WinCC and PCS 7.
Designation Definition
Displayed in...
Structure
type
Component "Structure
Types"
Structure
element
Structure
instance
Principle
You define a certain tag structure when you create a structure type.
You create a structure type in WinCC Explorer. You create a structure element for each tag.
You assign the properites to a structure element which the tag created by that should possess.
When creating a tag, assign a created structure type as data type. The structure types are
displayed in the "Data Type" selection window according to standard data types. WinCC
creates a structure instance under the associated structure type and the structure tags in Tag
Management. The created structure tags are defined by the structure elements of this type.
In the same structue type, you can define structure elements for internal tags and process
tags. When a structure instance is created under the connection of a communication driver,
the process tags defined in the structure type are created under the connection. The internal
tags, however, are created in Tag Management at "Internal tags".
Modifying structure types
If you have created a structure instance with a structure type, you can no longer modify the
properties of this structure type. You must first delete the structure instance. In doing so, you
also delete all associated structure tags. After that you can change the properties of the
structure type and the structure elemets and regenerate a structue instance.
You can modify the properties of structure instances and structure tags later. If you rename
the structure instance, then rename the associated tags at the same time.
Usage
If a certain tag configuration occurs several times in your system, use structure types. In this
instance, for example, several temperature controllers can be involved that are always set up
according to the same principle.
Consider which tags you require for the temperature controller.
Then create a TEMPERATURE structure type in which each tag is represented by a structure
element, for example ELEMENT_1, ELEMENT_2, ELEMENT_3. Each time you create a
new structure instance with this structure type, WinCC automatically generates all structure
tags for the corresponding temperature regulator.
You use the created structure tags when, for example, you configure pictures which you
would like to integrate by means of picture windows.
Structure types in picture windows
You configure a picture, TEMP_REGLER.PDL, for the temperature regulator. You do not
connect the objects in the picture with tags but with structure elements.
To do this, you have to enter the name manually, since you cannot directly enter elements by
means of a dialog box. Alternatively, you can connect structure tags you have created and
delete the first part of the name, which is determined by the structure instance. You link e.g.
the structure tags of the structure REGLER_A. In the tag name displayed, e.g.
REGLER_A.ELEMENT_1, delete the REGLER_A and the linking point in the input field.
Configure a picture window and integrate the picture TEMP_REGLER.PDL. Open the object
properties of the picture window. Accept one of the created structure instances with a dot
behind the name, such as "CONTROLLER_A.", as the tag prefix.
Configure a second picture window with the picture TEMP_REGLER.PDL and the next
structure instance, e.g. REGLER_B, as tag prefix, e.g. "REGLER_B.".
In Runtime, WinCC composes the names of the required structure tags from the following
elements:
Then the first picture window displays the state of regulator A and the second picture window
the state of regulator B.
Name conventions
When naming, you must respect certain conventions:
Note:
Tag names must be unique throughout the project. When tags are created, WinCC
does not distinguish between upper and lower case characters in a name.
Tag names must not be longer than 128 characters. In the case of structure tags, this
limit applies to the whole expression "structure tag name + dot + structure tag
element name".
There are certain characters which you cannot use in the names of structure types,
structre elements and structure tags. You will find the characters you must not include
in a name in the WinCC Information System at "Working with projects" > "Nonauthorized characters"
You must not create tags whose name starts with an '@'. Tags with an @ prefix are created
only by WinCC and PCS 7.
Note:
Remember that WinCC distinguishes between upper and lower case characters in a
configuration. If you change upper and lower case characters in a tag name, you must adapt
your configuration accordingly.
Tag groups
Definition
You can sort your tags into tag groups in Tag Management.
You create a tag group as a directory at "Internal tags" or at the connection of a channel unit.
Subgroups are not possible.
Usage
When creating a large number of tags in your project, you can combine them in groups
according to subject.
You can create, for example, a tag group for every picture in your project. You create the tags
you use in one of your pictures in the appropriate group.
In this way WinCC makes it easier for you to assign and retrieve tags.
Name conventions
The names of tag groups must be unique in the whole project. You must use a name
simultaneously for tags and tag groups. When tags and tag groups are created, WinCC does
not distinguish between upper and lower case characters in a name.
You must not use certain characters in the names of tag groups. You will find the characters
you must not include in a name in the WinCC Information System at "Working with projects"
> "Non-authorized characters"
Note:
Remember that WinCC distinguishes between upper and lower case characters in a
configuration. If you change upper and lower case characters in a tag name, you must adapt
your configuration accordingly.
In Graphics Designer you can view the tag selection dialog box continuously. Call the option
"View" > "Toolbars..." on the menu bar. Select the check box next to the "Tags" entry.
In the Global Script editor, open the tag selection dialog box by choosing "Edit" > "Tag
Browser".
In the tag selection dialog box, you can view either all tags in the project or navigate in the
directory structure. You select a highlighted tag by clicking "OK".
Store the tag above an attribute in the "Object Properties" dialog box, Properties tab. This
ensures that this attribute is dynamized by the tag.
The attribute having to be dynamized is fixed in the case of objects having a simplified
configuration dialog box. The table shows the objects and the dynamized attribute:
Object
Attribute
I/O field
Output value
Bar graph
Status display
Current status
Text list
Output value
Check box
Selected boxes
Option box
Selected boxes
Slider object
Filter
Using the filter function, you can reduce the selected number of tags or symbols so as to
search more efficiently.
When searching, you can use the placeholders "*" and "?". You can only use alphanumeric
characters when searching for names. WinCC saves the last 20 search criteria you entered.
Example
The following internal tags have been created in WinCC, for example: "var1"; "var2"; "var3";
"smv2" and "apm1". As a search criterion, enter "a*" and exit the filter function with the
<Tab> key. WinCC then shows all the tags whose name starts with "a". In this case, the tag
'apm1' in the 'List of all Tags' folder.
Note:
The search operation in the tag selection dialog box can take some time when there is a large
number of tags. Searching lasts about one minute with 15,000 tags.
It is sensible to arrive at a preselection in the tag selection dialog box by means of the filter.
Data source
This function is available when you are working with WinCC integrated in STEP 7.
In this box you can select the data source from which you would like to attach a tag.
"WinCC Tags" as data source
WinCC display all configured internal tags and process tags. You can create new tags by
means of the "Create a New Tag" function. You can edit existing WinCC tags with the "Edit
Tag" function.
Note:
In certain situations the tag selection dialog box sets a filter to the data type of the tag.
'ES Tags' as data source
WinCC displays all PCS 7 process tags. PCS7 process tags are all operable and visible CFC
and SFC modules which were configured in the PCS 7 Engineering System. "CFC" stands
for "Continuous Function Chart". "SFC" stands for "Sequential Function Chart". You can
update the attributes of the display tag by operating the "Update ES Tags" button. This is
necessary only when an attribute is modified in the PCS 7 Engineering System while the tag
selection dialog box is open. Attributes are items such as name, type or comment relating to a
process tag.
Further information on this is available in the Chapter "Integration in the SIMATIC
Manager" and in the "Process Control System PCS7 Operator Station" configuration manual.
"Update ES Tags" button
The
button is available to you after selecting the "ES tags" data source.
You can use this button to update the CFC/SFC connections. CFC/SFC stands for
"Continuous Function Chart/Sequential Function Chart". When you extend STEP 7
connections, you can update the corresponding engineering station with this function.
"STEP7 Symbols" as data source
WinCC displays all the inputs, outputs, and bit memories in the STEP 7 symbol list and all
the global data blocks. The symbol lists and the data blocks are created in SIMATIC
Manager. In this case, data blocks themselves cannot be mapped. Only the parameters of the
prevailing data block displayed in the data window can be mapped.
"Transfer Data" button
The
button is available to you after selecting the "STEP 7 Symbols" data source.
The "Transfer Data" function is used by WinCC to apply the selected symbols or parameters
of data blocks to the WinCC database.
Tag types
Introduction
When you create a tag, you assign one of the possible data types to the tag.
This data type depends on the type of data for which you would like to use the tag.
Note:
If you modify the data type of an existing process tag, the previously defined tag address is
deleted. This reason for this is that the PLC address changes when the data type is modified.
Adapt format
The data type of a tag in WinCC can differ from the data type used in the automation system.
You can then set that WinCC converts the data type of a tag for transfer to the automation
system.
Text reference
Binary tag
Structure types
Text reference
Definition
With tags having the "Text reference" data type, you refer to an entry in the WinCC Text
Library. You can only configure text references as internal tags.
You use text references, for example, when you want to display different blocks of text
alternately. You assign the corresponding text ID of the entry in the Text Library to the tag.
Creating a text reference
You create a tag with the "Text reference" data type as an internal tag.
In the "Tag Properties" dialog box, select the "Start value" check box on the Limits/Reporting
tab. Enter the text ID from the Text Library as the start value.
Note:
In a multi-user system, WinCC uses for text output the language of the computer on which
the text reference was created.
Adapt format
Type conversion does not take place for the "Text reference" data type.
Binary tag
Definition
The "Binary tag" data type corresponds to a bit. A binary tag can assume the values TRUE or
"0" and FALSE or "1".
The binary tag is stored as a byte on the system.
Note:
Some communication drivers cannot transfer single bits. The use of binary tags can result in
degraded performance with these communication drivers. Take note of the help for the
different communication drivers in the WinCC Information System at "Communication".
BIT
The "Binary tag" data type is also referred to as "Bit".
Adapt format
Type conversion does not take place for the "Binary tag" data type.
Char/Signed Byte
The "Signed 8-bit value" data type is also referred to as "Char" or "Signed byte".
Adapt format
If you create a new tag with the "Signed 8-bit value" data type, the "Type Conversion" box
will display the "CharToSignedByte" by default. The range of numbers is -128 to +127.
The following type conversions are possible for the "Signed 8-bit value" data type:
Adapt format
Number range
CharToSignedByte
-128 to +127
(no conversion)
CharToUnsignedByte
0 to 127
CharToUnsignedWord
0 to 127
CharToUnsignedDword
0 to 127
CharToSignedWord
-128 to +127
CharToSignedDword
-128 to +127
CharToMSBByte
-128 to +127
CharToMSBWord
-128 to +127
CharToMSBDword
-128 to +127
CharToBCDByte
0 to 99
CharToBCDWord
0 to 127
CharToBCDDword
0 to 127
CharToSignedBCDByte
-9 to +9
CharToSignedBCDWord
-128 to +127
CharToSignedBCDDword
-128 to +127
CharToExtSignedBCDByte
-79 to +79
CharToExtSignedBCDWord
-128 to +127
CharToExtSignedBCDDword
-128 to +127
CharToAikenByte
0 to 99
CharToAikenWord
0 to 127
CharToAikenDword
0 to 127
CharToSignedAikenByte
-9 to +9
CharToSignedAikenWord
-128 to +127
CharToSignedAikenDword
-128 to +127
CharToExcessByte
0 to 99
CharToExcessWord
0 to 127
CharToExcessDword
0 to 127
CharToSignedExcessByte
-9 to +9
CharToSignedExcessWord
-128 to +127
CharToSignedExcessDword
-128 to +127
Adapt format
Number range
ByteToUnsignedByte
0 to 255
(no conversion)
ByteToUnsignedWord
0 to 255
ByteToUnsignedDword
0 to 255
ByteToSignedByte
0 to 127
ByteToSignedWord
0 to 255
ByteToSignedDword
0 to 255
ByteToBCDByte
0 to 99
ByteToBCDWord
0 to 255
ByteToBCDDword
0 to 255
ByteToAikenByte
0 to 99
ByteToAikenWord
0 to 255
ByteToAikenDword
0 to 255
ByteToExcessByte
0 to 99
ByteToExcessWord
0 to 255
ByteToExcessDword
0 to 255
The following type conversions are possible for the "Signed 16-bit value" data type:
Adapt format
Number range
ShortToSignedWord
-32768 to +32767
(no conversion)
ShortToUnsignedByte
0 to 255
ShortToUnsignedWord
0 to 32767
ShortToUnsignedDword
0 to 32767
ShortToSignedByte
-128 to +127
ShortToSignedDword
-32768 to +32767
ShortToMSBByte
-127 to +127
ShortToMSBWord
-32767 to +32767
ShortToMSBDword
-32768 to +32767
ShortToBCDByte
0 to 99
ShortToBCDWord
0 to 9999
ShortToBCDDword
0 to 32767
ShortToSignedBCDByte
-9 to +9
ShortToSignedBCDWord
-999 to +999
ShortToSignedBCDDword
-32768 to +32767
ShortToExtSignedBCDByte
-79 to +79
ShortToExtSignedBCDWord
-7999 to +7999
ShortToExtSignedBCDDword
-32768 to +32767
ShortToAikenByte
0 to 99
ShortToAikenWord
0 to 9999
ShortToAikenDword
0 to 32767
ShortToSignedAikenByte
-9 to +9
ShortToSignedAikenWord
-999 to +999
ShortToSignedAikenDword
-32768 to +32767
ShortToExcessByte
0 to 99
ShortToExcessWord
0 to 9999
ShortToExcessDword
0 to 32767
ShortToSignedExcessByte
-9 to +9
ShortToSignedExcessWord
-999 to +999
ShortToSignedExcessDword
-32768 to +32767
Adapt format
Number range
WordToUnsignedWord
0 to 65535
(no conversion)
WordToUnsignedByte
0 to 255
WordToUnsignedDword
0 to 65535
WordToSignedByte
0 to 127
WordToSignedWord
0 to 32767
WordToSignedDword
0 to 65535
WordToBCDByte
0 to 99
WordToBCDWord
0 to 9999
WordToBCDDword
0 to 65535
WordToAikenByte
0 to 99
WordToAikenWord
0 to 9999
WordToAikenDword
0 to 65535
WordToExcessByte
0 to 99
WordToExcessWord
0 to 9999
WordToExcessDword
0 to 65535
WordToSimaticCounter
0 to 999
WordToSimaticBCDCounter
0 to 999
The following type conversions are possible for the "Signed 32-bit value" data type:
Adapt format
Number range
LongToSignedDword
-2147483647 to +2147483647
(no conversion)
LongToUnsignedByte
0 to 255
LongToUnsignedWord
0 to 65535
LongToUnsignedDword
0 to 2147483647
LongToSignedByte
-128 to +127
LongToSignedWord
-32768 to +32767
LongToMSBByte
-127 to +127
LongToMSBWord
-32767 to +32767
LongToMSBDword
-2147483647 to +2147483647
LongToBCDByte
0 to 99
LongToBCDWord
0 to 9999
LongToBCDDword
0 to 99999999
LongToSignedBCDByte
-9 to +9
LongToSignedBCDWord
-999 to +999
LongToSignedBCDDword
-9999999 to +9999999
LongToExtSignedBCDByte
-79..+79
LongToExtSignedBCDWord
-7999 to +7999
LongToExtSignedBCDDword
-79999999 to +79999999
LongToAikenByte
0 to 99
LongToAikenWord
0 to 9999
LongToAikenDword
0 to 99999999
LongToSignedAikenByte
-9 to +9
LongToSignedAikenWord
-999 to +999
LongToSignedAikenDword
-9999999 to +9999999
LongToExcessByte
0 to 99
LongToExcessWord
0 to 9999
LongToExcessDword
0 to 99999999
LongToSignedExcessByte
-9 to +9
LongToSignedExcessWord
-999 to +999
LongToSignedExcessDword
-9999999 to +9999999
LongToSimaticTimer
10 to 9990000
LongToSimaticBCDTimer
10 to 9990000
If you create a new tag with the "Unsigned 32-bit value" data type, the "Type Conversion"
box will display the "DwordToUnsignedDword" by default. The range of numbers is 0 to
4294967295.
The following type conversions are possible for the "Unsigned 32-bit value" data type:
Adapt format
Number range
DwordToUnsignedDword
0 to 4294967295
(no conversion)
DwordToUnsignedByte
0 to 255
DwordToUnsignedWord
0 to 65535
DwordToSignedByte
0 to 127
DwordToSignedWord
0 to 32767
DwordToSignedDword
0 to 2147483647
DwordToBCDByte
0 to 99
DwordToBCDWord
0 to 9999
DwordToBCDDword
0 to 99999999
DwordToAikenByte
0 to 99
DwordToAikenWord
0 to 9999
DwordToAikenDword
0 to 99999999
DwordToExcessByte
0 to 99
DwordToExcessWord
0 to 9999
DwordToExcessDword
0 to 99999999
DwordToSimaticTimer
10 to 9990000
DwordToSimaticBCDTimer
10 to 9990000
FLOAT
The "Floating-point number 32-bit IEEE 754" data tape is also referred to as "Float".
Adapt format
If you create a new tag with the "Floating-point number 32-bit IEEE 754" data type, the
"Type Conversion" box will display the "FloatToFloat" by default. The number range is +3.402823e+38.
Note:
For every "FloatTo...Dword" type conversion, only the first seven places are considered. The
Float data type only allows seven digits. If you have an S7 connection, the range of numbers
for the "FloatToFloat" type conversion is +-3.402823e+38.
The following type conversions are possible for the "Floating-point number 32-bit IEEE 754"
data type:
Adapt format
Number range
FloatToFloat
+-3.402823e+38
(no conversion)
FloatToUnsignedByte
0 to 255
FloatToUnsignedWord
0 to 65535
FloatToUnsignedDword
0 to 4.294967e+09
FloatToSignedByte
-128 to +127
FloatToSignedWord
-32768 to +32767
FloatToSignedDword
-2.147483e+09 to +2.147483e+09
FloatToDouble
+-3.402823e+38
FloatToMSBByte
-127 to +127
FloatToMSBWord
-32767 to +32767
FloatToMSBDword
-2.147483e+09 to +2.147483e+09
FloatToBCDByte
0 to 99
FloatToBCDWord
0 to 9999
FloatToBCDDword
0 to 9.999999e+07
FloatToSignedBCDByte
-9 to +9
FloatToSignedBCDWord
-999 to +999
FloatToSignedBCDDword
-9999999 to +9999999
FloatToExtSignedBCDByte
-79 to +79
FloatToExtSignedBCDWord
-7999 to +7999
FloatToExtSignedBCDDword
-7.999999e+07 to +7.999999e+07
FloatToAikenByte
0 to 99
FloatToAikenWord
0 to 9999
FloatToAikenDword
0 to 9,999999e+07
FloatToSignedAikenByte
-9 to +9
FloatToSignedAikenWord
-999 to +999
FloatToSignedAikenDword
-9999999 to +9999999
FloatToExcessByte
0 to 99
FloatToExcessWord
0 to 9999
FloatToExcessDword
0 to 9.999999e+07
FloatToSignedExcessByte
-9 to +9
FloatToSignedExcessWord
-999 to +999
FloatToSignedExcessDword
-9999999 to +9999999
FloatToS5Timer
10 to 9990000
FloatToS5Float
+-1.701411e+38
FloatToSimaticTimer
10 to 9990000
FloatToSimaticBCDTimer
10 to 9990000
Adapt format
Number range
DoubleToDouble
+-1.79769313486231e+308
(no conversion)
DoubleToUnsignedByte
0 to 255
DoubleToUnsignedWord
0 to 65535
DoubleToUnsignedDword
0 to 4294967295
DoubleToSignedByte
-128 to +127
DoubleToSignedWord
-32768 to +32767
DoubleToSignedDword
-2147483647 to +2147483647
DoubleToFloat
+-3.402823e+38
DoubleToMSBByte
-127 to +127
DoubleToMSBWord
-32767 to +32767
DoubleToMSBDword
-2147483647 to +2147483647
DoubleToBCDByte
0 to 99
DoubleToBCDWord
0 to 9999
DoubleToBCDDword
0 to 99999999
DoubleToSignedBCDByte
-9 to +9
DoubleToSignedBCDWord
-999 to +999
DoubleToSignedBCDDword
-9999999 to +9999999
DoubleToExtSignedBCDByte
-79 to +79
DoubleToExtSignedBCDWord
-7999 to +7999
DoubleToExtSignedBCDDword
-79999999 to +79999999
DoubleToAikenByte
0 to 99
DoubleToAikenWord
0 to 9999
DoubleToAikenDword
0 to 99999999
DoubleToSignedAikenByte
-9 to +9
DoubleToSignedAikenWord
-999 to +999
DoubleToSignedAikenDword
-9999999 to +9999999
DoubleToExcessByte
0 to 99
DoubleToExcessWord
0 to 9999
DoubleToExcessDword
0 to 99999999
DoubleToSignedExcessByte
-9 to +9
DoubleToSignedExcessWord
-999 to +999
DoubleToSignedExcessDword
-9999999 to +9999999
DoubleToS5Timer
10 to 9990000
DoubleToS5Float
+-1.701411e+38
DoubleToSimaticTimer
10 to 9990000
DoubleToSimaticBCDTimer
10 to 9990000
Text tag 8-bit character set and Text tag 16-bit character set
Definition
Text tags are distinguished by the character set that has to be displayed:
With the "Text tag 8-bit character set" data type, each of the characters that has to be
displayed in this tag is one byte long. With the 8-bit character set, the ASCII character
set can be displayed for example.
With the "Text tag 16-bit character set" data type, each of the characters that has to be
displayed in this tag is two bytes long. You require a tag of this type to display the
Unicode character set, for example.
There is no type conversion for the "Text tag 8-bit character set" and "Text tag 16-bit
character set" data types.
"Alarm Logging": For data exchange with the message blocks on the automation
system with message and acknowledgement processing of the message system.
"Global Script": In scripts for data exchange using the "Get/SetTagRaw" functions.
"Tag Logging": For process controlled archiving with process controlled tags in the
process value archive.
"Address Properties"
In the case of external Raw data tags the "Address Properties" dialog box is not identical for
all communication drivers, since the parameters of the tag address and the supported raw data
tag types depend on the communication driver being used.
Adapt format
Type conversion is not possible in WinCC for the "raw data type
External Tags
Introduction
WinCC tags are required to access specific data in an AS. These tags, which require a
connection to an AS, are referred to as external tags. Tags, which do not have a process
connection, are called internal tags.
Data Types and Type Conversion
When configuring external tags, in addition to the tag name, you must also specify a data
type and - for some data types - a type conversion:
The data type agrees with the data format in WinCC. Type conversion determines the
conversion from AS format to WinCC format. The type conversion applies in both
transmission directions:
in the AS: e.g. for certain functions (such as timer values / BCD displays) or via the
information to be addressed (such as byte address, word address in data block or I/O
range)
As a rule, the AS data format is fixed. There are then the following options for selecting the
WinCC format:
The WinCC data format can match the AS format. For this purpose, select the type
conversion, which uses the same format on both ends and considers the sign of the
WinCC data type, e.g. "WordToSignedWord". If this cannot be achieved with the
selected data type, change it in WinCC.
You must observe the following points when selecting the data type and - if necessary - type
conversion:
Sign: Should it be considered in the conversion? Can negative tag values occur during
operation? (for example, when differences in regulation values are presented in
percent)
Value range: Do the tag values, which can occur in operation, all fall within the value
range available in each format or is it possible that the value could overflow the range
in WinCC or on the AS? In the event of an overflow, a value may not be possible to
display on the end or may lead to an error in the later processing.
Different type conversions with the same value range: It is possible that several
conversions of a data type may have the same value range, e.g.
"ByteToUnsignedDword" and "ByteToUnsignedWord" with the value range [0...127].
f In such cases you should always determine the format of the data on the AS and
check whether this format is not perhaps over-dimensioned and thus wasting
resources. (e.g. DWord instead of Word).
If the value range required in the AS is not covered by the selected type conversion, change
the data type in WinCC.
WinCC Data Types and Type Conversion
The following table shows which WinCC data types support type conversion.
Data Type
Binary Tag
Type Conversion
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Note:
When using type conversions, make certain that the data sent from the AS can be interpreted
by WinCC within the selected type conversion. If the data cannot be interpreted by WinCC,
an error will be logged in the file "WinCC_sys_0x.log" in the directory
"..\Siemens\WinCC\Diagnose".
Linear Scaling of Numerical Tag Types
Linear scaling can be used with numerical data types. The value range of a value in a process
can be represented linearly in a specific value range of a WinCC tag.
As an example, a process could require that a nominal value be entered in the unit [bar],
while WinCC should permit the user to enter this value in [mbar]. Using linear scaling, the
value range in the process [0 ...1] can be converted to the value range [0 ...1000] of the
WinCC tag.
Setting Text Tag Lengths
You must set the length of tags with the data type "Text Tag 8-Bit Character Set" or "Text Tag
16-Bit Character Set". A text tag, which should later take 10 characters, must be assigned a
length of 10 in the case of an "8-Bit Character Set" or, in the case of a "16-Bit Character Set",
a length of 20.
Addressing in an Automation System
WinCC tags are assigned to data areas in the AS. They must addressed in a particular manner
in the AS. The type of addressing depends on the type of communication partner.
Procedure
Expand the view of the communication driver in "Tag Management".
In the pop-up menu for the channel unit, select "New Driver Connection...".
On the "General" tabbed card, in the field "Name", enter a name for the connection that
is unique within the scope of the project.
Click on the "Properties" button to open the "Connection Parameters" dialog. Set the
parameters as required for this connnection. For further details, please refer to the HELP
documentation for the respective channel.
Type conversion
"Unsigned 8-Bit Value"
Value Range
ByteToUnsignedByte
ByteToUnsignedWord
0...255
ByteToUnsignedDword
0...255
ByteToSignedByte
0...127
ByteToSignedWord
0...255
ByteToSignedDword
0...255
ByteToBCDByte
0...99
ByteToBCDWord
0...255
ByteToBCDDword
0...255
ByteToAikenByte
0...99
ByteToAikenWord
0...255
ByteToAikenDword
0...255
ByteToExcessByte
0...99
ByteToExcessWord
0...255
ByteToExcessDword
0...255
Type Conversion
"Signed 8-Bit Value"
Value Range
CharToUnsignedByte
CharToUnsignedWord
0...127
0...127
CharToUnsignedDword
0...127
CharToSignedByte
CharToSignedWord
-128...+127
CharToSignedDword
-128...+127
CharToMSBByte
-128...+127
CharToMSBWord
-128...+127
CharToMSBDword
-128...+127
CharToBCDByte
0...99
CharToBCDWord
0...127
CharToBCDDword
0...127
CharToSignedBCDByte
-9...+9
CharToSignedBCDWord
-128...+127
CharToSignedBCDDword
-128...+127
CharToExtSignedBCDByte
-79...+79
CharToExtSignedBCDWord
-128...+127
CharToExtSignedBCDDword
-128...+127
CharToAikenByte
0...99
CharToAikenWord
0...127
CharToAikenDword
0...127
CharToSignedAikenByte
-9...+9
CharToSignedAikenWord
-128...+127
CharToSignedAikenDword
-128...+127
CharToExcessByte
0...99
CharToExcessWord
0...127
CharToExcessDword
0...127
CharToSignedExcessByte
-9...+9
CharToSignedExcessWord
-128...+127
CharToSignedExcessDword
-128...+127
Type Conversion
"Floating-point Number 64-Bit IEEE 754" Value Range
DoubleToDouble
DoubleToUnsignedByte
DoubleToUnsignedWord
0...65535
DoubleToUnsignedDword
0...4294967295
DoubleToSignedByte
-128...+127
DoubleToSignedWord
-32768...+32767
DoubleToSignedDword
-2147483647...+2147483647
DoubleToFloat
+-3.402823e+38
DoubleToMSBByte
-127...+127
DoubleToMSBWord
-32767...+32767
DoubleToMSBDword
-2147483647...+2147483647
DoubleToBCDByte
0...99
DoubleToBCDWord
0...9999
DoubleToBCDDword
0...99999999
DoubleToSignedBCDByte
-9...+9
DoubleToSignedBCDWord
-999...+999
DoubleToSignedBCDDword
-9999999...+9999999
DoubleToExtSignedBCDByte
-79...+79
DoubleToExtSignedBCDWord
-7999...+7999
DoubleToExtSignedBCDDword
-79999999...+79999999
DoubleToAikenByte
0...99
DoubleToAikenWord
0...9999
DoubleToAikenDword
0...99999999
DoubleToSignedAikenByte
-9...+9
DoubleToSignedAikenWord
-999...+999
DoubleToSignedAikenDword
-9999999...+9999999
DoubleToExcessByte
0...99
DoubleToExcessWord
0...9999
DoubleToExcessDword
0...99999999
DoubleToSigned ExcessByte
-9...+9
DoubleToSigned ExcessWord
-999...+999
DoubleToSigned ExcessDword
-9999999...+9999999
DoubleToS5Timer
10...9990000
DoubleToS5Float
+-1.701411e+38
Type conversion
"Unsigned 32-Bit Value"
Value Range
DwordToUnsignedDword
DwordToUnsignedByte
DwordToUnsignedWord
0...65535
DwordToSignedByte
0...127
DwordToSignedWord
0...32767
DwordToSignedDword
0...2147483647
DwordToBCDByte
0...99
DwordToBCDWord
0...9999
DwordToBCDDword
0...99999999
DwordToAikenByte
0...99
DwordToAikenWord
0...9999
DwordToAikenDword
0...99999999
DwordToExcessByte
0...99
DwordToExcessWord
0...9999
DwordToExcessDword
0...99999999
DwordToSimaticTimer
10...9990000
DwordToSimaticBCDTimer
10...9990000
Type Conversion
Value Range
"Floating-point Number 32-Bit IEEE 754"
FloatToFloat
FloatToUnsignedByte
FloatToUnsignedWord
0...65535
FloatToUnsignedDword
0...4.294967e+09
FloatToSignedByte
-128...+127
FloatToSignedWord
-32768...+32767
FloatToSignedDword
-2.147483e+09...+2.147483e+09
FloatToDouble
+-3.402823e+38
FloatToMSBByte
-127...+127
FloatToMSBWord
-32767...+32767
FloatToMSBDword
-2.147483e+09...+2.147483e+09
FloatToBCDByte
0...99
FloatToBCDWord
0...9999
FloatToBCDDword
0...9.999999e+07
FloatToSignedBCDByte
-9...+9
FloatToSignedBCDWord
-999...+999
FloatToSignedBCDDword
-9999999...+9999999
FloatToExtSignedBCDByte
-79...+79
FloatToExtSignedBCDWord
-7999...+7999
FloatToExtSignedBCDDword
-7.999999e+07...+7.999999e+07
FloatToAikenByte
0...99
FloatToAikenWord
0...9999
FloatToAikenDword
0...9.999999e+07
FloatToSignedAikenByte
-9...+9
FloatToSignedAikenWord
-999...+999
FloatToSignedAikenDword
-9999999...+9999999
FloatToExcessByte
0...99
FloatToExcessWord
0...9999
FloatToExcessDword
0...9.999999e+07
FloatToSignedExcessByte
-9...+9
FloatToSignedExcessWord
-999...+999
FloatToSignedExcessDword
-9999999...+9999999
FloatToS5Timer
10...9990000
FloatToS5Float
+-1.701411e+38
Value Range
Type Conversion "Signed 32-Bit Value"
LongToSignedDword
LongToUnsignedByte
LongToUnsignedWord
0...65535
LongToUnsignedDword
0...2147483647
LongToSignedByte
-128...+127
LongToSignedWord
-32768...+32767
LongToMSBByte
-127...+127
LongToMSBWord
-32767...+32767
LongToMSBDword
-2147483647...+2147483647
LongToBCDByte
0...99
LongToBCDWord
0...9999
LongToBCDDword
0...99999999
LongToSignedBCDByte
-9...+9
LongToSignedBCDWord
-999...+999
LongToSignedBCDDword
-9999999...+9999999
LongToExtSignedBCDByte
-79..+79
LongToExtSignedBCDWord
-7999...+7999
LongToExtSignedBCDDword
-79999999...+79999999
LongToAikenByte
0...99
LongToAikenWord
0...9999
LongToAikenDword
0...99999999
LongToSignedAikenByte
-9...+9
LongToSignedAikenWord
-999...+999
LongToSignedAikenDword
-9999999...+9999999
LongToExcessByte
0...99
LongToExcessWord
0...9999
LongToExcessDword
0...99999999
LongToSignedExcessByte
-9...+9
LongToSignedExcessWord
-999...+999
LongToSignedExcessDword
-9999999...+9999999
LongToSimaticTimer
10...9990000
LongToSimaticBCDTimer
10...9990000
Type
Conversion "Signed 16-Bit Value"
ShortToUnsignedByte
Value Range
ShortToUnsignedWord
0...255
0...32767
ShortToUnsignedDword
0...32767
ShortToSignedByte
-128...+127
ShortToSignedWord
ShortToSignedDword
-32768...+32767
ShortToMSBByte
-127...+127
ShortToMSBWord
-32767...+32767
ShortToMSBDword
-32768...+32767
ShortToBCDByte
0...99
ShortToBCDWord
0...9999
ShortToBCDDword
0...32767
ShortToSignedBCDByte
-9...+9
ShortToSignedBCDWord
-999...+999
ShortToSignedBCDDword
-32768...+32767
ShortToExtSignedBCDByte
-79...+79
ShortToExtSignedBCDWord
-7999...+7999
ShortToExtSignedBCDDword
-32768...+32767
ShortToAikenByte
0...99
ShortToAikenWord
0...9999
ShortToAikenDword
0...32767
ShortToSignedAikenByte
-9...+9
ShortToSignedAikenWord
-999...+999
ShortToSignedAikenDword
-32768...+32767
ShortToExcessByte
0...99
ShortToExcessWord
0...9999
ShortToExcessDword
0...32767
ShortToSignedExcessByte
-9...+9
ShortToSignedExcessWord
-999...+999
ShortToSignedExcessDword
-32768...+32767
Type conversion
"Unsigned 16-Bit Value"
WordToUnsignedWord
Value Range
0...65535 (no conversion)
WordToUnsignedByte
0...255
WordToUnsignedDword
0...65535
WordToSignedByte
0...127
WordToSignedWord
0...32767
WordToSignedDword
0...65535
WordToBCDByte
0...99
WordToBCDWord
0...9999
WordToBCDDword
0...65535
WordToAikenByte
0...99
WordToAikenWord
0...9999
WordToAikenDword
0...65535
WordToExcessByte
0...99
WordToExcessWord
0...9999
WordToExcessDword
0...65535
WordToSimaticCounter
0...999
WordToSimaticBCDCounter
0...999
Copy
Move
Delete
Rename
Editing in Runtime
Note:
If a tag was created in WinCC using SIMATIC Manager with "Translate OS", you cannot edit
the tag in WinCC Explorer.
Procedure
1 In Tag Management of WinCC Explorer, open the "Internal Tags" directory.
2 Choose the "New Tag" option from the shortcut menu for the connection. The "Tag
Properties" dialog box opens.
3 At "Name" on the General tab, enter the name of the tag. In doing so, pay due consideration
to the name conventions in the chapter "Tag Management and Tags" > "Tags".
4 Set the data type.
5 On the Limits/Reporting tab, set limit values, limit values and the start value as necessary.
6 Click "OK" to exit the dialog box.
Note:
The "Project-wide update" and "Computer-local update" have no effect in most cases.
Internal tags you create on a server are always updated project-wide. Internal tags you create
on a WinCC client are always updated computer-locally.
The setting is only relevant when a client is configured without a local project.
Prerequisites
Procedure
In the pop-up menu for the desired connection, select "New Tag". The "Tag properties"
dialog will open.
On the "General" tabbed card, in the field "Name", enter a tag name that unique within
the scope of the WinCC project, e.g. "WinCC_01".
Set the tag's "Data Type", e.g. "Floating-point Number 64-Bit IEEE 754", in the
associated field.
Click on "Select" to open the "Tag properties" dialog and set the tag's address area in the
AS.
In the case of binary or 8-bit tags, if the channel does not support Bit/Byte access, the
"Bit/Byte Tag" dialog will be displayed before the "Tag properties" dialog.
For more information, please refer to "BinWrite Mechanism".
Close the "Bit/Byte Tag" or "Tag properties" dialog by clicking on "OK".
In the case of numerical tags, WinCC will display the recommended type conversion in
the "Type Conversion" field.
If your requirements are different, select the appropriate type conversion. The conversion
is presented in the order "X to Y", where X = WinCC Format and Y= AS Format, e.g.
"DoubleToDouble".
Tick the "Linear scaling" check box to have a numerical tag scaled linearly. Enter the
upper and lower limits for the "Process Value Range" (in the AS) and the "Tag Value
Range" (in WinCC).
When working with text tags, the "Length" field will be activated. In this case, enter the
length of the text tag in characters.
Cut
Copy
Paste
Delete
There is no difference in the ways in which tags, tag groups and structure types behave.
You can select and edit several objects at a time in each case.
Copying, tags, tag groups and structure types
If, for example, you wish to configure several tags having the same properties, you can copy
an existing tag and paste it at the desired position. WinCC automatically increments the name
or adds a count to the name.
When you copy a tag group, WinCC automatically copies every tag contained in it.
Structure types can be copied separately. Structure tags and structure instances cannot be
copied separately but only while the associated structure type is being copied.
Examples
Original tag
Copied tag
VarOne
VarOne_1
VarOne_2
VarOne01
VarOne01_1
VarOne01_2
VarOne_01
VarOne_1
VarOne_2
VarOne_2
VarOne_3
VarOne_4
VarOne_5
VarOne_1
VarOne_3
VarOne_4
VarOne_7
(the values in between are not assigned)
VarOne_2
VarOne_5
VarOne_6
VarOne_8
Note:
If a tag was created in WinCC using SIMATIC Manager with "Translate OS", you cannot
copy or delete the tag in WinCC Explorer.
Moving tags and tag groups
If you want to move tags or tag groups, cut the object and paste it at the position you want.
You can move tags
If you want to move a tag between the "Internal tags" Tag Management and a Variable or
between communication drivers, you must adjust the properties of the tag after doing so.
Tags
Tag groups
Structure types
Structure instance
Note:
Remember that WinCC distinguishes between upper and lower case characters in a
configuration. If you change upper and lower case characters in a tag name, you must adapt
your configuration accordingly.
Procedure
Procedure
1 Select a tag or a tag group.
2 Choose the "Properties" option from the shortcut menu.
The "Tag Properties" or the " Tag Group Properties" dialog box opens.
3 Modify the name of the tag or tag group. Pay due consideration to the name conventions
when doing so.
Editing in Runtime
Tags
Tag groups
Structure types
Structure
instances
Create
Address
---
---
Cut
X 2)
---
---
---
Copy
X 2)
Paste
Delete
X 1) 2)
X 1)
---
X 3)
---
Modify properties X
Rename
X 1) 2)
1)
Possible with external tags only if the channel being used supports the function. This
currently applies only to the "SIMATIC S7 Protocol Suite" channel.
2)
3)
Note:
If a tag was created in WinCC using SIMATIC Manager with "Translate OS", you cannot edit
the tag in WinCC Explorer.
Connections
The tooltip of a connection specifies:
Tags
The tooltip of a tag specifies:
CHAPTER-IIi
Procedure
The Graphics Designer can be opened in the following ways:
For working with the Graphics Designer, the WinCC Explorer offers the following functions
and configuration options:
The toolbars
At "View", "Toolbars...", the following toolbars can be shown or hidden. In the default
setting, all toolbars, except for the tags, are shown.
Objects: for inserting Standard Objects, Smart Objects, Windows Objects and
Controls.
Styles: for changing the line type and thickness, and fill patterns.
Default: for creating and saving documents, activating the runtime etc.
Font: for changing the font and font size, font color and border color.
Tags: for fast assignment of tags to objects that can be made dynamic.
Note:
To move the visible area in the case of large pictures, you can use the scroll bars in
accordance with the Windows standard.
The Graphics Designer provides additional operation options with the mouse wheel: click on
the mouse wheel. The mouse pointer changes and you can move the visible picture area
simply by moving the mouse.
The position and size of objects of a picture are determined by the coordinates that an object
has in the coordinate system. For example, the position of the object origin is set by the
attributes "Position X" and "Position Y". The object origin therefore has the coordinates X =
"Position X" / Y = "Position Y". The values of these attributes describe the distance of the
object origin from the coordinate axes.
Definition of origin
The "origin" is the point of an area or of an object that serves as a reference point for
specifying position and size. For the creation of process pictures in the Graphics Designer,
the following reference points are of significance:
Coordinate origin
The "coordinate origin" is the top left corner of the desktop.
Coordinates: X = 0 / Y = 0
Picture origin
The "picture origin" is the top left corner of a process picture.
Coordinates: X = 0 / Y = 0
If the picture is not displayed on the desktop as a window but rather is maximized, the picture
origin is the same as the coordinate origin.
Object origin
The "object origin" is the top left corner of the rectangle surrounding the object.
Coordinates: X = "Position X" / Y = "Position Y"
The default setting is such that the standard toolbar is located beneath the menu bar of the
Graphics Designer. The buttons of the standard toolbar include both common Windows
commands such as "save" and "Copy" and special buttons of the Graphics Designer such as
"Runtime".
The standard toolbar can be shown or hidden using "View", "Toolbars". To the left of the
toolbar is a 'gripper', which can be used to move the bar to any position on the screen.
Contents
There are the following object groups:
Standard Objects: e.g. line, polygon, ellipse, circle, rectangle, static text
Smart Objects: e.g. application window, picture window, I/O field, bars, status display
Windows Objects: e.g. button, check box, option group, slider object
Controls: The 'Controls' tab contains as standard a selection of the most important
ActiveX controls provided by WinCC. Other controls can be linked.
You can read about how to configure the Object Palette yourself in the chapter
"Configuring object selection".
Contents
The style group "Line Type" contains different line display options such as dashed,
dotted etc.
The style group "Line Weight" sets the thickness of the line. The line weight is
specified in pixels.
The style group "Line Ends" enables display of the ends of lines as arrows or
rounded, for example.
The style group "Fill Pattern" provides the possibility to display closed objects with,
for example, a transparent or checkered background.
You will find a detailed description of this topic in the chapter "Making process pictures
dynamic".
Requirements
Overview
Buttons
Function
Align:
Example: Layers 0 and 1 are displayed, all other layers are hidden. The active layer is Layer
1; this has been renamed to "Compressor".
Making layers visible / invisible
Pressed buttons indicate the visible layers. Click on a button to make the layer visible or
invisible.
Active layer
The active layer can be set in the dropdown list box of the Layer Palette.
Renaming layers
You name layers in the "Settings..." menu in the "Visible Layers" tab. Double-click on a
layer; you can then enter a new name.
Assigning objects to layers
The assignment of an object to a layer can be changed in the "Object Properties" window.
On the left side of the Zoom Bar is a slider for finely graded setting of the zoom factor. To
the right of this are buttons with predefined zoom factors. The currently set zoom factor is
displayed below the slider in %.
The Zoom Palette can be shown or hidden using "View", "Toolbars". The Zoom Palette can
be moved to any position on the screen.
Notes
The minimum and maximum zoom factors can be defined individually for all layers. For
example, you can set the detail displays on a separate layer and show it only as of a certain
zoom factor, see chapter "Showing / Hiding tab dialogs".
To move the visible area in the case of a high zoom factor, you can use the scroll bars in
accordance with the Windows standard.
The Graphics Designer provides additional operation options with the mouse wheel: click on
the mouse wheel. The mouse pointer changes and you can move the visible picture area
simply by moving the mouse.
A mouse-click on a color of the palette has the following effect, for example:
In the case of closed objects (e.g. rectangle), the fill color is changed.
In the case of open objects (e.g. polyline), the line color is changed.
If no object has been selected, the selected color is assigned to the background of the active
process picture.
The button covers the "Colors" dialog. This provides 48 base colors as well as the
possibility to create user-defined colors. For more information, read the chapter "Creating
user-defined colors".
The Color Palette can be shown or hidden using "View", "Toolbars"; it can be moved to any
position on the screen.
The Font Palette can be shown or hidden using "View", "Toolbars"; it can be moved to any
position on the screen.
Other text characteristics such as text in italics or bold print are set in the Object Properties
window.
Note:
The default settings of text characteristics can be changed for any text object. You can change
the default settings via the object properties, see chapter "The basic settings of the Graphics
Designer". Or you change the default settings via the Font Palette: First select a text object in
the Object Palette, then change the properties in the Text Palette and insert the text object.
The changed text characteristics then apply to all other objects of the same type.
Contents
The Tag Palette has the same layout as an Explorer window. The Tag Palette contains a list of
all of the tags available in the project as well as a list of the internal tags. Filters can be set,
the view can be changed, and an update of the connections is possible.
With the mouse button pressed, the tags in the right-hand window can be dragged to
attributes of an object in the "Object Properties" window.
Snap to grid
If the check box is enabled, objects are aligned to the grid points when they are created,
inserted and moved. Objects that have already been created are only aligned to the grid when
they are moved.
Display grid
When the check box is enabled, the grid points are shown.
Width in pixels
Horizontal spacing of the grid points. Maximum spacing: 100 pixels
Height in pixels
Vertical spacing of the grid points. Maximum spacing: 100 pixels
With a large grid width, objects are aligned to the left or upper grid points, as the case may
be.
Alternative Procedure
All grid properties can be changed in the "Object Properties" window of the active process
picture. The color of the grid can also be changed there.
Note:
The minimum grid spacing that can be displayed on the screen is 10 pixels. If you want to set
a smaller value, you can align objects to this grid. On the screen, however, the grid spacing
displayed is the first multiple of the grid value that is greater than or equal to ten.
Example: You set 6 pixels as grid spacing; a grid or 12 pixels is shown on the screen. Objects
can be placed on one grid point or between two grid points.
The default settings can be saved immediately or also automatically on exiting from
the Graphics Designer.
The default settings of another project can be loaded into the current project.
The file name and the directory path for storing the PDD file can be changed.
Procedure
1
Select the PDD file in which you want to save the changes and confirm your selection
with "OK".
As standard, the PDD file of a project is stored in the graphic folder "GraCS".
Enable the "Save Configuration on Exit" check box if you want the default object
configuration to be saved when you exit from the Graphics Designer.
Procedure
1
Select the PDD file you want to load and confirm your selection with "OK".
As standard, the PDD file of a project is stored in the graphic folder "GraCS".
You can now save the loaded default settings in the current project directory:
click in the "File" field on the button
.
The "Default Objects" dialog is opened.
Select the PDD file of the current project and confirm your selection with "OK".
Note:
The default settings for objects do not apply across all projects. The changed default settings
only apply to the images of the currently opened WinCC project. The basic settings of the
Graphics Designer are not changed here.
The set trigger specifies the update cycle in runtime. Each attribute of an object that has been
made dynamic can be assigned an individual update cycle. The value you specify for the
default trigger is the default update cycle for all objects. If, for example, you want to have a
lot of objects updated in a cycle of 2 seconds, set the default trigger to 2 s. You then no
longer need to change the trigger setting for tag connection of the individual attributes.
Opening the "Settings" window
In the menu bar, select "Extras" and click on "Settings...". The window with the tabs for the
various setting options opens. Click on the "Default Objects Configuration" tab.
dynamic dialog boxes used in the picture window which are configured with the trigger type
"Window Cycle".
Upon change
This trigger updates the object every time a change is made. In the case of external tags, there
might be a brief delay; internal tags lead to an immediate update.
The more complex the configured process is, the more detailed the planning should be.
Plan the structure of the representation of the process: determine how many pictures
will be needed and their hierarchical order.
Example: subprocesses can be shown in individual pictures, which are then merged
in a main picture.
Plan the navigation within a picture and between the individual pictures: the operation
sequences, buttons and hotkeys should be consistent in all pictures.
Create a Master picture in which the picture properties, default settings and object
settings are defined. This Master picture should then be used as the template for each
individual picture.
Take advantage of the program functions: Process pictures can be efficiently created
by using libraries, copying and transferring properties and by working with layers and
multiple pictures.
To avoid changes in the picture layout, make certain that each picture is displayed during the design phase - at the same size that it later will be displayed on the target
computer.
To avoid changes in the picture layout, make certain that you only use fonts that are
also available on the target computer.
In Graphics Designer, either select "New" in the "File" menu or click on the Windows
symbol
You can also create a new picture by using the pop-up menu in WinCC Explorer's navigation
window.
To save all of the open pictures, select "Save All" in the "File" menu.
You can also open a picture in WinCC Explorer by double-clicking on a PDL format file.
This will start Graphics Designer, if necessary, and then open the picture.
Note:
Pictures may only be opened and edited in Graphics Designer. Pictures may not be opened in
Windows Explorer or any similar program.
In the "File" menu, select "Save As..." and then enter a new file name in the "Save As" dialog
box.
Note
It is not possible to copy a picture and then insert it with a different file name in WinCC
Explorer. To accomplish this, use Windows Explorer.
If you copy a picture created with the SIMATIC Manager using "Save As", you may rename
or delete this copy in WinCC Explorer. This also applies to pictures created in WinCC and
imported into SIMATIC Manager by using the function "Import WinCC Object.
Note
If you create pictures using the SIMATIC Manager, these cannot be renamed in WinCC
Explorer. This also applies to pictures created in WinCC and imported into SIMATIC
Manager by using the function "Import WinCC Object.
Note
If you create pictures using the SIMATIC Manager, these cannot be deleted in WinCC
Explorer. This also applies to pictures created in WinCC and imported into SIMATIC
Manager by using the function "Import WinCC Object.
Procedure
1
If the properties of a picture should be changed, make certain that no objects has been
selected. Open the "Object Properties" window by clicking on
in the toolbar. As an
alternative, the "Object Properties" window can also be opened via the pop-up menu or
by selecting "Properties" in the "View" menu.
Check whether the picture's properties are shown: The entry "Picture Object" must be
displayed in the object type field at the top of the window. The picture's file name will be
The attributes, which are found by clicking on the "Properties" or "Event" tabs, can be
changed like the attributes of an object. For more information, please see the chapter
entitled "Change Attributes".
which basic functions the Graphics Designer offers for working with objects
which characteristics the individual objects possess
Standard Objects
Smart Objects
Windows Objects
Line
Polygon
Polyline
Ellipse
Circle
Ellipse Segment
Pie Segment
Ellipse Arc
Circular Arc
Rectangle
Rounded Rectangle
Static Text
Connector
Application Window
Picture Window
Control
OLE Element
Both
Bar
Graphic Object
Status Display
Text List
3D-Bar
Group Display
Button
Check Box
Option Group
Round Button
Slider
Combined Objects
The objects of the object palette can be combined by creating a "group" or a "user object"
from a multiple selection. Additionally a multiple selection or a combined object can be
added to the project library and can be made available as a "library object" for reuse in other
process pictures or projects.
A picture must be opened. This picture can, but does not have to contain objects.
Procedure
This section shows the general procedure to view the default setting for the object types.
Changing the default properties is based on changing the individual attributes of an object.
There is an extensive description on changing attributes can be found in the chapter "The
Properties of an Object".
Procedure
1
Right-click the object palette on the the object type whose default setting you want to
change.
On the "Properties" tab select the property group which contains the attribute you want to
change.
Changing attributes in described extensively in the section "Attribute".
Note:
The default setting for the object types applies across the project. The changed default
settings only apply to the images of the currently opened WinCC project. The basic settings
of the Graphics Designer are not changed here.
In the Graphics Designer, the various object types have default properties. When they are
inserted the objects import these default properties (except for individual geometric
properties). After insertion the properties of an object can be modified. In the same way the
default settings for the object types can be modified as required.
When inserting an object, an object name is automatically assigned. The name of the object
type is linked with a continuous number as the object name. No special characters are used in
the object name. You change the object name using the "Object Name attribute".
Requirements
Procedure
The example of the standard object "Rectangle" is used here to show the general procedure as
to how to insert an object in a picture. Some object types require further steps to be carried
out. More information on these subsequent steps can be found in the extensive description of
the individual objects.
Procedure
1
Position the cursor on the picture where you want to insert the rectangle.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the rectangle to the required size.
As soon as you release the mouse button, the rectangle in inserted.
Alternative Operation
Double-click the required object in the object palette. The new object is inserted close to the
picture origin. The properties of the new object correspond to the default settings for the
selected object type.
Note:
Avoid special characters in object names of these object names are used in scripts.
Requirements
Procedure
Procedure
1
On the "Properties" tab select the entry for the selected object type to which the property
groups of the object are subordinate.
Requirements
Procedure
Procedure
1
Alternative Procedure
Procedure
1
On the toolbar of the window, open the drop-down list field to select the object.
The position of an object is defined by the coordinates of the object origin. The left upper
corner of the rectangle surrounding the object is called the object origin.
Objects can be positioned by:
Multiple selection
It is possible to move several selected objects simultaneously.
Requirements
Procedure
Procedure
1
Click the object and hold down the left mouse button.
The cursor changes into an arrow with an outline icon (small rectangle with broken line).
Alternative Operation
Move the selected object using the arrow keys for cursor control or change the value for the
geometric "Position X" and "Position Y" attributes in the "Object Properties" window.
Note:
In the settings of the Graphics Designer if the "Snap to grid" function is activated, the object
can only be positioned with the mouse according to the settings for the grid.
Multiple selection
It is not possible to scale several selected objects simultaneously using the mouse. To do this,
the objects must be grouped.
Requirements
Procedure
Procedure
Position the cursor on the selection marker of the selected object.
The cursor changes into a double arrow. The alignment of the double arrow indicates the
directions in which you can move the selection marker:
Alternative Operation
Change the values for the geometric "Width" and "Height" attributes in the "Object
Properties" window.
Multiple selection
It is possible to mirror several selected objects simultaneously. The mirroring occurs on the
horizontal or vertical middle axis of the individual objects.
Requirements
Select any type of object except circle, application window, picture window, Control,
OLE object, status display, 3D bars, group display and round button.
Procedure
Click the icon on the "Standard toolbar"
Alternatively you can use the entries "Horizontal" and "Vertical" on the "Arrange / Mirror" menu.
Multiple selection
It is possible to rotate several selected objects simultaneously. The objects are each rotated
around their center point.
Requirements
Select any type of object except circle, application window, picture window, Control,
OLE object, status display, 3D bars, group display and round button.
Procedure
Alternatively you can select on the "Arrange "menu the "Rotate entry".
Procedure
Press <DEL> to remove the selected object from the picture.
Alternatively you can use the "Delete" entry on the popup menu or on the "Edit" menu.
Note:
You can easily correct operating steps unintentionally carried out:
Click the button
on the Standard toolbar to undo the last action. You can undo the last 30
editing steps by repeatedly clicking this button.
Use the button
Procedure
Use the shortcut <CTRL+X> to remove the selected object from the picture and copy it to
the clipboard.
Alternatively you can click the icon
popup menu or on the "Edit" menu.
Note:
You can easily correct operating steps unintentionally carried out:
Click the button
on the Standard toolbar to undo the last action. You can undo the last 30
editing steps by repeatedly clicking this button.
Use the button
Procedure
Use the shortcut <CTRL+C> to copy the selected object to the clipboard.
Procedure
Select "Duplicate" on the popup menu or on the "Edit" menu to make a copy of the selected
object directly in the active picture.
Note:
Position X and Position Y of the inserted duplicated are each 20 pixel greater as Position X
and Y of the original object.
The duplicated object receives the object name of the original object but is supplemented by
a continuous number
Configuring events
There is an extensive description of this topic in the chapter "Making Process Pictures
Dynamic".
Event name
The "Event Name" field displays the name of the selected trigger event which defines the
update cycle for the value to be calculated.
The trigger event is configured using the "Trigger dialog box". There is a choice of the events
"Tag", "Standard cycle", "Picture cycle" and "Window cycle" which can be configured and
renamed as required.
Click
Expression / Formula
Specify the formula with which the new value of the attribute should be calculated in
Runtime.
Click
to create the formula from the configured tag, Global Script functions and
operators. Click "Check" to check the formula for errors.
Event of the Expression / Formula
This field displays the calculated value or value range. The evaluation of the event depends
on the set data type.
Data Type
Select the data type for the evaluation of the event. The options "Analog", "Bool", "Bit" and
"Direct are available".
Evaluate tag status
Activate this checkbox to view the current values of the tags in the formula.
Filter
If there is a large number of configured tags, the search procedure can take some time. For
instance, for 15,000 tags the search procedure takes about a minute.
By specifying a filter, you can narrow the scope of the search and reduce the duration of the
search procedure. You can achieve a significant increase in efficiency if you configure tags
with the aid of a tag prefix.
Data source
A preselection of the displayed tags can be made via the "Data source window".
Tag groups
The selected tag group complete with its sub-folders is displayed in the left-hand area in the
form of a folder tree.
Folders and subfolders can be open or closed by double-clicking them or by clicking the "+"
or "-" icons. The tags available for the selected entry are shown in the tag display.
Tag display
The right-hand area contains all the tags that are available for the entry selected from the tag
group. The tag display is divided into four columns showing the tag name, type and
parameter, and the point in time at which the tag was last changed. Tags can be sorted by
clicking on the respective column heading.
Procedure
Procedure
1
Select the required filter. An asterisk means that no filter is to be used or no filter has
been defined.
Tag selection
The left area of the "Places of Use" tab shows a list of the tags configured in the object
selection. All objects are assigned to these tags in the form of a folder tree which contains the
dynamics of the respective tag.
Select a tag or object. The detail view shows the current tag connections.
Detail view
The right area of the "Places of Use" tab shows the current tag connections for the selected
tag or object. You can link these tag connections:
Right-click the required tag connection to call the "Linking" command. The "Linking a Tag"
dialog box opens.
Enter the name of the new tag or click the associated button to select a tag.
Linking tags by searching and replacing
Find
The left area of the "Find and Replace" tag shows the names of all tags configured in the
object selection. There are three search options available to select certain tag names:
Enter the tag names or parts of names you want to search for in the search field. You
can also activate the options "Find whole words only" and "Match case". All tags
which so not meet the search criteria are hidden.
Replace
In the right area of the "Find and Replace" tab you can enter the name of the new tag with
which the selected tag names should be replaced. Alternatively you can click the associated
button to select the required tag.
Click "Preview" to view and check the planned replacement.
Click "Replace" to link the selected tag connections as in the preview.
Caution
The "Replace" function replaces only the part of the tag names contents displayed in the
"Find" text field of the area.
Note:
Grouped objects can only be linked if there are no grouped objects in the group itself.
Source
You can select a constant, object property or a tag as the data source:
Constant
Click the associated button or select a picture of the PDL format which provides the constant.
Object property
Select the object and an attribute of the object whose value should be used as the data source.
Tag
Click the associated button and select the required tag. Define whether the update of the tags
should be done permanently (directly) or only when called (indirectly).
Target
You can select "Current window", "Object in Picture" or "Tag" as the target which should
take the value of the data source:
Current window
Select this option if you want to assign the value of the data source to the active picture.
Object in the picture
Select the object and attribute of this object to which you want to assign the value of the data
source.
Tag
Click the associated button and select the required tag which should take the value of the data
source. Define whether the update of the tags should be done permanently (directly) or only
when called (indirectly). If required, you can activate the output of a operator message.
The "Object Properties" window on the "Properties" tab contains all the attributes of a
selected object or a multiple selection of objects. The attributes are subdivided into property
groups such as for example "Geometry" or "Colors". The type and number os property
groups depends on the type of object selected. Therefore for example the "Font" property
group is only displayed for those object types with which a text can be displayed.
With a multiple selection it is possible that individual property groups for one specific object
type are summarized to a shared property group. All attributes of the summarized property
groups available in this group are continued under the "Customized" label.
Alternatively to changing the attributes in the "Object Properties" window, objects can also b
adapted by operation with the mouse and keyboard or by using toolbars and palettes.
However this was it is only possible to change certain object properties such as for example
basic geometric sizes, colors and line styles.
The "Object Properties" window can be pinned on top of the Graphics Designer. The
position and size of the window can be changed freely.
The "Object Properties" window is subdivided into Elements toolbar, and the "Properties"
and "Event" tabs. More information about these elements is provided in their extensive
description.
Pin "Object Properties" window on top
Activating Pin
By activating the "Pin" button, the "Object Properties" window can be set so that it is always
in the foreground in the Graphics Designer.
Procedure
1
Deactivating Pin
Procedure
1
The toolbar can for example have the following appearance for a rectangle with the object
name "Rectangle1":
Icon
/
Name
Function
"Pin"
deactivated /
activated
Deactivated:
The "Object Properties" window is closed as soon as
you click outside the window.
Activated:
The "Object Properties" window is always in the
foreground. It is possible to edit different objects
without having to reopen the window.
"Pipette"
Copy properties
"Pipette"
Assign properties
"Object type"
normal
No dynamics are configured for the object. The object is not the target of a configured
direct connection.
bold
At least one dynamics was configured for the object. The object is however not the
target of a configured direct connection.
italic
No dynamics are configured for the object. The object is the target of at least one
configured direct connection.
The width of both window areas and the columns in the attribute display can be changed by
moving the vertical separation lines.
Properties folder
The left area shows the selected object with its property groups in the form of a folder tree.
The selected object is displayed as a folder.
With a multiple selection or a user object, this folder only receives the shared property
groups of the contained individual objects. With a selected group the shared property groups
are listed first and then, as a subfolder, the individual objects with their property groups.
It is not possible to change the entries in the property folder. Folders and subfolders can be
open or closed by double-clicking them or by clicking the "+" or "-" icons. The attributes
available for the selected entry are shown in the attribute display.
Attribute display
The right-hand area contains all the attributes that are available for the entry selected from
the property folder. The attribute display is subdivided into 5 columns in which the static
values and the dynamics of the selected objects are displayed.
The displayed values can be changed by double-clicking or calling the popup menu in the
respective column.
Columns of the attribute display
Column Function
Description
Static
Static value of the The current value of the attribute is shown for the selected object.
attribute
Depending on the type of attribute, the value is displayed as a
number, text or a graphic representation.
The static value of the attribute can be changed by doubleclicking the value or name of the attribute. Further information
can be found in chapter "Changing Object Properties".
Update cycle of
the attribute
Indir.
Indirect addressing of the attribute can be activated by doubleclicking the checkbox if the attribute is made dynamic with a tag.
Further information can be found in chapter "Making Process
Picture Dynamic".
Font styles to display dynamics and events
Dynamics and events are particularly highlighted with the aid of different font styles. The
following font styles are used:
bold
As soon as dynamics or an event are configured to an attribute of the selected object,
the attribute is displayed in bold in the attribute display. The associated property
group in the property folder and the selected object in object selection of the toolbar
are also displayed in bold.
italics
If a direct connection was configured for an event, the target of the direct connection
is displayed in italics in the attribute display. The target object is also displayed in
italics in the object selection of the toolbar.
bold and italics
If a selected object is both target of a direct connection and is dynamic itself, the
attribute in the attribute display and the object in the object selection of the toolbar
are displayed in bold and italics.
The width of both panes and columns in the event display can be changed by moving the
vertical separation lines.
Event folder
The left area shows the selected object in the form of a folder tree. This folder shows entries
such as for example "Mouse", "Keyboard", "Focus" and "Misc" with which events for the
operation of the entire object can be configured. The "Property Topics" displays all property
groups of the selected object. An event can also be configured for each individual attribute of
a property group. If there are several individual objects in the selected object, the structure is
repeated for each individual object.
It is not possible to change the entries in the event folder. Folders and subfolders can be open
or closed by double-clicking them or by clicking the "+" or "-" icons. The configurable
events for the selected entry are shown in the event display.
Event display
The right-hand area contains all the events that are available for the entry selected from the
event folder. The event display is subdivided into 2 columns in which the events and the
linked actions are displayed.
The displayed actions can be changed by double-clicking or calling the pop-up menu in the
"Action" column.
Columns of the event display
Event
type
All events are displayed which are available for the selected object and
assigned to the entry selected in the event directory.
The name of the event cannot be changed. The configured action can be
Action The action is displayed which is run when event occurs. The selected
selection action is identified by one of the following symbols:
White flash = No action exists for this event.
Blue lightning = There is an action via a direct connection for the event.
Green lightning = There is a C action for the event.
Yellow lightning = There is a C action not yet translated for the event.
The configured action can be changed by double-clicking in the "Run" at
column or by calling the pop-up menu in the "Action" column. Further
information can be found in chapter "Making Process Picture Dynamic".
Triggering events
Events
Run at
Description
Mouse
Mouseclick Is triggered if the cursor is on the object when the mouse button is
pressed and released.
Mouse
Left / right Is triggered when pressing the mouse button directly on the
clicking
object.
Mouse
Left/right
releasing
Is triggered when releasing the mouse button for the object the
cursor was over when the mouse button was pressed.
Keyboard
Pressing
Keyboard
Releasing
Focus
Focus
change
Miscellaneous Object
change
Object
attributes
Change
Procedure
Open the "Object Properties" window by doing one of the following:
Click the
icon on the Standard toolbar.
Double-click the selected object.
Note:
If you want to make changes to several objects, you can lock the view of the "Object
Properties" window using the
icon.
associated attributes for the selected object are listed in the attribute display. The properties
of an object can be changed by assigning a new value to the associated attributes.
This chapter introduces all property groups and the associated attributes. The function of an
attribute is described briefly and is assigned to the object types for which the attribute is
available.
An extensive description of the individual attributes can be found in the "Direct help" which
can be called from the popup menu of the required attribute.
Attribute
Function
Object Type
Current Value X
Polygon, polyline,
connector
Current Value Y
Polygon, polyline,
connector
Alpha
3D Bar
Start Angle
Number of
Number of corners
Polygon, polyline
Corners
Number of Boxes Number of available selection fields
Alignment
Slider
Bar Width
3D Bar
Bar Height
3D Bar
Bar Alignment
Bar, 3D bar
Bar Depth
3D Bar
Base X
3D Bar
Base Y
3D Bar
Beta
3D Bar
Width
Width Button 1-4 Individual width for each of the four buttons (1-4)
(Unit: Pixels)
Display Axis
Group Display
3D Bar
Rounded Rectangle
Rounded Rectangle
(Unit: Percentage)
(Unit: Percentage)
End Angle
Window Width
Application window,
picture window
Window Height
Application window,
picture window
Same Size
Group Display
Height
Index
Polygon, polyline,
connector
Position X
All objects
Position Y
Radius
Radius X
Radius Y
Rotation
Reference X
(Unit: Percentage)
Rotation
Reference Y
(Unit: Percentage)
Rotation Angle
Angle Settings
3D Bar
The "Colors" property group contains attributes with which you can change the color settings
of objects.
Requirements
The "Colors" property group is available for all objects except application windows, picture
windows, Control and OLE object.
Overview
The following table shows all the attributes of the "Colors" property group. The function of
an attribute is described briefly and is assigned to the object types for which the attribute is
available.
Attribute
Function
Object Type
Text List
Text List
Bar Color
Bar
Bar Background
Color
Bar
High Limit Color Color of the upper and right arrow key
Slider
Low Limit Color Color of the lower and left arrow key
Slider
Slider
Line Color
High Limit
Color of the upper and right slider surface
Background Color
Slider
Border Color
Static text,
I/O field, bar, text list, 3D
bar
Border
Background color of the border
Background Color
Font Color
Static text,
I/O field, text list,
button, checkbox, option
box
Selection Font
Color
Text List
Selection
Background color in the selected entry of the Text List
Background Color selection list
Scale Color
Bar
Trend Color
Dividing Line
Color
Dividing Line
Background color of the dividing lines in the
Background Color selection list
Text List
Low Limit
Color of the lower and left slider surface
Background Color
Slider
Attribute
Function
Object Type
Group display
Button, round button
Bar Pattern
Border Weight
Corners
Latch Down
Slider
Round Button
Box Alignment
Fill Pattern
Pressed
Round Button
Background
3D Bar
Light Effect
Line end
Line Style
broken
Line Weight
Weight of a line
(Unit: Pixels)
Border Style
Display type of a border line, for exampledotted I/O field, bar, text list, 3D
or broken
bar
Border Width
Dividing Line
Style
Text List
Dividing Line
Text List
Weight
list
(Unit: Pixels)
Windows Style
Button, Slider
Requirements
The "Font" property group is available for the following objects: Static text, I/O field, bar,
text list, group display, button, checkbox and option group.
Overview
The following table shows all the attributes of the "Font" property group. The function of an
attribute is described briefly and is assigned to the object types for which the attribute is
available.
Attribute
Function
Object Type
Bold
Static text,
I/O field, bar, text list,
group display,
button, checkbox, option
group
Index
Italic
Static text,
I/O field, text list, group
display,
Text
Object label
Underline
Text is underlined
Static text,
I/O field, text list, group
display,
button, checkbox, option
box
X Alignment
Y Alignment
Static text,
I/O field, text list, group
display,
button, checkbox, option
box
Font
Text font
Static text,
I/O field, bar, text list,
group display,
button, checkbox, option
group
Font Size
Static text,
I/O field, bar, text list,
group display,
button, checkbox, option
group
The "Flashing" property group contains attributes with which you can change the flashing of
object elements. The settings of the "Flashing" property group can only be seen in Runtime.
Requirements
The "Flashing" property group is available for all objects except application windows, picture
windows, Control, OLE object and 3D bar.
Overview
The following table shows all the attributes of the "Flashing" property group. The function of
an attribute is described briefly and is assigned to the object types for which the attribute is
available.
Attribute
Function
Object Type
Flashing
Background
Active
Flashing Line
Active
Flashing Border
Active
Flashing Text
Active
Static text,
I/O field, text list,
button, checkbox, option
box
Flash Frequency Frequency for the flashing of the group display Group Display
Background Flash Frequency for the flashing of the background Polygon, ellipse, circle,
Frequency
ellipse segment, circle
segment, rectangle, round
rectangle, static text,
I/O field, bar, graphic
object, text list,
all Windows object
Line Flash
Frequency
Border Flash
Frequency
Text Flash
Frequency
Static text,
I/O field, text list,
button, checkbox, option
box
Flashing
Color for the flash state "Off"
Background Color
Off
Flashing
Color for the flash state "On"
Background Color
On
Flashing Line
Color Off
Flashing Line
Color On
Flashing Border
Color Off
Flashing Border
Color On
Flashing Text
Color Off
Static text,
I/O field, text list,
Static text,
I/O field, text list,
button, checkbox, option
box
Attribute
Function
Object Type
Update Cycle
Display
All objects
Display Options
Button
Operator Input
Message
All objects
except:
Application Window
Picture Window
Checkbox
Option box
Slider
Operator Actions Defines whether the reason for an operation
Report
should be logged
I/O field
Text List
Slider
Operation Steps
Slider
Group Display
Authorization
All objects
except:
Application Window
Picture Window
Control
Adapt Picture
Picture Window
Picture Name
Picture Window
Picture Offset X
Picture Window
Picture Offset Y
Picture Status Off Defines the picture displayed when a button is Button
not pressed
Picture Status On Defines the picture displayed when a button is Button
pressed
Bit Pattern Group System-internal Output Value
Display
Group Display
Cursor Mode
Picture object
Cursor Control
I/O field
Text List
Picture object
Immediate Input Defines whether when jumping to the object it I/O field
should change directly to input mode
Text List
Extended
Operation
Extended
zooming
Change Color
Adapt Size
Picture Window
Sizable
Application Window
Picture Window
Hotkeys
Button
Hysteresis
Bar
Picture object
Bar
Bar
3D Bar
Slider
Can Be
Maximized
Application Window
Picture Window
Minimum Value
Bar
3D Bar
Slider
Average Value
Bar
Bar
3D Bar
Process Driver
Connection
Bar
3D Bar
Slider
Acknowledgment During display of the group display object, the Group Display
Sample
events "Tolerance Low", "Tolerance High" and
Operator Request are automatically identified
as being acknowledged.
Border
Adapt Border
Scroll Bars
Picture Window
Scroll Bar
Position X
Picture Window
Scroll Bar
Position Y
Picture Window
Group Relevant
Group Display
Collect Value
Can Be Closed
Application Window
Picture Window
ServerName
Control
OLE object
Server Prefix
be shown is called
Scaling Factor
Picture Window
Configured
Languages
Static Text
Button
Checkbox
Option box
Text Reference
Text list
Title
Application Window
Picture Window
All objects
except:
Application Window
Picture Window
Control
Trend
Bar
Caption
Tag Prefix
Picture Window
Movable
Application Window
Picture Window
Foreground
Application Window
Picture Window
The "Filling" property group contains attributes with which you can control dynamic filling of
objects.
Requirements
The "Filling" property group is available for the following objects: Polygon, ellipse, circle,
ellipse segment, circular segment, rectangle, round rectangle, static text, graphic object,
button, checkbox, option group, round button and slider.
Overview
The following table shows all the attributes of the "Filling" property group. The function of
an attribute is described briefly and is assigned to the object types for which the attribute is
available.
Attribute
Function
Object Type
Dynamic Filling
Permits dynamic filling of objects with closed All the objects mentioned
border line
above
Fill Level
Height of the object filling with closed border All the objects mentioned
line as a percentage of the object height
above
Attribute
Function
Picture
Picture Referenced
picture is incorporated
Picture Transparent Color
Attribute
Function
For the "Off" state, defines whether the picture itself or only a
reference to the picture are incorporated
For the "Off" state, defines which color of the picture is set to
"Transparent"
Picture Deact. Referenced For the "Deactivated" state, defines whether the picture itself or
only a reference to the picture are incorporated
Picture Deact. Transparent For the "Deactivated" state, defines which color of the picture is
Color
set to "Transparent"
Picture Deact. Transparent Permits the "Transparent Color" function for the "Deactivated"
Color On
state
Picture On Referenced
For the "On" state, defines whether the picture itself or only a
reference to the picture are incorporated
Picture On Transparent
Color
For the "On" state, defines which color of the picture is set to
"Transparent"
Picture On Transparent
Color On
Attribute
Function
Current Status
Flash Picture
Basic Picture
Attribute
Function
Axis Section
Alignment
Bar Scaling
Exponent display
Length of the main tick marks of a scale. The length of the trend tick
marks is 50% of the value set here
(Unit: Pixel)
Decimal Places
Zero Point
Position of the zero point relative to the distance of the scale end
values
(Unit: Percent)
Defines whether only the main tick marks or only the trend tick
marks are displayed on the scale.
Scale
Scale Marks
The following table shows all the attributes of the "Limits" property group. The function of
an attribute is described briefly and is assigned to the object types for which the attribute is
available.
Attribute
Function
Object Type
Type
Type of display for the specified limit value
(AH, WH, TH, RH4, RH5, (percentage or absolute)
AL, WL, TL, RL4, RL5)
Bar
3D Bar
Bar color
Color the bar takes when the specified limit is Bar
(AH, WH, TH, RH4, RH5, reached
AL, WL, TL, RL4, RL5)
Limit (0 10)
3D Bar
Limit Marker
Bar
Upper limit
Value of the specified upper limit
(AH, WH, TH, RH4, RH5)
Lower
limit value
Bar
Lower limit
(AL, WL, TL, RL4, RL5)
Bar
Monitor (0 10)
3D Bar
Monitor
Activates monitoring of the specified limit
(AH, WH, TH, RH4, RH5,
AL, WL, TL, RL4, RL5)
Bar
The "Output / Input" property group contains attributes with which you can set the properties
of input and output values.
Requirements
The "Output / Input" property group is only avaiable for the following objects: I/O field, text
list, checkbox, option group.
Overview
The following table shows all the attributes of the "Output / Input" property group. The
function of an attribute is described briefly and is assigned to the object types for which the
attribute is available.
Attribute
Function
Object Type
Text List
Output Format
I/O Field
Output Value
Bit Number
Data Format
I/O Field
Field Type
List Type
Text List
I/O Field
Selected Boxes
Checkbox
Selected Box
Option box
Apply on Exit
Defines whether the specified data are applied I/O field, Text List
on exiting the field.
Hidden Input
Assignments
I/O Field
Attribute
Function
Display Text
Background Color On
Permits flashing font when a message comes in acknowledged
Came In Acknowledged Text Flashing
Color of the text for the flash state Off
Came In Acknowledged Text Color Off
Color of the text for the flash state On
Came In Acknowledged Text Color On
Message Type
Defines the message type (for example AL, AH, WL, etc.) for
which the attributes of the "Message Types" property group are
configured
Requirements
The "Assignment" property group is only available for the "Group Display" object.
Overview
The following table shows all attributes of the "Assignment" property group and a brief
description of their function.
Attribute
Function
Display of windows
The "Sizeable" attribute specifies whether or not the size of a window can be changed in
runtime.
Border
The "Border" attribute specifies whether or not a window is displayed with a border.
Scroll Bars
The "Scroll Bar" attribute specifies whether or not a picture window is displayed with a scroll
bar if required. A scrollbar is only visible in Runtime.
Can Be Closed
The "Can Be Closed" attribute specifies whether or not a window can be closed in runtime.
Title
The "Title" attribute specifies whether a window is displayed in runtime with or without a
title bar.
Caption
The "Caption" attribute specifies which text appears in the title of a picture window.
Movable
The "Movable" attribute specifies whether or not a window can be moved in runtime.
Foreground
The "Foreground" attribute specifies whether or not a window lies in the foreground. This
setting is independent of the layer to which the window is assigned.
The "Operator-Control Enable" attribute specifies whether or not an object can be operated in
runtime.
Operator Input Message
The "Operator Input Message" attribute specifies whether or not a message is displayed after
an operation. If the attribute "Operator Input Message" has been set to "yes", a message is
generated upon operation, sent to the message system and archived. Using the message
system, a message may be output in a message line, for example.
Operator Actions Report
The "Operator Activities Report" attribute specifies whether or not the reason for an
operation is to be logged by the operator. The operator activities report is archived in the
message system.
Authorization
The User Administrator editor is used in WinCC to assign authorizations for the users. An
authorization can be assigned for every object in the Graphics Designer. The object can only
be operated by those users with the corresponding authorization.
Note:
An object can only receive an operator authorization as a "Whole". A customized object can
have an operator authorization but its subordinate objects cannot.
Cursor Control
The "Cursor Control" attribute specifies whether the alpha cursor automatically jumps to the
next field in the TAB sequence after an entry has been made in a field. This function enables
rapid input in different fields without having to use the <TAB> key to jump.
Hotkeys
As an alternative to operation with the mouse, a button can also be triggered using the
keyboard. To do so, a hotkey must be set.
palette. The "Default" register tab of the Object Palette provides the objects in the following
object groups:
Standard Objects
Smart Objects
Windows Objects
Line
Polygon
Polyline
Ellipse
Circle
Ellipse Segment
Pie Segment
Ellipse Arc
Circular Arc
Rectangle
Rounded Rectangle
Static Text
Connector
Application Window
Picture Window
Control
OLE Element
Both
Bar
Graphic Object
Status Display
Text List
3D-Bar
Group Display
Button
Check Box
Option Group
Round Button
Slider
Overview
Icon
Object
Description
Line
The line is an open object. The length and angle of a line are
determined by the height and width of the rectangle around the
object. The line ends can for example be shown as arrows or
points.
Polygon
Polyline
The polyline is an open object. Even if the start and finish point
have the same coordinates, that area cannot be filled. A polyline
can have any number of corners. The corners are numbered in the
sequence of their creation and can be modified individually or
deleted. The line ends of a polyline can for example be shown as
arrows or points.
Ellipse
Circle
Ellipse
Segment
Pie Segment The pie segment is a closed object that can be filled with a color
or pattern. A pie segment can be resized at will.
Ellipse Arc
Circular Arc The circular arc is an open object. A circular arc can be resized at
will.
Rectangle
Rounded
Rectangle
Static Text
The field for static text is a closed object that can be filled with a
color or pattern. The static text is entered into a field of any
desired size. One-line or multiline text can be input for all
designed languages.
Connector
The connector is a linear object whose ends can be connected with the
connection points of other objects. The number and arrangement of the
connection points depend on the specific object type. If connected objects are
moved, the connector's length and direction is automatically adapted and the
connection is retained.
Drawing a line
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a line.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the line to the required length.
When you release the mouse button, the line is finished.
Alternatively you can double click on the line in the Object Palette. A line with default object
properties is then inserted near the picture origin.
Changing a line
Select an object of the line type if you wish to carry out one of the following changes:
Actions with the mouse
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the elements of the standard toolbar to mirror or rotate the object.
Use the Color Palette to change the line color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Configuring the Line Style
Line Style
The "Line Style" attribute defines the style in which a line appears. This enables, for
example, to display a line dotted or dashed.
A line with a line weight of 1 pixel can be displayed in two colors. I this case, a broken line
style must be selected and another color for the line selected in the background. If the
"Colors" property group defines the line color with the line background color identical, the
breaks in the line are not visible.
A rounded end sets the middle point of the circle at the end point of the line. The
diameter of the circle adapts to the line weight.
A rectangular end sets the middle point of a square at the end point of the line. The
width and the height of the square adapts to the line weight.
A flat line end ends the line at the end points.
The "Line Ends" attribute specifies in which style the ends of a line object appear. The ends
of a line object can have different shapes. For example, a line can begin with a dot and end
with an arrow.
Drawing a polyline
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a polyline.
The mouse pointer changes into a crosshair with an object symbol attached.
Click on the selected starting point with the left mouse button.
Click on every other desired corner of the polyline with the left mouse button.
Click once with the right mouse button to correct the last drawn section of the polyline.
Alternatively you can double click on the polyline in the Object Palette. A polyline with
default object properties is then inserted near the picture origin.
Changing a polyline
Select an object of the polyline type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the elements of the standard toolbar to mirror or rotate the object.
Use the Color Palette to change the line color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Changing corners
The positions of the corners can be changed with the attributes "Current Value X" and
"Current Value Y" in the "Object Properties" window. The position number of the current
selected corner is shown by the "Index" attribute in the "Geometry" property group.
Changing the value specified here enables targeted selection of a corner. A change of the
"Index" attribute for the current selected corner also changes the displayed value of the
attributes "Current Value X" and "Current Value Y".
You can also change corners by actions with the mouse:
Moving corners
Position the mouse pointer on the corner that is to be moved and drag it to the desired
position with the mouse button held down.
Inserting corners
Hold down the <ALT> key and insert another corner by double-clicking on a corner. The
additional corner is inserted between the clicked corner and the previously created corner.
Deleting corners
Position the mouse pointer of the corner that you want to delete. Hold down the <CTRL> key
and delete the corner by double-clicking on the left mouse button.
Configuring the Line Style
Line Style
The "Line Style" attribute defines the style in which a line appears. This enables, for
example, to display a line dotted or dashed.
A line with a line weight of 1 pixel can be displayed in two colors. I this case, a broken line
style must be selected and another color for the line selected in the background. If the
"Colors" property group defines the line color with the line background color identical, the
breaks in the line are not visible.
Five line styles are available for selection.
Line ends
The "Line End" attribute defines the appearance of the line end. The definition applies to
both ends of the line. Select one of the three following options:
A rounded end sets the middle point of the circle at the end point of the line. The
diameter of the circle adapts to the line weight.
A rectangular end sets the middle point of a square at the end point of the line. The
width and the height of the square adapts to the line weight.
A flat line end ends the line at the end points.
Corners
The "Corners" attributes defines the appearance of the corners where the lines connect. The
definition applies for all corners of an object. Select one of the three following options:
A rounded corner sets the middle point of a circle at the intersection of two line ends.
The diameter of the circle adapts to the line weight.
The two outer corner points of the connected lines are linked by a straight line. This
results in a beveled appearance of the corners.
A pointed corner corresponds to the real corner intersection of the connecting lines.
The "Line Ends" attribute specifies the style of the ends of a line object. The ends of a line
object can have different shapes. For example, a line can begin with a dot and end with an
arrow.
Drawing an ellipse
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert an ellipse.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the ellipse to the required size.
When you release the mouse button, the ellipse is finished.
Alternatively you can double-click on the ellipse in the Object Palette. An ellipse with default
object properties is then inserted near the picture origin.
If you hold down the <SHIFT> key when drawing the ellipse, the "Ellipse" object is created
in the shape of a circle.
Changing an ellipse
Select an object of the Ellipse type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Drawing a circle
Introduction
A circle is a closed object that can be filled with a color or pattern. A circle can be resized at
will.
Drawing a circle
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a circle.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the circle to the required size.
When you release the mouse button, the circle is finished.
Alternatively you can double click on the circle in the Object Palette. A circle with default
object properties is then inserted near the picture origin.
Circle
- change
Select an object of the circle type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the Color Palette to change the background color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Procedure
1
Place the mouse pointer on the position in the picture at which the center point of the
ellipse arch will be.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the ellipse arc to the required size.
The insertion process is finished as soon as you release the mouse button.
The start and end point of the ellipse arc are shown by small gray squares. Place the
mouse pointer on one of these squares.
The mouse pointer changes to a cross with a superimposed A (start angle) or E (end angle).
Drag the start or end point to the desired position while holding down the mouse button.
Alternatively you can double click on the ellipse arc in the Object Palette. An ellipse arc with
default object properties is then inserted near the picture origin.
If you hold down the <SHIFT> key while drawing, the "Ellipse Arc" object is created in the
shape of a circular arc.
Changing an ellipse arc
Select an object of the Ellipse Arc type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the elements of the standard toolbar to mirror or rotate the object.
Use the Color Palette to change the line color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
The length of the ellipse arc is set by the "Start Angle" and "End Angle" attributes. They
specify the angle in degrees by which the start and end angle of the object deviate from the
zero position (0).
The start and end point of the ellipse arc are shown by small gray squares. Place the mouse
pointer on one of these squares. The mouse pointer changes to a cross with a superimposed A
(start angle) or E (end angle).Drag the start or end point to the desired position while holding
down the mouse button.
Note:
Even if the values of the start and end angle are identical, an ellipse arc does not turn into a
closed ellipse.
Procedure
1
Place the mouse pointer on the position in the picture at which the center point of the
circular arc will be.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the circular arc to the required size.
The insertion process is finished as soon as you release the mouse button.
The start and end point of the circular arc are shown by small gray squares. Place the
mouse pointer on one of these squares.
The mouse pointer changes to a cross with a superimposed A (start angle) or E (end angle).
Drag the start or end point to the desired position while holding down the mouse button.
Alternatively you can double click on the circular arc in the Object Palette. A circular arc
with default object properties is then inserted near the picture origin.
Changing circular arc
Select an object of the Circular Arc type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the elements of the standard toolbar to mirror or rotate the object.
Use the Color Palette to change the line color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Configuring length of the circular arc
The length of the circular arc is set by the "Start Angle" and "End Angle" attributes. They
specify the angle in degrees by which the start and end angle of the object deviate from the
zero position (0).
The start and end point of the circular arc are shown by small gray squares. Place the mouse
pointer on one of these squares. The mouse pointer changes to a cross with a superimposed A
(start angle) or E (end angle).Drag the start or end point to the desired position while holding
down the mouse button.
Note:
Even if the values of the start and end angle are identical, a circular arc does not turn into a
closed circle.
Procedure
1
Place the mouse pointer on the position in the picture at which the center point of the
ellipse segment will be.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the ellipse segment to the required size.
The insertion process is finished as soon as you release the mouse button.
The start and end point of the ellipse segment are shown by small gray squares. Place the
mouse pointer on one of these squares.
The mouse pointer changes to a cross with a superimposed A (start angle) or E (end angle).
Drag the start or end point to the desired position while holding down the mouse button.
Alternatively you can double click on the ellipse segment in the Object Palette. An ellipse
segment with default object properties is then inserted near the picture origin.
If you hold down the <SHIFT> key while drawing, the "Ellipse Segment" object is created in
the shape of a pie segment.
Changing an ellipse segment
Select an object of the ellipse segment type if you wish to carry out one of the following
changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the elements of the standard toolbar to mirror or rotate the object.
Use the Color Palette to change the background color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Configuring size of the ellipse segment
The length of the ellipse segment is set by the "Start Angle" and "End Angle" attributes. They
specify the angle in degrees by which the start and end angle of the object deviate from the
zero position (0).
The start and end point of the ellipse segment are shown by small gray squares. Place the
mouse pointer on one of these squares. The mouse pointer changes to a cross with a
superimposed A (start angle) or E (end angle).Drag the start or end point to the desired
position while holding down the mouse button.
Note:
Even if the values of the start and end angle are identical, an ellipse segment does not turn
into a closed ellipse.
Procedure
1
Place the mouse pointer on the position in the picture at which the center point of the pie
segment will be.
The mouse pointer changes into a crosshair with an object symbol attached.
4
Hold down the mouse button and drag the pie segment to the required size.
The insertion process is finished as soon as you release the mouse button.
The start and end point of the pie segment are shown by small gray squares. Place the
mouse pointer on one of these squares.
The mouse pointer changes to a cross with a superimposed A (start angle) or E (end angle).
Drag the start or end point to the desired position while holding down the mouse button.
Alternatively you can double click on the pie segment in the Object Palette. A pie segment
with default object properties is then inserted near the picture origin.
Changing Pie Segment
Select an object of the pie segment type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the elements of the standard toolbar to mirror or rotate the object.
Use the Color Palette to change the background color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Configuring size of the pie segment
The size of the pie segment is set by the "Start Angle" and "End Angle" attributes. They specify
the angle in degrees by which the start and end angle of the object deviate from the zero position (0).
The start and end point of the pie segment are shown by small gray squares. Place the mouse
pointer on one of these squares. The mouse pointer changes to a cross with a superimposed A (start angle)
or E (end angle).Drag the start or end point to the desired position while holding down the
mouse button.
Note:
Even if the values of the start and end angle are identical, a pie segment does not turn into a
closed circle.
Drawing a rectangle
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a rectangle.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the rectangle to the required size.
When you release the mouse button, the rectangle is finished.
Alternatively you can double click on the rectangle in the Object Palette. A rectangle with
default object properties is then inserted near the picture origin.
If you hold down the <SHIFT> key while drawing, the "Rectangle" object is created in the
shape of a square.
Changing rectangle
Select an object of the Rectangle type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a rounded
rectangle.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the rounded rectangle to the required size.
When you release the mouse button, the rounded rectangle is finished.
Alternatively you can double click on the rounded rectangle in the Object Palette. A rounded
rectangle with default object properties is then inserted near the picture origin
If you hold down the <SHIFT> key while drawing, the "Rounded Rectangle" object is
created in the shape of a square.
Changing Rounded Rectangle
Select an object of the Rounded Rectangle type if you wish to carry out one of the following
changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the elements of the standard toolbar to mirror or rotate the object.
Use the Color Palette to change the background color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Changing corner radii
The radii for rounding the corners of the rounded rectangle are specified with the "corner
radius X" and "corner radius Y" attributes. They define the horizontal or vertical distance
between the corners of the rectangle around the object and the starting point of the corner
rounding. The value is specified as a percentage of the half width and the half height of the
object.
Note:
If the "Corner Radius X" and "Corner Radius Y" attributes are both set to the value 100%,
the rounded rectangle is displayed as an ellipse or circle. As soon as one of the two attributes
has the value 0%, a normal rectangle without rounded corners is displayed.
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert static text.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the text field to the required size.
The field for the static text is complete as soon as you release the mouse button.
A number of highlighted question marks are shown in the field.
Alternatively you can double-click on static text in the Object Palette. A static text with
default object properties is then inserted near the picture origin
If you hold down the <SHIFT> key while drawing, the "Static Text" object is created in the
shape of a square.
Changing static text
Select an object of the Static Text type if you wish to carry out one of the following changes:
If the connection type "Simple" is selected, the connecting points are connected by a straight
line.
The start and end of a selected connector can be highlighted by small colored rectangles to
show their status:
Inserting connectors
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a
connector.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the connector to the required size.
The insertion process is finished as soon as you release the mouse button.
The connector as a selected object is shown with green ends.
Alternatively you can double click on the connector in the Object Palette. A connector with
default object properties is then inserted near the picture origin.
Changing a connector
Select an object of the connector type if you wish to carry out one of the following changes:
Palettes and toolbars
Use the Color Palette to change the line color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Connecting objects
Procedure
1
Select the connector with which you want to connect two objects.
The beginning and end of the connector are symbolized by small green rectangles.
2
Drag the start of the connector to the first object that you want to connect without
releasing the mouse button.
The red connection points at the start of the object to be connected are shown.
Position the start of the connector on the desired connection point on the object.
The connection to the first object is established as soon as you release the mouse button.
The start of the selected connector is shown as red and the other unconnected end is
green.
Drag the end of the connector to the second object that you want to connect without
releasing the mouse button.
The red connection points at the end of the object to be connected are shown.
Position the end of the connector on the desired connection point on the second object.
When you release the mouse button, the connection is finished. The beginning and end of
the selected connector are now symbolized by red rectangles.
The positions of the connected objects can be changed as desired.
Changing connection
Select the connector and drag one end of the connector to the new position. For example, you
can connect the end to another connection point of the same object, or to a connection point
on a new object.
Alternatively you can change the attributes of the "Connected Objects" properties group in
the "Object Properties" window.
The type of connector can be changed within the "Connected objects" properties group using
the "Connection type" attribute. Select between the two connection types "Automatic" and
"Simple".
Releasing connection
Select the desired connector and press <DEL> to delete the "Connector" object.
properties). After insertion the properties of an object can be modified. In the same way the
default settings for the object types can be modified as required.
Overview
Icon
Object
Description
Control
Bar
Graphic
Object
Status
Display
The status display offers the option to display almost any number
of different states of an object. The states are implemented via
tags whose value corresponds to the respective state. The states
are displayed via the assigned pictures. The size and properties
which a status display accepts in Runtime are defined in the
Graphics Designer.
Text List
3D Bar
Group
Display
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert an
application window.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the application window to the required size.
The "Window Contents" dialog opens.
In the "Window Contents" dialog select the desired display option and confirm your input
with "OK".
The "Template" dialog opens.
In the "Template" dialog select a template for the selected display option and confirm
your input with "OK".
The insertion process for the "Application Window" object is finished.
Alternatively you can double-click the smart object "Application Window" in the object
palette. An application window with the default object properties is then inserted near the
picture origin.The "Window Contents" and "Template" dialogs open. The insertion process is
finished when you conform your inputs with "OK".
If you press and hold <SHIFT> during resize, the "Application Window" object becomes
square in shape.
Window display in runtime
The application window is displayed in runtime as a separate window within a process
picture. The characteristics of the window display can be configured with attributes of the
"Miscellaneous" properties group.
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a picture
window.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the picture window to the required size.
The insertion process is finished as soon as you release the mouse button.
Alternatively you can double click on the picture window in the Object Palette. A picture
window with default object properties is then inserted near the picture origin.
If you hold down the <SHIFT> key during insertion, the "Picture Window" object is created
in the shape of a square.
Changing a picture window
Actions with the mouse
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Specify picture zoom area
Double-click on the "Picture name" attribute and select a picture of the PDL format that you
want to display in the picture window.
Use the "Scaling Factor" attribute to specify the zoom factor for displaying the picture in the
picture window.
A process picture that is embedded in a picture window can only be displayed as a zoom
area. The origin of this zoom area is determined by the "Picture Offset X" and "Picture Offset
Y" attributes.
The "Control" object offers the option of integrating system process control and monitoring
elements into a picture. Controls are prefinished objects such as for example alarm windows,
measuring windows, selection dialog boxes or buttons. ActiveX Controls, WinCC Controls
and controls from other manufacturers are available if they are registered in the operating
system. These are changed as required and dynamically integrated into the process. The size
and properties which a control accepts in Runtime are defined in the Graphics Designer.
For the detailed description of the controls and their configuration dialogs see "Working with
Controls".
Requirements
Procedure
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a control.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the control to the required size.
The "Insert a Control" dialog opens.
See "Working with Controls" for the description of this dialog.
Select one of the controls registered in the operating system and confirm your input with
"OK".
The associated configuration dialog now opens for some controls.
For the detailed description of the controls and their configuration dialogs see "Working
with Controls".
Make the settings in the configuration dialog as required and confirm your input with
"OK".
The insertion process for the "Control" object is finished.
Alternatively you can select the desired control directly in the "Control" tab of the Object
Palette. Step 5 of the procedure described above is unnecessary in this case.
If you hold down the <SHIFT> key during insertion, the "Control" object is created in the
shape of a square.
The graphic object enables graphics created in other programs to be inserted into a picture.
Graphics and pictures in the following formats can be inserted: BMP, DIB, ICO, CUR, EMF,
WMF, GIF and JPG.
The size and properties which a graphic object accepts in Runtime are defined in the
Graphics Designer.
Requirements
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a graphic
object.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the graphic object to the required size.
The "Graphic Object Configuration" dialog opens.
Select the picture that you want to display in the graphic object.
The description of the configuration dialog can be found in the next section.
Alternatively you can double-click the smart object "Graphic Object" in the object palette. A
graphic object with default object properties is then inserted near the picture origin.The
"Graphic Object Configuration" dialog opens. The insertion process is finished when you
confirm your inputs with "OK".
If you hold down the <SHIFT> key during insertion, the "Graphic Object" object is created in
the shape of a square.
Configuring a graphic object
The "Graphic Object Configuration" dialog opens after the insertion process if the use of
configuration dialogs is enabled in the "Options" tab of the "Tools / Settings..." menu. It
enables fast configuration of the important features of the graphic object.
The configuration dialog can also be opened with the object's pop-up menu. Specific
attributes can be changed in the "Object Properties" window.
Preview
The picture selected in the picture selection is displayed as a preview.
Selection of Picture
The picture selection shows all pictures in the BMP, DIB, EMF and WMF formats that are in
the graphics directory "GraCS" of the current WinCC project.
Select the picture that you want to display in the graphic object. Click on the "Browse ..."
button to insert additional pictures from the picture selection.
See the "Select Pictures" section for the detailed description.
Changing Graphic Object
Select an object of the graphic object type if you wish to carry out one of the following
changes:
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the "Rotate" element of the standard toolbar to rotate the object.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Note:
If the "Picture Transparent Color On" attribute has the value "Yes" for a graphic object, the
available flash frequency is also reduced if necessary.
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a group
display.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the group display to the required size.
The insertion process is finished as soon as you release the mouse button.
Alternatively you can double-click the smart object "Group Display" in the object palette. A
group display with default object properties is then inserted near the picture origin.
If you hold down the SHIFTkey during insertion, the "Group Display" object is created in the
shape of a square.
Changing Group Display
Select an object of the group display type if you wish to carry out one of the following
changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the Color Palette to change the background color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Default Settings of Group Display
If you insert a picture into the group display, the group display will have five buttons. 11
message types and their respective colors and texts are assigned to those five buttons. You
may change the assignment and may configure three additional buttons. The default settings
of graphics objects are changed by using the property dialog (right mouse button) of the
default object selected in the object palette.
Message class
Message type
Bit 31 (MS-bit)
Alarm
AH
Bit 30
Alarm
AL
Bit 29
Warning
WH
Bit 28
Warning
WL
Bit 27
Tolerance
TH
Bit 26
Tolerance
TL
Bit 25
AS Process controlling
messages
Fault
Bit 24
AS Process controlling
messages
Fault
Bit 23
Maintenance request
Maintenance request
Bit 22
Process message
PM
Bit 21
not assigned
not assigned
Bit 20
Operator request
OR
Bit 19
OM
Bit 18
Status Message
Status AS
Bit 17
Status Message
Status OS
Bit 16
Message class
Message type
Bit 15
Alarm
AH acknowledged
Bit 14
Alarm
AL acknowledged
Bit 13
Warning
WH acknowledged
Bit 12
Warning
WL acknowledged
Bit 11
Bit 10
Bit 9
AS Process controlling
messages
Fault acknowledged
Bit 8
AS Process controlling
messages
Fault acknowledged
Bit 7
Maintenance request
MR acknowledged
Bit 6
Process message
PM acknowledged
Bit 5
not assigned
not assigned
Bit 4
Operator request
acknowledgment not
required for PCS 7
Bit 3
Operator request
acknowledgment not
required for PCS 7
Bit 2
Status message
acknowledgment not
Status message
acknowledgment not
required for PCS 7
Bit 0 (LS-bit)
You may assign any of the 16 message types to any bit and thereby change the default
settings. Configuration is performed in the "Message Type" property in property group
"Message Types".
Connecting a Group Display with a Self-Defined Tag
Independent of PCS 7, you may connect a group display with a tag. In this tag you will
assign individual bits on a need basis.
Procedure
1
Open the pop-up menu in the "Group Value" line, "Dynamic" column and select "Tag...".
The tag must be a 32-bit tag with sign.
Select a tag from the process level or from the internal tags in the "Tag selection"
window.
If an internal tag is used, it should have the start value 65535 (0x0000FFFF). This ensures
that, from the point of view of the group display, there are no unacknowledged messages
resent when started.
For individually configured group displays, the supplied acknowledgment sample of "3088"
is most likely not suitable for your project and must be adjusted.
The "Message Types" property group contains attributes with which you can set the display
of messages depending on the 16 message types.16 For example, each message type may be
visualized by an appropriate label and by color changes of the button.
Assigning Message Types to Buttons
In the "Assignment" object property of the group display you assign message types to the
buttons. Enter the respective bit numbers in the group value.
The buttons may have multiple assignments
with bit numbers corresponding to message classes. These are separated by "/".
with bit numbers corresponding to message types. These are separated by ",".
The sequence of entries determines their priority. The earliest entry is displayed with the
highest priority in case of concurrent events.
Lock Display
The "Lock" property group contains attributes with which you can change the view of locked
measuring points. The "Lock Display" attribute specifies for a group display, whether or not a
locked measuring point should be displayed. The lock applies to all buttons of the group
display, independent of which other events in the hierarchy are pending.
In the default settings for the group display, the fifth button is reserved for display of status
"Measuring point locked" by using "Group Value Bit 16". This allows to display not only
pending events in the hierarchy but also those locked in subordinate measuring points.
The OLE element enables files created in other programs to be inserted into a picture.
Therefore all OLE elements registered in the operating system can be integrated. The size
and properties which an OLE element accepts in Runtime are defined in the Graphics
Designer. No changes can be made to OLE elements in Runtime.
Requirements
Procedure
1
Open the picture into which you want to insert an OLE object and click on the smart
object "OLE object" in the Object Palette.
Place the mouse pointer at the position in the picture where you want to insert an OLE
object.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the OLE object to the required size.
The "Insert an object" dialog opens.
Procedure
1
Double-click on the OLE object to edit the embedded file in the OLE object.
The program that is registered in the operating system for editing the embedded file type
opens in the Graphics Designer.
2
Note:
An OLE object that you want to edit in a picture must be in the original path. If this is not the
case, double-clicking on the OLE object may affect the operation of the Graphics Designer.
After processing an OLE object, it can occur that the toolbars of the Graphics Designer are
no longer displayed. You can prevent this error after processing an OLE object if you first
close the server application (for example Excel or Paint) before exiting from the Graphics
Designer.
To restore the display of toolbars, proceed as follows:
1. Select all of the objects available in the active picture.
2. Open the "View" menu and select the entry "Toolbars...".
3. In the "Toolbars" dialog, click on the "Restore" button.
How to insert an OLE object with the "Create from file" option
Introduction
The OLE element enables files created in other programs to be inserted into a picture.
The "Create from file" option selects an existing file for display in the selected OLE object.
The selected file is edited in the OLE object with the program that is registered for editing
the selected file type in the operating system.
Requirements
Procedure
Procedure
1
Open the picture into which you want to insert an OLE object and click on the smart
object "OLE object" in the Object Palette.
Place the mouse pointer at the position in the picture where you want to insert an OLE
object.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the OLE object to the required size.
The "Insert an object" dialog opens.
Enter the directory path and the name of the desired file into the input field. Or click the
"Browse..." button to select the desired file with the "Browse" dialog.
Activate the "Link" control box if you do not want to copy the selected file into the OLE
object but only to link to it as a reference.
Activate the "As Symbol" control box if you only want to display a symbol for the
embedded file type and not the contents of the selected file.
The OLE element enables files created in other programs to be inserted into a picture.
The "Create new" option selects a file type for a new file that is created in the selected OLE
object in the "Insert object" dialog. The selected file is edited in the OLE object with the
program that is registered for editing the selected file type in the operating system.
Requirements
Procedure
Procedure
1
Open the picture into which you want to insert an OLE object and click on the smart
object "OLE object" in the Object Palette.
Place the mouse pointer at the position in the picture where you want to insert an OLE
object.
The mouse pointer changes into a crosshair with an object symbol attached.
3
Hold down the mouse button and drag the OLE object to the required size.
The "Insert an object" dialog opens.
Select the object type for the file that you want to create in the selected OLE object.
Activate the "As Symbol" control box if you only want to display a symbol for the
embedded file type and not the contents of the selected file.
Double-click on the OLE object to edit the embedded file in the OLE object.
The program that is registered in the operating system for editing the embedded file type
opens in the Graphics Designer.
The I/O Field can be defined as an input field, an output field or a combined input/output
field. The following data formats are available: binary, decimal, string and hexadecimal.
Limit values such as "Hidden Input" or "Accept on complete input" can also be specified.
The size and properties which an I/O Field accepts in Runtime are defined in the Graphics
Designer.
Requirements
The use of configuration dialogs must be enabled in the "Options" tab of the "Tools /
Settings..." menu.
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert an I/O
Field.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the I/O Field to the required size.
The "I/O Field Configuration" opens.
Enter the desired values into the fields of the configuration dialog.
The description of the configuration dialog can be found in the next section.
6
Alternatively you can double-click the smart object "I/O Field" in the object palette. An I/O
Field with default object properties is then inserted near the picture origin.The "I/O Field
Configuration" dialog opens. The insertion process is finished when you confirm your inputs
with "OK".
If you hold down the <SHIFT> key during insertion, the "I/O Field" object is created in the
shape of a square.
Changing I/O Field
Select an object of the I/O Field type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use elements of the default toolbar to mirror and rotate the object or to change the font.
Use the Color Palette to change the background color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Tag
The I/O Field can be set dynamically by embedding tags. Regardless of the selected field
type, the value of these tags can be displayed as output or changed by entering data.
Enter the name of the desired variable or click on the
symbol to open the "Tags Project: ..." dialog to select a tag. See the "Select Tag" section for the detailed description.
Update
The frequency of display update can be configured for the value displayed as output.
Enter the desired interval or select an interval from the dropdown list. See the "Update cycle"
section for the detailed description.
Field Type
The I/O Field can be defined as an input field, an output field or a combined input/output
field.
Specify the desired field type.
Font
The font for displaying input and output values can be changed regardless of the selected
field type.
Click one of the three possible buttons to open the associated dialogs.
The "Data Format" and "Field Type" attributes can be changed in the "Output / Input"
property group. A limit value cannot be specified for the "String" format.
Procedure
1
Depending on the setting of the attributes of the I/O Field, the value is accepted on
completion of input or the input must be finished by pressing <ENTER>.
How to define the output format for the "Binary" data type
Introduction
Four different data formats are available for the input and output of values in an I/O field.
Numerical values can be edited in binary, decimal or hexadecimal format. The "String" data
format must be specified for the I/O Field to display text.
Based on the specified data format, different output formats can be selected or freely defined
for displaying the field contents.
The definition for an output format can be rewritten as a sequence of formatting codes. The
formatting codes act as placeholders for a specific group of characters. For example, if a
formatting code for which only the display of the numbers 0-9 is preset for a specific position
in the display of an I/O Field, only letters can be input at this position.
Caution
If the value you want to display does not correspond exactly to the definition of the output
format, only three asterisks are displayed. This applies for the length of the entire character
string and also for the type and position of the individual characters.
Formatting codes - "binary" data type
1
Placeholder for the binary values 0 and 1. The number of the formatting code "1"
specifies the permissible number of positions for displaying a binary value.
If necessary a leading zero is placed before the binary value. The output format can
therefore begin with the formatting code "0", but can only have this once.
Output Format
Display
11
01
011
2 + leading zero
001
1111
1101
01111
4 + leading zero
01101
1111111
0011101
01111111
7 + leading zero
00011101
1111111111
10
10011101
01111111111
10 + leading zero
010011101
How to define the output format for the "Decimal" data type
Introduction
Four different data formats are available for the input and output of values in an I/O field.
Numerical values can be edited in binary, decimal or hexadecimal format. The "String" data
format must be specified for the I/O Field to display text.
Based on the specified data format, different output formats can be selected or freely defined
for displaying the field contents.
The definition for an output format can be rewritten as a sequence of formatting codes. The
formatting codes acts as placeholders for a specific group of characters. For example, if a
formatting code for which only the display of the numbers 0-9 is preset for a specific position
in the display of an I/O Field, only letters can be input at this position.
Caution
If the value you want to display does not correspond exactly to the definition of the output
format, only three asterisks are displayed. This applies for the length of the entire character
string and also for the type and position of the individual characters.
Formatting codes - "decimal" data type
Placeholder for the binary values 0 and 9. The number of the formatting code "9"
specifies the permissible number of positions for displaying a decimal value. If the
actual number of decimal places exceeds the number specified in the display format, the
displayed value is rounded out.
A comma defines the position for decimal point. The formatting code "," can be at any
position in the output format, but can only be used once.
Positive decimal numbers are displayed with signs. The formatting code "s" must be at
the first position of the output format and must be used only once.
Leading and following zeroes are displayed when the actual number of position before
and after the decimal point is less that the number set in the display format. The
formatting code "0" must be before the first "9" and must be used only once.
e
The decimal number is displayed in exponential format. The formatting code "e" must
be at the last position of the output format and must be used only once.
Output Format
Display
999
124
999,9
123,5
s999.9
4 + sign
+123,5
999,999
123,456
09999,9999
8 + zeroes
0123,4560
s09999.9999
8 + sign + zeroes
+0123,4560
1111111111
10
10011101
9.99999e
1.23456e+002
Note:
If a floating point number is saved in the IEEE format of the S5, an output format that allows
the sign and exponent should be used for display in an I/O Field (e.g. s0999.999e).
The "Bar" object offers the option of displaying values graphically. The values can also be
displayed in a combined view as graphics with freely definable number scale. The size and
properties which a bar accepts in Runtime are defined in the Graphics Designer.
Requirements
Inserting bar
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a bar.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the bar to the required size.
The "Bar Configuration" dialog opens.
Enter the desired values into the fields of the configuration dialog.
The description of the configuration dialog can be found in the next section.
6
Alternatively you can double-click the smart object "Bar" in the object palette. A bar with
default object properties is then inserted near the picture origin. The "Bar Configuration"
dialog opens. The insertion process is finished when you confirm your inputs with "OK".
If you hold down the <SHIFT> key during insertion, the "Bar" object is created in the shape of
a square.
Changing bar
Select an object of the bar type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use elements of the default toolbar to mirror and rotate the object or to change the font.
Use the Color Palette to change the background color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Tag
The display value of the bar can be dynamically changed by embedding a tag.
Enter the name of the desired variable or click on the
symbol to open the "Tags Project: ..." dialog to select a tag. See the "Select Tag" section for the detailed description.
Update
The frequency of updating the value displayed by the bar can be configured for the value
displayed as output.
Enter the desired interval or select an interval from the dropdown list. See the "Update cycle"
section for the detailed description.
Limits
The two ends of the bar view are specified by the maximum value and the minimum value of
the bar.
Enter the desired limits for the bar display. See the "Change maximum value" and "Change
minimum value" for the detailed description.
Bar Alignment
Specify the direction of the coordinate axis to which the maximum value of bar points.
See the "Changing bar direction of the bar" section for the detailed description.
Name
Alarm limit A
Warning limit W
Tolerance limit T
Reserve 4 R4
Reserve 5 R5
AH Alarm High
WH Warning High
TH Tolerance High
RH4 Reserve High 4
RH5 Reserve High 5
AL Alarm Low
WL Warning Low
TL Tolerance Low
RL4 Reserve Low 4
RL5 Reserve Low 5
Common: Limit X
The status display offers the option to display almost any number of different states of an
object. The states are implemented via tags whose value corresponds to the respective state.
The states are displayed via the assigned pictures. The size and properties which a status
display accepts in Runtime are defined in the Graphics Designer.
Requirements
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a status
display.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the status display to the required size.
The "Status Display Configuration" dialog opens.
Enter the desired values into the fields of the configuration dialog.
The description of the configuration dialog can be found in the next section.
Alternatively you can double-click the smart object "Status Display" in the object palette. A
line with default object properties is then inserted near the picture origin.The "Status Display
Configuration" dialog opens. The insertion process is finished when you confirm your inputs
with "OK".
If you hold down the <SHIFT> key during insertion, the "Status Display" object is created in
the shape of a square.
Changing Status Display
Select an object of the Status Display type if you wish to carry out one of the following
changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the Color Palette to change the line color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Tag
The value of the status you want to display can be set dynamically by embedding a tag.
Enter the name of the desired variable or click on the
symbol to open the "Tags Project: ..." dialog to select a tag. See the "Select Tag" section for the detailed description.
Update
The frequency of updating the display can be set for the status display.
Enter the desired interval or select an interval from the dropdown list. See the "Change
Update cycle" section for the detailed description.
Status list
The status list shows the linked pictures and the specified flash frequency for all configured
states.
States can be inserted and every setting can be changed with a pop-up menu. Pictures of the
picture selection can be referenced by dragging them with the mouse to the required position
in the state list. See the "Configuring Status" section for the detailed description.
Bit Position
A state can also be assigned to a specific bit position on the tag.
Click on the arrow key to select a bit position. Click the "Add" button to enter a state for this
bit position in the state list. Click on the "Add" button again to insert the next higher bit position.
See the "Configuring Status" section for the detailed description.
Preview
The picture selected in the picture selection is displayed as a preview.
Selection of Picture
The picture selection shows all pictures in the graphics directory "GraCS" of the current
WinCC project. Graphics and pictures of the following formats can be inserted:
BMP, DIB, ICO, CUR, EMF, WMF, GIF and JPG.
Drag a picture in the picture selection to the desired position in the status list with the mouse
to set its status as a basic picture or a flash picture. Click on the "Browse ..." button to insert
additional pictures from the picture selection.
See the "Select Pictures" section for the detailed description.
The status display is divided into four columns, the width of which can be changed by
moving the separation lines. Every line of the status list shows the settings for a specific
state. Clicking on the exact position of a setting opens the pop-up menu. The following
settings can be configured in the status list:
Column State
shows the value of a configured status. States can be inserted or deleted. The
command "Clear List" of the pop-up menu removes all states to which no pictures are
assigned.
Column Basic Picture
Shows the name of the picture that is shown when the status occurs during runtime.
The basic picture of a status can be deleted with the pop-up menu.
Column Flash
Shows the specified flash frequency. The values "no flashing", "Slow", "Medium"
and "Fast" can be set with the pop-up menu.
Inserting status
Select the position in the "State" column at which you wish to insert a status. Select the entry
"Add" in the pop-up menu. The status for the next free position is inserted.
Inserting status as bit position
Click on the arrow key to select a bit position. Click the "Add" button to enter a state for this
bit position in the state list. The value selected as bit position is increased by one position.
Click on the "Add" button again to insert the next higher bit position.
Renaming status
Double-click the position in the state column at which you wish to rename a status. Enter the
new value and confirm your input with <ENTER>. If the new is already assigned, no change
is made.
Deleting status
Select the position in the state column at which you wish to delete a status. Select the entry
"Delete" in the pop-up menu. The status is deleted so long as at least one additional status is
configured.
Clearing status list
Open the pop-up menu at any status in the state column and select the entry "Clear List". All
states to which no pictures are assigned are cleared.
ZAssigned pictures
Select the picture in the picture selection that you want to assign a status as basic picture or
flash picture. Drag the picture to the desired position with the mouse. An existing picture is
replaced by the new picture.
Delete pictures
Select the entry "Delete" in the pop-up menu of a configured picture to remove the picture
from the status list.
Changing flash
If a status is assigned only one basic picture, the associated flash automatically receives the
"no flashing" attribute. If a basic picture and flash picture are assigned to a status, you can
change the flash with the pop-up menu.
Requirements
The use of configuration dialogs must be enabled in the "Options" tab of the "Tools /
Settings..." menu.
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a text list.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the text list to the required size.
The "Text List Configuration" dialog opens.
Enter the desired values into the fields of the configuration dialog.
The description of the configuration dialog can be found in the next section.
Alternatively you can double-click the smart object "Text List" in the object palette. A text
list with default object properties is then inserted near the picture origin. The "Text List
Configuration" dialog opens. The insertion process is finished when you confirm your inputs
with "OK".
If you hold down the <SHIFT> key during insertion, the "Text List" object is created in the
shape of a square.
Note:
If you assign a text to a value in the text list, the text must not include a semicolon.
The semicolon is a WinCC control character and will be automatically deleted in a text.
Changing text list
Select an object of the text list type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use elements of the default toolbar to mirror and rotate the object or to change the font.
Use the Color Palette to change the background color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Tag
The text list can made dynamic by embedding a tag. Regardless of the selected field type, the
value of these tags can be displayed as output or changed by entering data.
Field Type
The text list can be defined as an input list, an output list or as a combined input/output list.
Specify the desired field type.
Font
The font for displaying input and output values can be changed regardless of the selected
field type.
Click one of the three possible buttons to open the associated dialogs.
The "Apply on Exit" attribute specifies whether the input is applied when you exit the text
list with <TAB> or by clicking the mouse.
Specifying text reference
The "Text Reference" attribute specifies where the language-dependent assignment texts are
stored. The texts can be managed directly in the object or in the text library where the
translation into other languages is made.
Configuring assignments
The "Assignments" attribute in the "Input/Output" properties group allows specification of
display texts. The display texts are displayed depending on the current "Output Value" in the
text list.
Note:
If you assign a text to a value in the text list, the text must not include a semicolon.
The semicolon is a WinCC control character and will be automatically deleted in a text.
Procedure
Select a range type from the dropdown list field to specify the desired value range:
"Single Value" - a display text is assigned to one single value.
"From Value" - A display text applies to all values greater than or equal to that specified
here.
"To Value" - A display text applies to all values lesser than or equal to that specified here.
"From To Value" - A display text applies to all values of the value range specified here.
Enter the text that you want to display for this value or value range. The text must not
include a semicolon.
Sorting assignments
Select the assignments that you want to sort. Click on the "Up" or "Down" button to move
these assignments to the assignments list.
Deleting assignments
Select the assignments that you want to delete in the assignments list and click on the
"Delete" button.
Introduction
The text list offers the option of assigning specific values to a text. The "Assignments"
attribute in the "Input/Output" properties group allows display texts to be specified. The
display texts are displayed depending on the current "Output Value" in the text list.
Display texts are assigned by bit number for the "Binary" list type. Up to 32 display texts can
be defined. If a bit set in the output value is not assigned a display text, three asterisks appear
in the drop-down list.
Requirements
Procedure
1
Enter the bit number that you want to assign to a display text.
Enter the desired display text. The text must not include a semicolon.
Sorting assignments
Select the assignments that you want to sort. Click on the "Up" or "Down" button to move
these assignments to the assignments list.
Deleting assignments
Select the assignments that you want to delete in the assignments list and click on the
"Delete" button.
Requirements
Defining assignments
Enter the desired display text for the states 0 and 1 and confirm the assignments with "OK".
The display text must not include a semicolon.
The Windows objects are elements familiar from Windows applications such as buttons,
check boxes, option groups and sliders. A round button can also be designed. The objects can
be modified and made dynamic in many ways. They enable you to operate process events
and to control processes.
In the Graphics Designer, the various object types have default properties. When they are
inserted the objects import these default properties (except for individual geometric
properties). After insertion the properties of an object can be modified. In the same way the
default settings for the object types can be modified as required.
Overview
Icon
Object
Description
Button
Checkbox
Round
Button
Slider
Inserting a checkbox
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a
checkbox.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the checkbox to the required size.
The insertion process is finished as soon as you release the mouse button.
Alternatively you can double-click the Windows object "Checkbox" in the object palette. A
checkbox with default object properties is then inserted near the picture origin.
If you hold down the <SHIFT> key during insertion, the "Checkbox" object is created in the
shape of a square.
Changing a checkbox
Select an object of the checkbox type if you wish to carry out one of the following changes:
fields of the checkbox. The value of the attribute "Selected Boxes" is specified in
hexadecimals.
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert an option
group.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the option group to the required size.
The insertion process is finished as soon as you release the mouse button.
Alternatively you can double-click the Windows object "Option Group" in the object palette.
An option group with default object properties is then inserted near the picture origin.
If you hold down the <SHIFT> key during insertion, the "Option Group" object is created in
the shape of a square.
fields of the checkbox. The value of the attribute "Selected Box" is specified in
hexadecimals.
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a round
button.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the round button to the required size.
The insertion process is finished as soon as you release the mouse button.
Alternatively you can double-click the Windows object "Round Button" in the object palette.
A round button with default object properties is then inserted near the picture origin.
Inserting a button
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a button.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the button to the required size.
The "Button Configuration" dialog opens.
Enter the desired values into the fields of the configuration dialog.
The description of the configuration dialog can be found in the next section.
Alternatively you can double-click the Windows object "Button" in the object palette. A
button with default object properties is then inserted near the picture origin. The "Button
Configuration" dialog opens. The insertion process is finished when you confirm your inputs
with "OK".
If you hold down the <SHIFT> key during insertion, the "Button" object is created in the
shape of a square.
Changing a button
Select an object of the button type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the "Rotate" element of the standard toolbar to rotate the object.
Use the Color Palette to change the background color.
Use elements of the Style Palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Text
The button can display a text that describes its function.
Enter the desired text. Only one text line is available in the configuration dialog. Multiline
text can be input by changing the "Text" attribute in the "Object Properties" window. You can
find the detailed description in the "Changing field labels with the "Text" attribute" section.
Font
The text display font can be changed.
Click one of the two possible buttons to open the associated dialogs. You can find the
detailed description of the dialogs in the sections "Changing the Font" and "Changing Font
Color".
Operation
An authorization can be assigned for operation of the button. A hot key can also be defined
for the button, which allows operation with a key or key combination.
Click one of the two possible buttons to open the associated dialogs. You can find the
detailed description of the dialogs in the "Set hot key for navigation in runtime" section.
Change Picture on Mouse Click
An event can be designed for the selected button with this function. If the button is clicked
with the mouse, the display of the process picture specified here is opened.
Enter the name of the desired picture or click on the
symbol to open the "Pictures:"
dialog to select a picture. The "Pictures:" dialog shows all pictures of the PDL format that are
in the "GraCS" graphics directory of the current WinCC project.
You can find the detailed description in "Making Process Pictures Dynamic".
Note:
You must not use the "Change Picture on Mouse Click" function in the Basic Process Control
area.
The name of the picture that you want to display can be configured in the "Insert Button"
dialog. Alternatively you can also change the configured direct connection in the "Events"
tab of the "Object Properties" window. You can find the detailed description in "Making
Process Pictures Dynamic".
Setting hot keys
As an alternative to operation with the mouse, a button can also be triggered using the
keyboard. To do so, a hotkey must be set.
Double-click on the "Hot key" attribute in the "Miscellaneous" property group of the "Object
Properties" window. Select one of the function keys with the mouse or enter a key or key
combination. If a hotkey has been defined for a button, an arrow is displayed in the object
properties beside the "Hotkey" attribute.
Note:
If a group is to be operated with a hot key, the hot key must be assigned to the single
"Button" object in the group only. A hot key assigned to the entire group will not work in
runtime.
Setting authorizations
The User Administrator editor is used in WinCC to assign authorizations for the users. An
authorization can be assigned for every object in the Graphics Designer. Only the user with
the appropriate authorization can operate this object.
Double-click on the "Authorization" attribute in the "Miscellaneous" property group of the
"Object Properties" window. Select one of the available authorizations.
Note:
To operate the button in runtime, the "Operator-Control Enable" and "Display" attributes
must have the value "Yes". The value of the "Authorization" attribute must contain the access
authorization of the current user.
Inserting a slider
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a slider.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the slider to the required size.
The "Slider Configuration" dialog opens.
Enter the desired values into the fields of the configuration dialog.
The description of the configuration dialog can be found in the next section.
Alternatively you can double-click the Windows object "Slider" in the object palette. A slider
with default object properties is then inserted near the picture origin. The "Slider
Configuration" dialog opens. The insertion process is finished when you confirm your inputs
with "OK".
If you hold down the <SHIFT> key during insertion, the "Slider" object is created in the
shape of a square.
Changing a slider
Select an object of the slider type if you wish to carry out one of the following changes:
Tag
The slider can made dynamic by embedding a tag.
Enter the name of the desired tag or click on the
symbol to open the "Tags - Project: ..."
dialog to select a tag. See the "Select Tag" section for the detailed description.
Update
The frequency of updating the value displayed by the slider can be configured.
Enter the desired interval or select an interval from the dropdown list. See the "Changing
update cycle" section for the detailed description.
Limits
The two holders of the slider are specified by the maximum value and the minimum value of
the slider. Setting operation steps specifies the number of increments by which the slider is
moved when the mouse is clicked on the slider.
Enter the desired limits and the number of operation steps for displaying the slider.
Alignment
Specify whether the slider is moved horizontally or vertically.
The value range of the required operation steps and the appearance of the "Slider" object can
be configured as required by changing the relevant attributes.
Setting scale end values and zero point value
The "Maximum value" attribute specifies the absolute value for displaying the highest value.
The "Minimum value" attribute specifies the absolute value for displaying the lowest value.
The "Zero Point Value" attribute specifies the absolute value for the zero point of the bar.
Operation Steps
The "Operation Steps" attribute specifies for the slider the number of steps the slider is
moved in the corresponding direction with one mouse-click on the slide surface.
The number of times the slide surface has to be clicked to move the slider from one end to
the other is calculated as follows:
("Maximum Value" "Minimum Value") / "Operation Steps".
Example:
With maximum value = 100, minimum value = 0, operation steps = 25, the slide surface must
be clicked four times to move the slider from one end to the other.
Alignment
The "Alignment" attribute defines for the "Slider" object whether the movement of the slider
is in a horizontal or vertical direction.
Windows Style
The "Windows Style" attribute specifies whether the style for displaying the objects in the
Graphics Designer is set or the operating system defaults are used.
The controls provided by WinCC can be changed as required and embedded dynamically in
the process. The size and properties which a control accepts in Runtime are defined in the
Graphics Designer.
This chapter shows you
Introduction
ActiveX Controls serve for the monitoring and visualization of measured values and
system parameters. By appropriate dynamics they can be employed as control
elements of the process control.
The WinCC Controls and Symbol Library are installed during installation of WinCC.
Overview
Detailed descriptions on the following controls can be viewed via the links in the
Menu Bar.
Control
Abbreviation
Function
WinCC Function
Trend Control
Function Trend
Control
Online Table
Control
Push Button
If the Smart Object "Control" is inserted, the selection of the desired control is done during
the insertion process from the dialog "Insert Control". Here you can see all ActiveX controls
that are registered in the operating system.
Caution
The use of ActiveX Controls from third party providers can lead to errors as well as drops in
performance or system blocks. The user of the software is responsible for problems cause by
the deployment of external ActiveX Controls.
We recommend you to do a check on safe functioning before use.
At the end of the insertion process normally a configuration dialog is opened, which the
properties of the control are adapted to. This dialog can opened later by a double click on the
control. Detailed description of the configuration dialog can be found in the descriptions of
the related controls.
When an object is inserted, the object name assigned as standard is the description of the
control with a consecutive number. This name can be changed with the attribute "Object
Name" in the window "Object Properties".Procedure
Procedure
1
Place the mouse pointer at the position in the picture where you want to insert a control.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the control to the required size.
3
The dialog "Insert a Control" is opened.
Select one of the controls that are registered in the operating system. Click on "OK" to
apply the selection.
The associated configuration dialog now opens for some controls.
Adopt the settings of the configuration dialog as needed. Confirm the input with "OK".
The insertion process for the "Control" object is finished.
Alternative Operation
Double click in the object palette on the Smart Object "Control", in order to insert it with the
default properties into the process screen. Select the desired control in the dialog "Insert a
Control".
How to Insert a Control from the Tab "Controls"
Introduction
An ActiveX control is inserted from the object palette into a process screen. Controls can be
entered as Smart Object or from the tab "Controls".
If a control is inserted from the tab "Controls", the selection of the selected control is done at
the beginning of the insertion process. The tab "Controls" shows a default selection of
WinCC Controls, which can be inserted directly into a process screen. This control selection
can be configured if necessary.
At the end of the insertion process normally a configuration dialog is opened, which the
properties of the control are adapted to. This dialog can opened later by a double click on the
control. Detailed description of the configuration dialog can be found in the descriptions of
the related controls.
When an object is inserted, the object name assigned as standard is the description of the
control with a consecutive number. This name can be changed with the attribute "Object
Name" in the window "Object Properties".
Procedure
Procedure
1
In the Object Palette, click on the tab "Control". Select the desired control.
Place the mouse pointer at the position in the picture where you want to insert the control.
The mouse pointer changes into a crosshair with an object symbol attached.
Hold down the mouse button and drag the control to the required size.
The associated configuration dialog now opens for some controls.
Adapt the settings of the configuration dialog according to your needs and confirm the
entry with "OK".
The insertion process for the selected control is finished.
Alternative Operation
Double click in the object palette on the desired control, in order to insert it with the default
properties into the process screen.
The dialog "Select OCX Controls" shows in the area "Available OCX controls (number)" all
the ActiveX controls, which are registered in the operating system. The exact number is
shown in the title of the area after the registration has been read in. A red check marks the
controls, which are available in the tab "Controls" of the Object Palette. In the area "Details"
you can see the path and the program ID of the selected ActiveX controls.
Open the dialog "Select OCX Controls"
Click with the right mouse button on the tab "Controls". In the pop-up menu, select the entry
"Add / Remove". The dialog "Select OCX Controls" is opened.
You can open the dialog "Select OCX Controls" also from the WinCC Explorer. Click in the
navigation window with the right mouse button onto the entry "Graphics Designer". Select
the entry "Select ActiveX Control" in the pop-up menu
as Smart Object
The Smart Object "Control" is inserted from the tab "Standard" of the Object Palette.
The Symbol Library is selected in the dialog "Insert a Control".
The selection of the desired symbols is done after the insertion procedure in the
configuration dialog which is opened by a double click on the control.
from the tab "Controls"
The control "Siemens HMI Symbol Library" is inserted directly from the tab
"Controls" of the Object Palette.
The selection of the desired symbols is done after the insertion procedure in the
configuration dialog which is opened by a double click on the control.
from the library of the Graphics Designer
The control "Siemens HMI Symbol Library" is integrated as a unique folder into the
library of the Graphics Designer.
The desired symbol is selected directly and inserted from the library. The properties
of the symbols can be changed in the configuration dialog, which is opened by a
double click on the symbol.
Open the dialog "Properties of Siemens HMI Symbol Library" with a double click on
the symbol to be changed.
Select the tab "Symbols".
Preview
In the area at the top left, the symbol selected in the selection will be displayed. All settings
of the dialog "Siemens HMI Symbol Library" are displayed in the preview.
Categories
In the area at the bottom left all categories containing symbols of the Symbol Library are
displayed.
Select the category that contains the desired symbol. In the selection all symbols of the
selected category are displayed.
Selection
The right area displays all the symbols available for the selected category.
Position the mouse pointer on a symbol, to show a short description.
Click on the desired symbol to select it. The selected symbol is displayed in the preview.
Open the dialog "Properties of Siemens HMI Symbol Library" with a double click on
the symbol to be changed.
:
Alignment
In the bottom left area the alignment of the symbol in the current screen can be changed. The
symbol can be reflected and rotated.
Set reflection
Open the drop-down list box and select the desired reflection type.
The reflecting of the screen contents are carried out on the horizontal or vertical central axis
of the symbol respectively. The reflection can be done horizontally, vertically or horizontally
and vertically at the same time.
Set rotation
Open the drop-down list box and select the desired angle for the rotation.
The rotation of the screen contents is done around the central axis of the symbol. The rotation
is done counter-clockwise in steps of 90, 180 or 270 degrees.
You can use the tab "Style" in the dialog "Properties of Siemens HMI Symbol Library" to set
different options. The display and the alignment of the selected symbols can be customized.
In the area at the top left, the symbol selected in the selection of the tab "Symbols" will be
displayed. All settings of the dialog "Siemens HMI Symbol Library" are displayed in the
preview.
Requirements
Open the dialog "Properties of Siemens HMI Symbol Library" with a double click on
the symbol to be changed.
Appearance form
Open the drop-down list box and select the desired appearance form for the screen contents.
Original
The appearance form of the symbol corresponds to the multi-colored display in the selection
of the tab "Symbols".
Shadow
Lines of the color "Black" are maintained as contour lines. Elements of the symbols in other
colors are displayed as light grades of the current foreground color.
Solid
Lines of the color "Black" are maintained as contour lines. All the elements of the symbol in
other colors are assigned the color value of the current foreground color.
Border
Lines of the color "Black" are maintained as contour lines. All the elements of the symbol in
other colors are assigned the color value of the background color.
Background
Open the drop-down list box and select the desired background type.
The background can be displayed either "Nontransparent" or "Transparent".
Customize
Click on the control box next to the option "Customize", in order to enable or to disable the
option.
When selecting the option "Customize", the screen contents are adapted to the object size of
the selected symbol.
Open the dialog "Properties of Siemens HMI Symbol Library" with a double click on
the symbol to be changed.
Characteristics
Select the color attribute you want to change.
The "Blinking color" acquires the symbol in the blinking state. The flashing is only visible in
runtime. With the "Background Color" you can display the background of the symbol for the
background type "Nontransparent". In the appearance forms "Shadow" and "Solid", the
symbol is shown in the "Foreground color".
Color group
Select one of the color groups in the drop-down list box. The related colors are displayed in
the area "Color palette".
The color group "Standard colors" contains the 16 standard colors of the operating system
The color group "Windows system colors" contains the colors which are set in the operating
system currently as the display options in the system start.
Color palette
Select the desired color Click on "Accept" in order to assign the color to the color attribute.
Edit customized color
Click on this button to open the dialog "Colors". Depending on the graphic settings of the
operating system you can define the desired color freely.
as Smart Object
The Smart Object "Control" is inserted from the tab "Standard" of the Object Palette.
The Clock Control is selected in the dialog "Insert a Control".
The properties of the control are changed in the configuration dialog "Properties of the
WinCC Digital/Analog Clock Control" or in the window "Object Properties".
Pointer Width in %
For the analog display you can set the width of second, minute and hour display. The values
are understood as percent share of the pointer length.
Pointer Length in %
For the analog display you can set the length of second, minute and hour display. The values
are understood as percent spare at the radius of the dial.
Analog Display
Select between analog and digital display of the clock.
Dial
Hide or unhide the hour marks for the analog display.
Square
Select whether the analog clock shall be displayed always in square form.
Line Pointer
Specify whether for the analog display only the border or also the filling color of the pointer
will be displayed.
Background Style
Select "Nontransparent" in order to display the analog clock with a frame. With "Transparent
Border" the colored Dial is displayed without border. Select "Transparent", in order to
display the analog clock without background.
Characteristics
The currently selected property is displayed.
Font
Select the desired font for the digital display of the clock from the drop-down list box. You
can use any of the fonts registered in the operating system.
Font size
Select the desired font size for the digital display of the clock from the drop-down list box.
You can also input the type size directly into the field. The value is specified in the unit
points (pt).
Display
Select one or more display options.
The select font can be displayed in "Bold", "Italic", "Underlined" and "Strikethrough".
Sample text
The selected settings are displayed in a preview.
Requirements
Characteristics
Select the color attribute you want to change.
Color group
Select one of the color groups in the drop-down list box. The related colors are displayed in
the area "Color palette".
The color group "Standard colors" contains the 16 standard colors of the operating system
The color group "Windows system colors" contains the colors which are set in the operating
system currently as the display options in the system start.
Color palette
Select the desired color Click on "Accept" in order to assign the color to the color attribute.
Edit customized color
Click on this button to open the dialog "Colors". Depending on the graphic settings of the
operating system you can define the desired color freely.
Browse
Click on "Browse", in order to open the dialog "Find picture". Select the graphic file, which
you want to assign the selected property to.
You can use graphic files of the following formats:
BMP, DIB, ICO, CUR, EMF, WMF, GIF and JPG
Delete
Click on "Delete", in order to delete the assigned image.
as Smart Object
The Smart Object "Control" is inserted from the tab "Standard" of the Object Palette.
The Control is selected in the dialog "Insert a Control".
Double click on the control to open the "Properties of WinCC Gauge Control" dialog.
Square
Select whether the gauge shall be displayed always in square form.
Background Style
Select "Nontransparent" in order to display the gauge with a frame."Transparent Border"
hides the frame. With "Transparent" only the scale of the gauge will be displayed.
Mouse Control
The mouse pointer can be shown in runtime, if it is placed on the symbol.
Introduction
With the tab "General" you can set the measurement area to be controlled. In addition, you
can configure the display of the scale.
Requirements
Double click on the control to open the "Properties of WinCC Gauge Control" dialog.
Minimum Value
Specify the lower limit value of the measurement area. This value is displayed as the bottom
scale end value.
Maximum Value
Specify the upper limit value of the measurement area. This value is displayed as the upper
scale end value.
Value
Specify a start value for the pointer of the gauge. If Process Driver Connections are missing,
this value is shown in runtime.
Minimum angle
Enter the angle for the display of the scale start. The value is given in degrees, starting from
the zero state.
Maximum angle
Enter the angle for the display of the scale end. The value is given in degrees, starting from
the zero state.
Line width
Enter the distance of the main part lines as the difference of two neighbor measurement
values. The area between two main part lines is divided by default by a wider part line of half
the length.
Scale width
Specify the length of the main part line and therefore the width of the scale. The value is
given in decimal form as percent share on the radius of the gauge.
Scale offset
Specify the outer radius of the scale. The value is given in decimal form as percent share on
the radius of the gauge.
Line text offset
Specify the inner radius of the scale labeling. The value is given in decimal form as percent
share on the radius of the gauge.
Decimal Point
The values of the scale labeling can be displayed as whole numbers or as decimal numbers
with one decimal place.
Double click on the control to open the "Properties of WinCC Gauge Control" dialog.
Danger
Set the limit value for the start of the danger area.
Warning
Set the limit value for the start of the warning area.
Danger Display
The scale area starting at the limit value "Danger" can be shown in the "Danger color"
(default: red).
Caution Display
The scale area starting at the limit value "Warning" can be shown in the "Warning color"
(default: yellow).
Normal Display
The scale area ending at the limit value "Warning" can be shown in the Normal "color"
(default: green).
Double click on the control to open the "Properties of WinCC Gauge Control" dialog.
Characteristics
Select the labeling attribute you want to change.
Select the "Labeling font", in order to change the font for the name of the gauge. "Unit font"
changes the font for the display of the physical unit. You can configure the scale labeling
with the "Scale text font".
Font
Select from the drop-down list box the desired font for the selected labeling attribute. You
can use any of the fonts registered in the operating system.
Font size
Select from the drop-down list box the desired font size for the selected labeling attribute.
You can also input the type size directly into the field. The value is specified in the unit
points (pt).
Display
Select one or more display options.
The select font can be displayed in "Bold", "Italic", "Underlined" and "Strikethrough".
Sample text
The selected settings are displayed in a preview.
Introduction
Use the "Color" tab to adapt the colors for displaying the gauge control.
Requirements
Double click on the control to open the "Properties of WinCC Gauge Control" dialog.
Characteristics
Select the color attribute you want to change.
Color group
Select one of the color groups in the drop-down list box. The related colors are displayed in
the area "Color palette".
The color group "Standard colors" contains the 16 standard colors of the operating system
The color group "Windows system colors" contains the colors which are set in the operating
system currently as the display options in the system start.
Color palette
Select the desired color Click on "Accept" in order to assign the color to the color attribute.
Edit customized color
Click on this button to open the dialog "Colors". Depending on the graphic settings of the
operating system you can define the desired color freely.
Requirements
Double click on the control to open the "Properties of WinCC Gauge Control" dialog.
Characteristics
Select the property for which you want to change the image assignment. In the area
"Preview" the current image is displayed.
You can use the "Background image" to assign an image to the circle formed background of
the gauge. With "Border image" you can assign an image the rectangular background of the
control.
Browse
Click on "Browse", in order to open the dialog "Find picture". Select the graphic file, which
you want to assign the selected property to.
You can use graphic files of the following formats:
BMP, DIB, ICO, CUR, EMF, WMF, GIF and JPG
Delete
Click on "Delete", in order to delete the assigned image.
Requirements
A process picture, which is found in the project, must be defined as the start picture.
Changes in a picture can only be displayed in runtime, when the picture was saved
before runtime was activated.
Activating Runtime
Runtime is executed in the "WinCC-Runtime" program window. The "Runtime" command is
used to load additional program modules, which are required for the execution of runtime.
WinCC Explorer
Click on this button in the toolbar to open runtime with the predefined start picture.
As an alternative, you can select "Activate" in the "File" menu. When runtime is activated
this will be indicated by a tick in front of the entry "Activate".
Graphics Designer
Click on this button in the default toolbar to open runtime with the active picture.
As an alternative, you can select "Runtime" in the "File" menu.
Deactivating Runtime
Runtime can only be deactivated from WinCC Explorer.
Introduction
The behavior of process pictures, which were created and dynamized in Graphics Designer,
can be tested in runtime. Furthermore, changes made to the configuration of a picture can be
checked directly in runtime.
Prerequisite
Procedure
Procedure
1
Click on the
button in the default toolbar.
The active picture will be saved with the changes you made.
Click on the
button in the default toolbar.
The active picture will be activated in runtime and can be tested in the "WinCC-Runtime"
program window.
Repeat steps 2 - 4 to make further changes.
"General"
tabbed card Configure the computer names and types
"Parameters"
tabbed card Change the presettings in runtime for language and time and disable
certain key-combinations
"Graphics Runtime"
tabbed card Change the presettings for the operation of process pictures in runtime
"Runtime"
tabbed card User-specific settings for all WinCC projects run on this computer
Prerequisite
Procedure
In WinCC Explorer's navigation window, select "Computer".
All of the computer, which are available for the current project, will be displayed in the
data window.
Procedure
Procedure
Click on the "General" tab.
1
In the "Computer Type" area, define which function is performed by this computer.
The applications, which will be available in runtime, are configured on the "Startup" tabbed
card in the "Computer properties" dialog.
The presettings for language, time and key-combinations are configured on the "Parameters"
tabbed card in the "Computer properties" dialog.
Procedure
Procedure
1
Click in the entry field for the desired function to activate it for the entry of a hotkey
(combination).
Now also press the key which should call the function.
The selected key-combination (for example, <ALT+F>) will now be displayed in the
entry field.
If you want to change your entry, click in the entry field again.
As an alternative, you can enter a single key or a function key <F1> - <F12> instead of a
key-combination.
Note:
The function key F12 may not be configured as a systemwide hotkey.
Hotkeys
Changes made to the hotkeys are first effective after the system has been restarted.
Window On Top
This hotkey is used to navigate between multiple picture windows, which are configured in a
main picture. Whenever the hotkey is pressed, the next picture window will be activated for
an operation.
Tab or Alpha Cursor
This hotkey toggles the "Cursor Mode" attribute. With this hotkey, a process picture can be
operated with both an alpha cursor and a tab order cursor. A tab sequence must be configured
for both types of cursors.
Runtime-Cursor On/Off
By default the selected object in runtime will not be highlighted. This hotkey can be used to
activate a runtime cursor, which will highlight the currently selected object with a frame.
Note:
The <DEL> and <POS1> keys cannot be used as hotkeys.
Screen Navigation
In all common Internet browsers, the "Forward" and "Back" buttons make it easy to switch
between Internet pages, which were recently examined. A similar technique can be
implemented in WinCC to navigate between individual process pictures.
In the "Screen Navigation" area, you can configure hotkeys that will make it easy for you to
switch between the most recently called process pictures in runtime. Process pictures will be
recorded in a temporary list whenever they are called. With the "Forwards" and "Backwards"
functions, you can page through this list to, for example, call the last five pictures once again.
The maximum permissible number of entries in this list is set in the field "Picture Buffer
Size". If this number is exceeded, the oldest entry will be replaced when a new picture is
called.
"Start picture": calls the picture that has been defined as the start picture
"Recall Picture": calls the picture that was last marked with the function "Store
Picture"
Note:
With the default value for "Picture Buffer Size", the list will record the calls for a maximum
of 30 pictures. As a rule, it is not reasonable to substantially increase this value, since the
switchover can only be done in single steps. You can achieve more efficient screen
navigation using picture modules.
Prerequisite
Procedure
In the "Start picture" field, enter the name of the desired picture file in the PDL format or
click on the "Find..." button to select it.
Alternative Procedure
Procedure
1
Click in WinCC Explorer's navigation window on the entry for "Graphics Designer".
All the illustrations of the current project are displayed in the data window (format PDL).
Now right click on the desired picture and select "Define screen as start screen".
The selected picture will be entered in the "Start picture" field on the "Graphics Runtime"
tabbed card.
Decluttering
Layers and objects placed there may be masked and unmasked. Limit values for
masking and unmasking of objects are specified in menu "Tools>Settings" on the
"Hide/Show" tab of Graphics Designer.
Extended zooming
The view of the process picture in Runtime may be zoomed in or out using the mouse
wheel. Hold the <Alt> key down while turning the mouse wheel. If you turn the
mouse wheel away from the palm of your hand, you increase the zoom factor.
Panning
If the picture has been assigned a zoom factor which displays the picture with scroll
bars, you may move a picture segment within the document. A navigation crosshair
appears upon clicking on the mouse wheel. Moving the mouse pointer scrolls in the
desired direction. The distance between mouse pointer and navigation crosshair
determines the scrolling speed. Another click will deactivate panning.
Both functions Decluttering and Extended Zooming may be turned off in the "Graphics
Runtime" tab of the "Computer Properties" dialog. Activate the checkboxes of both
respective entries in the area "Turn off". In the default setting the checkboxes are deactivated,
i.e. the functions Decluttering and Extended Zooming are turned on.
Configuring Extended Zooming Picture-Specific
The function Extended Zooming may be turned on or off picture-specific. The setting is
specified in the object properties of the selected picture in the "Miscellaneous" property
group.
If you turn of the function Extended Zooming for a process picture, Extended Zooming must
also be turned on for all process pictures in the "Graphics Runtime" tab of the "Computer
Properties" dialog.
A detailed description of the zoom function may be found in Chapter "Showing and Hiding
Layers and Objects".
Note:
WinCC Controls cannot be decluttered, except for "WinCC Slider Control", "WinCC Push
Button Control", "WinCC Clock Control" and "WinCC Gauge Control".
CHAPTER-Iv
Enhances quality
The configuration of an operator input message depends on the place of the operation:
For the operation of certain objects such as for entering a value into a I/O field, the
"Operator Input Message" property can be activated for these objects in the Graphics
Designer. This is done by setting the "Operator Input Message" attribute. The
message structure cannot be edited. The message number of the operator input
message is "12508141". The operator input message contains the value before the
operation (old value) in the process value block 2 and the changed value (new value)
in the process value block 3.
By activating the "Operator Activities Report" attribute, the user can enter the reason
for the operation as a comment on the message in a dialog after an operation has been
completed. The "Operator Activities Report" comment is displayed in the long-term
archive list by clicking the "Comment" button. The Comment dialog only shows the
old value and new value for the operator input message "12508141".
For the operation of a message such as acknowledgment and locking/enabling, an
operator input message is configured in the WinCC Alarm Logging. In order to do so,
the WinCC system messages must be created in the Alarm Logging Editor.
An operator input message by default may contain information on registered user and
current computer. To do so, insert system blocks "User Name" and "Computer Name"
to the message blocks in the Alarm Logging editor. In Alarm Control you add the
system blocks of the "Message List" tab to the selected message blocks.
The triggering events for an operator input message are activated in WinCC Alarm
Control on the "Message Lists" tab using the "Operator Input Message" button. There
you may also configure the operator input message yourself.
In order to display or enter a comment on a selected operator input message, you may
open a dialog in the long-term archive list using the "Comment" button. When the
"Comment" system block in the Alarm Control is entered in the message line, this
message block indicates the existence of a comment concerning this message.
The report of the acknowledgment of a message can be initiated by stating the acknowledged
user and the computer used for it. To do so, the "User Name" and "Computer Name" system
blocks must be entered in the message line of a message in the WinCC Alarm Control. Upon
acknowledgment of a message, user name and computer name are not displayed in the
message line of the incoming message but in the operator input message of the
acknowledgment in the short-term and long-term archive list. The operator input message
must be activated in WinCC Alarm Control on the "Message Lists" tab using the "Operator
Input Message" button.
Events
The message system distinguishes between binary events and monitoring events:
The term initial value message is used to describe a form of message processing in
which the first message in a list of messages which underwent a state change since
the last acknowledgment is highlighted.
The term new value message is used to describe a form of message processing in
which the messages in a list of messages which have undergone a state change since
the last acknowledgment are highlighted.
Messages
The purpose of the message system is to chronologically signal and archive events, which
occur sporadically during the process, at a central point. A message can be caused by an
event or a message frame.
The message system distinguishes between three message types:
System messages are used for displaying error messages from other applications.
In Alarm Logging, messages with similar behavior, e.g. a similar acknowledgment theory or
color of message states, can be grouped into message classes and message types.
Message classes are used to define numerous basic settings for messages. Message
classes differ from one another in respect of acknowledgment theory. In Alarm
Logging, the message classes "Error", "System, requires acknowledgment", and
"System, without acknowledgment" are preconfigured. Up to 16 message classes can
be defined. Messages with the same acknowledgment theory can be integrated in a
single message class.
Message types are subgroups of the message classes and can differ in the coloring of
the message states. Up to 16 message types can be created for each message class.
Message Blocks
A state change of a message is displayed in a message line during runtime. The information
to be displayed in the message line is defined beforehand when configuring the message
blocks:
System blocks enable the specification of information which is predefined and cannot
be freely used, such as date, time, duration, comment. The value of the message block
is displayed in the message line (e.g.: the time).
User text blocks make it possible to assign a message to up to ten different, freely
definable texts. The message line contains text you defined. The message text of a
user text block can also display a process value. You define the output format for it.
By means of process value blocks you can display the value of tags in the message
line. The format that is used during this process cannot be defined freely. Define the
tags related to the process value blocks.
Message events are "Came In", "Went Out", and "Acknowledged". All message
events are stored in the message archive.
Message states are the possible states of a message: "Came In", "Went Out",
"Acknowledged".
Message Window
In runtime, the changes in message states are indicated in a Message Window. You can
configure the appearance and operating options of the Message Window in Graphics
Designer.
A Message Window contains all messages, in tabular form, which have yet to be displayed.
Each message to be displayed appears in its own line, the message line.
The contents of the Message Window can be influenced by a user-defined filter, e.g. sorting
according to message blocks.
Depending on the source of the messages displayed in the Message Window, a distinction is
made between five types of message windows.
Long-term archive lists serve to display messages which are stored in a message
archive
All messages in the system which have been locked are displayed in the lock list.
Locked messages can be unlocked by a button in the toolbar.
Message Frames
Message frames originate from either the process or from the process control monitoring
system. They are exchanged between the control system or the monitoring application and
Alarm Logging.
Message Tag
In the bit message procedure, the control system signals the occurrence of an event in the
process via the message tag. Several messages can be masked via one message tag.
Message Procedure
Alarm Logging supports multiple message procedures:
In the bit message procedure, the control system signals the occurrence of an event
via the message tag. The time stamp, date and time of the message is assigned by
Alarm Logging.
With chronologically correct messages, the control system transmits a telegram with
the message data when the event occurs. This is analyzed by Alarm Logging. The
time stamp, namely the date and time of the message, is assigned by the control
system.
If the procedure "Acknowledgment triggered messaging" (QTM) is enabled on an AS
S7-400, not every signal change is reported to the OS. According to the QTM
procedure, in the case of messages that occur very frequently and are caused by
wavering signalers, a new message about a signal change is sent from the AS only
after the positive signal change (incoming message) that was reported last was
acknowledged in the OS.
Analog alarms can be used to monitor the course of an analog tag for violation of the
upper and lower limit values.
Message Line
In a Message Window, each message is displayed in its own message line. The contents of
the message line are dependent on the message blocks to be displayed.
In the case of system message blocks, the value of the message block is displayed,
e.g. date and time.
In the case of process and user text blocks, the contents are displayed, e.g. the text
you defined.
Reports
There are three types of message reports available in Alarm Logging.
In the case of message sequence reports, all the state changes (Came In, Went Out,
Acknowledged) from all currently pending messages are output to a printer.
The online message report is used to print the messages from the alarm control, which
have been sorted chronologically, on a printer with an opened Process Message
Window by using the "Print" button.
In the case of archive reports, all changes in message states stored in an archive are
output to a printer.
Acknowledgment Theory
Acknowledgment theory is the way in which a message is to be displayed and processed
from the time it "Came In" to the time it "Went Out". The following acknowledgment
theories can be realized in Alarm Logging:
Acknowledgment Tag
In the acknowledge tags, the "acknowledgment status" of a message is stored. A central
signaling device can thus be controlled using the acknowledgment tag.
Locking and Unlocking Messages
In order to reduce the number of message events, known, repeating messages can be locked
and unlocked again. A distinction is made between the active and passive locking/unlocking
of messages. For an active locking, the message source must support the locking/unlocking
of messages with confirmation and a valid date/time stamp. In addition, a general query of
the source must deliver the currently locked messages. If the message source fulfills these
requirements, the messages are locked/unlocked actively, otherwise the messages WinCC are
locked/unlocked passively by WinCC.
In the case of active locking, a disabling request is sent to the message source (for
example, AS). The message is disabled in WinCC only after the source replies the
message as locked. The unlocking of the messages is performed in the same way.
Only the messages that have been configured chronologically on the AS level are
locked/unlocked actively.
In the case of passive locking, the message is locked/unlocked in the alarm server of
WinCC. The message source is not included.
Status Tag
In the status tag, the "Came In / Went Out" status of the message type and an identifier for
messages to be acknowledged are stored.
Alarm Logging
Introduction
Alarm Logging is used to configure the messages and the message archive. Alarm Logging is
started with a double-click in WinCC Explorer.
Structure of Alarm Logging
Alarm Logging is organized into the Navigation, Data and Table Windows.
Messages inform the user of operating and error states in a process. They help recognize
critical situations at an early stage and prevent shutdowns.
Structure of a Message
Messages in runtime are displayed as lines in a table. Here, an individual message is
composed of information which can be displayed in the fields of the table. These individual
pieces of information are referred to as message blocks.
The message blocks are subdivided into three groups:
System blocks with system data, e.g. date, time, message number and status
Process value blocks with process values, e.g. current fill levels, temperatures or
speeds
User text block with explanatory texts, e.g. the message text with information on
location and cause of a fault
Whereas the contents of the system blocks are fixed, the contents of the process value blocks
and user text blocks can be modified by the user. Selections in system blocks affect only their
display; their reporting is not affected.
Configuration
Messages are configured in Alarm Logging. Several wizards provide support during
configuration:
The System Wizard provides support when defining the message system's basic
settings.
The Linking Wizard simplifies the assignment of process tags to messages.
Basic Procedure
The configuration of the message system is divided into the following steps:
1. The system wizard is used to define basic message system settings.
2. Configure the message blocks in accordance with your requirements.
3. Configure the messages and message types.
4. Configure the single messages and group messages.
5. Set the type of data archiving.
6. Save the changes made in Alarm Logging after each configuration step.
Note:
Use the wizards and configuration dialogs available to create the messages completely.
Prerequisite
Procedure
Procedure
1
Select the "Message Classes" folder in the Navigation Window.
Select the message class to be configured from the Data Window. Select the
"Properties" command in the pop-up menu or double-click on the message class. The
Properties dialog of the selected message class opens.
When the "Configure Message Class..." dialog is open, click on the tab control on
which the properties of the message class should be displayed and edited.
Procedure
Procedure
1
2
Select the message types required from the list of message types available. Add these
message types to the list of selected message types by clicking on
Alternative Procedures
1. Select the "Message Class" folder in the Navigation Window.
2. Select the message class required in the Data Window. Select the "Properties"
command from the pop-up menu. The "Configure Message Class..." dialog opens.
3. Click on the "Add" button.
The "Add Message Type..." dialog opens.
4. Select the message types required from the list of message types available. Add these
message types to the list of selected message types by clicking on
the message types available, click on
. To add all
Procedure
1
2
Select the message class whose message type is to be changed from the Navigation
Window.
Select the message type required in the Data Window.
Select the "Properties" command from the pop-up menu. The "Type" dialog opens.
Change the properties of the message type in the dialog, e.g. the text color of the "Came
In" status. Exit the dialog by clicking on "OK".
Alternative Procedures
1. Select the message class whose message type is to be changed from the Navigation
Window.
2. Select the "Properties" command from the pop-up menu. The "Configure Message
Classes" dialog opens.
3. Select the message type required in the dialog and click on "Properties". The "Type"
dialog opens.
4. Change the properties of the message type in the dialog, e.g. the text color of the
"Came In" status. Exit from the dialog by clicking on "OK".
The "Configure Message Classes" dialog of the message class is open in Alarm
Logging.
Basic Procedure
Use the "Acknowledgment" tab to configure the message Acknowledgment theory of the
message class and the Acknowledgment of a message via a central signaling device.
Select between eight different states to acknowledge a message:
Option
Description
Acknowledgment
Came In
Activate the check box for a single message with "Came In"
acknowledgment. Incoming messages of this message class must be
acknowledged. The message is retained until it is acknowledged.
Acknowledgment
Went Out
Flashing On
Activate the check box for a new value message with single or dual mode
acknowledgment. Messages of this message class flash when displayed in
the Message Window. In order that a message block of a message flashes in
runtime, flashing must be enabled in the properties of the related message
block.
...Only Initial
Value
Activate the check box for an initial value message with single-mode
Acknowledgment. Only the first message in this message class flashes in
the Message Window display. The "Flashing On" check box must be
activated beforehand.
Message Without Activate the check box for a message without the "Went Out" status with or
Status "Went Out" without acknowledgment. When this option is activated, the messages do
not have the "Went Out" status. If the message only recognizes the "Came
In" status, the message is not entered in the Message Window and is only
archived.
Comments
Assigned To
Unique User
If you activate the check box, the comments in the message window are
assigned to the logged-in user. The user is entered in the "User Name"
system block. If no comment has been entered to date, any user can enter
the first comment. After the first comment has been set, all the other users
have read only access to the comment.
Comments always
in the message list
of the incoming
message
If you activate the check box, the user text blocks with dynamic parts
"@100%s@", "@101%s@", "@102%s@" and "@103%s@" will always
display the comment of the incoming message. The display is then
independent of the message status in the message list.
When certain options have been selected, other options may no longer be available for
selection. To select one of the unavailable options, a selection previously made must be
reverted.
Note:
If a message type does not need to be acknowledged and does not possess the state "Went
Out", it does not appear in the Message Window. The message is only archived. If such a
message is used inside a group message, the occurring of the message does not trigger the
group message.
Option
Description
Central signaling devices which are triggered when a message arrives are
acknowledged by the user by means of a separate acknowledgment button
in the toolbar or key on the keyboard. The acknowledgment button must
be configured in the Message Window. The separate acknowledgment key
is always active even if the "By Means Of Single Ack." option has been
selected.
By Means of
Single Ack.
Tag
Introduction
he status texts of a message are displayed in the message line of system blocks "Status" and
"Acknowledgment Status".
Prerequisite
You have opened the dialog "Configure Message Classes" of the message class in
Alarm Logging.
Window
Type
System Block
Message
List
Status
Message
List
Acknowledgment
Status
"Acknowledged"
Archive
List
Status
Archive
List
Acknowledgment
Status
No text is displayed.
Note:
The display of status texts "Acknowledgment System" for system-acknowledged messages
and "Ack-Reset" for acknowledged messages using the emergency acknowledgment are
generated by the system.
Configuration of Status Texts
On the "Status Texts" tab, you configure the texts for the individual message states.
Option
Description
Came In
Text for "Came In" messages during change to operating status to be notified
Went Out
Text for "Went Out" messages during change to operating status to be notified
Acknowledged
Came In and
Went Out
Note:
Status texts are displayed in the message line only up to the length to which they were
configured in the system block properties. A system block should therefore be long enough to
display the longest status text.
Single message parameters, e.g. the relation to a message class and message type
Parameters for the connections to various tags, e.g. the message tag
Click once on
Click once on
Parameter
Description
Number
Number of the single message. The number can only be set in the Table
Window.
Class
Type
Group
Priority
Determines the priority of the message. You can sort the display of
messages according to their priority. The value range is "0 - 16".
In WinCC it is not specified which value corresponds to the highest
priority. In the environment of PCS7, the value 16 corresponds to the
highest priority.
is single
The message must be acknowledged individually. It cannot be
acknowledgment only acknowledged with a group acknowledgment key.
Controls the central
signaling device
Will be archived
is created on a
negative edge
During the bit message procedure you can determine whether the
message will be created during positive or negative signal edge. With
all other message procedures, the message is always created with the
positive signal edge.
For messages with a negative edge, the message tag must be configured
with the start value "1".
Triggers an action
AS number
CPU number
Message tag
The message tag contains the bit with which the currently selected
message is to be triggered.
Message bit
Number of the bit within the message tag with which the currently
selected message is to be triggered.
Acknowledgment tag
Acknowledgment bit
Status tag
Define the tag in which the states of the single message are to be stored
("Came In / Went Out and acknowledgment status).
Status bit
Number of bit within the status tag indicating the message state. The bit
for obligatory acknowledgment is determined automatically.
Format DLL
If the message tag is a raw data tag, you must select the corresponding
compilation program here.
DLL parameters
A single message is created in the Table Window of the Alarm Logging by appending a new
line or a copyied single message.
Prerequisite
3
4
A line is appended to the end of the table. This line contains the content of the copied
message. If necessary, change the properties of the copied single message.
Procedure
Procedure
1
Select a field of the single message to be deleted from the Table Window.
2
Select the "Delete Line" command from the pop-up menu.
The single message is deleted and removed from the table.
to open the dialog for the tag selected to be used as the message tag.
Click on
to reset the tag definition of the message tag and message bit.
The "Came In / Went Out" status shows if the message came in or went out.
The acknowledgment status shows if the message requires acknowledgement and has
not been acknowledged yet.
Both states of the single message are stored in a status tag. Depending on the data type of the
tag, up to 16 single messages can be recorded in a status tag. Every single message occupies
2 bits in the status tag.
Acknowledgment Bit
The acknowledgment bit in the status tag changes to Status "1" as soon as a single message
requiring acknowledgement is received and has not yet been acknowledged. The
acknowledgement bit switches to Status "0" as soon as a single message requiring
acknowledgement is acknowledged.
Position of the Bits in "Came In / Went Out" Status and in Acknowledge Status
The position of the bit with the "Came In / Went Out" status in the status tag is marked by the
status bit. The position of the "Acknowledgement Bit" is dependent on the data type of the
status tag.
The distance to the bit containing the "Came In / Went Out" status is:
bit no. 9 characterizes the status tag, the "Came In / Went Out" status of the single
message.
bit no. 25 characterizes the status tag, whether this single message requires
acknowledgement.
The bits "0-15" correspond with "16-31" accordingly in a "32 bit" status tag.
bit no. 3 characterizes the status tag, the "Came In / Went Out" status of the single
message.
bit no. 11 characterizes the status tag , whether this single message requires
acknowledgement.
The bits "0-7" correspond with "8-15" accordingly in a "16 bit" status tag.
bit no. 3 characterizes the status tag, the "Came In / Went Out" status of the single
message.
bit no. 7 characterizes the status tag , whether this single message requires
acknowledgement.
The bits "0-3" correspond with "4-7" accordingly in a "8 bit" status tag.
to open the dialog for the tag selected to be used as the status tag.
Click on
If the acknowledgement bit of a single message has the value "1", the single message
has been acknowledged.
If the acknowledgement bit of a single message has the value "0", the single message
has not been acknowledged.
This acknowledgement bit is set when a single message is acknowledged during runtime.
The structure of acknowledgement tags is not specifically defined. The following options are
available for configuring message tags:
Note:
For acknowledgement of the single message through the WinCC Alarm Control, the
acknowledgement bit that is assigned to the single message is set. The acknowledgement bit
is reset by an action, e.g. a button in the WinCC process screen, or via a program in the AS.
to open the dialog for the tag selected to be used as the acknowledgment tag.
Click on
to reset the tag definition of the acknowledgment tag and the acknowledge bit.
Procedure
Procedure
1
2
Using the "Properties" command in the pop-up menu of the single message selected.
The "Single Message" dialog opens.
Select the "Tag/Action" tab control.
3
Click on
for the configured process value block. Select the process tag to which the
process value block should be linked in the Tag Selection dialog which opens. Click on
"OK".
4
Click on
Procedure
Procedure
1
Open the "File" menu, select the "System Wizard" command and select "Linking
Wizard". Click on the "OK" button. Alternatively, start the linking wizard via the
"Messages" menu.
2
Select a message tag from the "Linking Tags: Message Tag" dialog using the
button. Enter the numbers of the messages to which you would like to link the selected
message tag.
Select an acknowledgement tag from the "Linking Tags: Acknowledgment Tag" dialog
using the
button. Enter the numbers of the messages to which you would like to
link the selected acknowledgement tag.
Click on the "Finish" button to exit from the wizard. The tags selected are linked to the
corresponding messages.
Option
Description
Info Text
Here you can enter an information text with up to 255 characters. Info texts
cannot be changed in runtime.
Enter a text with up to 255 characters.
Blocks 1 to 10 represent the corresponding user text blocks.
Blocks 1 to 10
In the user text block, the following format instructions can be used to
display the contents of a field of the message's Comment dialog:
@100%s@ = Computer Name (max. 16 characters)
@101%s@ = Application Name (max. 32 characters)
@102%s@ = User Name (max. 16 characters)
@103%s@ = Comment (max. 255 characters) of the message in the longterm archive list. This requires a comment entered in the message.
The format instructions are only displayed in the user text block of the shortterm and long-term archive lists.
Click on the button to open the "Insert Process Value" dialog. Enter a process
value in the user text block here.
The process value entered is identified in the user text by the format
instruction @.....@.
Prerequisites
Procedure
Procedure
1
Select the required single message in the Table Window.
2 Select the "Properties" command from the pop-up menu. The "Single Message" dialog opens.
3
Define the required settings in the "Texts" tab control.
Alternative Procedures
1. Access the Table Window, select the single message and double-click on the field
where you want to insert or modify text. Edit the user text blocks directly in the table
field. The "Info Text" dialog opens in the case of "Info Text".
2. In the "Info Text" dialog, you enter additional information text for a message, up to
255 characters. An info text describes, for example, why a message can be received.
You can copy or insert the text in the dialog using the pop-up menu and standard
editing functions. Info texts cannot be changed in runtime.
Button
Description
Length
Text
Process value
block
Set the process value here that corresponds to the value to be inserted.
Type
Sets the format type of the process value that will be inserted.
Sets the position of the format statement within the text. Specifying
"Position: 10" causes the process value to be inserted after the tenth character
in the user text.
Number of
digits
Defines the number of characters that are reserved for the process value
within the user text.
Precision
Pad with 0
Aligned left
If the number of digits in the process value to be inserted is smaller than the
number of digits reserved, this function is used to specify whether the process
value is aligned right or left when it is inserted in the user text.
Format
specifications
Example
Requirement
Procedure
Procedure
1
Select the single message required in the Table Window.
2
Select the "Properties" command from the pop-up menu. The "Single Message" dialog
opens.
3
4
Define the required settings.
by a double-click on a message,
by the "Loop in Alarm" button in the toolbar.
Note:
The standard WinCC "OpenPicture" function is used for the picture function. Any function
can be specified and define an additional file as the transfer parameter.
Consider the following if a different function is to be used:
- use a standard function which accepts a transfer parameter of the type char*, e.g.: void
MyFunction(char* NameOwnData).
- only use standard functions whose return parameters are of types "unsigned char", "short
int", "long int", "float", "double", "bool" or "void".
Prerequisite
Procedure
Procedure
1
2
Using the "Properties" command in the pop-up menu of the single message selected.
The "Single Message" dialog opens.
Select the "Tag/Action" tab control.
3
Enter the name of the picture in the "Picture Name/Call Parameter" text field or click
on
. Select the picture from the project directory. Click on
name definition.
4
Alternative Procedures
1. Double-click on the "Loop in Alarm" field in the selected message in the Table
Window. The "Loop in Alarm" dialog opens.
2. Enter the name of the picture in the "Picture Name/Call Parameter" text field or click
on
. Select the required picture from the project directory. Click on
the picture name definition. Click on "OK".
to reset
Procedure
Procedure
1
2
Open the "Tools" menu and select the "WinCC System Messages..." command. The
"WinCC System Messages" dialog appears.
In the dialog, select the parameters for generating the messages.
3
Click on the "Create" button to start generating the system messages according to the
options selected. Exit the dialog by clicking on "Close".
If you enter the number of a message which does not yet exist, this message is
automatically created.
If you enter the number of an existing message, several properties of that message
will be changed. Settings for message tags as well as linkages for process value
blocks 1 - 3 will be deleted.
Note:
When configuring the limit value monitoring, the automatically generated messages must not
be additionally created via the Table Window of the Alarm Logging. After Alarm Logging is
restarted, the messages are visible and can be modified in the Table Window.
The values of the limit value, hysteresis, and trigger value are stored in process value blocks
1 to 3. The process value blocks 4 to 10 may not be used for a limit value monitoring
message.
Parameter
Description
Number of limit This field displays the number limit values to be monitored.
values
A message for
all limit values
Message
number
Delay time
The delay time can be set from 250 to 10000 ms. If you wish no delay time,
enter the value "0".
Prerequisite
Procedure
Procedure
1
Select the "Analog Alarm" folder in the Navigation Window.
2
Select the "New..." command in the pop-up menu. The "Properties" dialog opens.
3
Enter the name of the tag in the "Tag to be monitored" input field or click on
Select the tag from the dialog which then opens:
4
5
Parameter
Description
A message for
all limit values
Message
Number
Delay time
The delay time can be set from 250 to 10000 ms. If you wish no delay time,
The analog alarm has been configured for the tag to be monitored.
Procedure
Procedure
1
Select the tag whose properties are to be changed either from the "Analog Alarm"
folder in the Navigation Window or from the Data Window.
2
3
Select the "Properties" command from the pop-up menu. The "Properties" dialog opens.
Change the properties of tag.
4
Click on "OK" to save the settings.
Parameter
Description
High limit
A message is generated when the tag value exceeds the upper limit.
Low limit
A message is generated when the tag value falls below the lower limit value.
The input field contains either the limit value to be monitored or the defined
tag. Click the "Tag" button to open the tag selection dialog.
Limit value or
tag
Hysteresis
Message
When exiting the tag selection dialog via "OK", the "Indirect" option will be
activated. Do not use a tag whose name is comprised solely of digits to define
indirect limit values. The tag name must start with a letter. In case of an
indirect limit value specification, the value of the tag to be monitored is
stored in process value block 3 when the message is triggered.
Messages, for which a hysteresis has been defined, are not triggered
immediately upon reaching their limit value but after the actual tag value has
exceeded or fallen below the limit value by the hysteresis value.
The hysteresis can be entered as either an absolute value or a percentage
deviation from the limit value. Depending on the selected setting, the
hysteresis will become effective while a message is triggered or taken back.
Enter the number of the message to be generated in runtime if a limit value
violation occurs.
This field can only be edited if you did not select "A message for all limit
values" in the "Properties of Tags" dialog.
Suppress
message
Use this option to suppress the messages of tags whose Quality Code does
not comply with the status "GOOD". In this case, a possible value change of
the tag will not be checked for its violation of the limit value.
Prerequisites
The limit value monitoring has been configured for the tag to be monitored.
Procedure
Procedure
1
Select the tag to be monitored in the "Limit Value Monitoring" dialog in the Navigation
Window or in the Data Window.
2
3
Select the "New..." command in the pop-up menu. The "Properties" dialog opens.
Define the properties of the limit value.
4
Click "OK" to save the settings.
2
Select the "Delete" command from the pop-up menu. The tag and the limit values
configured are deleted. The message assigned to it is retained in the message system.
Deleting Limit Values
Procedure
1
Select the limit value in the Data Window of the tag which is monitoring the analog
alarm.
2
Select the "Delete" command from the pop-up menu. The limit value configured is
deleted. The message assigned to it is retained in the message system.
Message no. 4 is triggered (Come In) when the tag being monitored has exceeded the value
220.
Message no. 4 is reset when the tag being monitored drops below the value 200.
Example 2
Message no. 4 is triggered (Come In) when the tag being monitored has exceeded the value
in the "Limit Value" tag.
Message no. 4 is reset when the tag being monitored has dropped below the value of the
"Limit Value" tag by 10%.
Message Archiving
Contents
The Archive Management feature in WinCC gives you the opportunity to archive messages
in order to create documentation for specific operational and fault statuses. To ensure that
data is regularly saved you should configure regular backups.
This chapter shows you
when the status of the message changes (e.g. from "Message Came In" to "Confirm
Message")
You can save the message events in an archive database and archive them as a hard copy
message report. Messages archived in the database can be output in runtime, for instance in a
message window.
Archived Message Data
All the data associated with a message, including the configuration data, is saved in the
message archive. You can therefore read out all the properties of a message from the
archives, including such matters as its message type, time stamp and texts. A subsequent
change to the configuration data of a message causes a new archive to be created with the
new configuration data. This ensures that the change has no effect on messages that were
archived before the change was made.
Note:
The time stamp on archived messages is always in standard UTC format (Coordinated
Universal Time).
Since messages are configured on a language-dependent basis, archives contain a table with
the configuration data for each designed language.
40 GB hard disk
Maximum of 16 clients
Server
10 messages
100 messages
2,000 messages
15,000 messages
Note:
The values for message flow apply only to archiving. For further processing in Alarm
Logging, additional time must be planned: Five minutes must elapse before a new message
overload can be created.
The size of the message archive or individual segments, e.g.: The message archive is
100 MB at 5 MB per individual segment.
The archiving period of the message archive or the individual segments, e.g.: The
message archive archives all messages which occur within one week, each individual
segment archives the messages which occur within one day. The configuration of the
archiving period is called archive partitioning.
You can always configure both conditions at the same time. If either of the two criteria is
exceeded, the following happens:
1. Criteria for message archive (DB) is exceeded: The oldest messages (i.e. the oldest
individual segment) are deleted.
2. Criteria for individual segment is exceeded: A new individual segment (ES) is
created.
A new individual segment is also created when you configure message data online.
Note:
When starting runtime, the system tests whether the configured size of the individual has
been calculated to a sufficient size. If the configured size is too small, the system
automatically adapts to the minimum size.
Backing Up Archived Messages
The data from the message archives can be stored in a backup.
Prerequisite
You have configured the message system. For information on configuring the message
system, please refer to the online Help on Alarm Logging.
Procedure
Procedure
1
From the message list in Alarm Logging, select the message that you wish to archive.
3
4
Procedure
1 Open Alarm Logging and select the entry "Archive Configuration" in the Alarm Logging
navigation window.
Select the "Message Archive" entry and then select the "Properties" command from the pop2 up menu.
Time period of all segments and its maximum size. These values define the size of the
archive database. If one of the criteria is exceeded, a new segment is started and the
oldest segment is deleted.
The time period in which messages are to be archived in an individual segment and its
maximum size. If one these criteria is violated, a new individual segment is started.
When the criterion for "Time period of all segments" is exceeded, the oldest
individual segment is also deleted.
4 In the field "Time of the segment change", enter the start date and the start time for the first
segment change.
When a new individual segment begins, the configuration of "Time of the segment change" is
taken into account.
5 Click OK to confirm your entry.
Note:
If you modify the archiving size (time range) during Runtime, such modification will take
effect only upon the next segment change.
Example
In the picture displayed above, the segment will change for the first time on 17 January at
23:59. The next time-related segment change occurs at the configured time in the cycle
defined in "Time period covered by a single segment". In case of the above mentioned cycle
setting "1 day" a change occurs daily at 23:59. If a cycle of "1 month" has been defined, the
segment change will occur on the 17th day of the following month at 23:59.
The segment is changed even if the configured size ("Max. size of all segments") is exceeded
after starting runtime. In this case, the oldest individual segment is also deleted.
Caution
After selecting the "Reset" command in the Archive Configuration pop-up menu, the runtime
data are deleted from the archives.
Procedure
Procedure
1
In the Alarm Logging navigation window, select the "Archive Configuration" entry. In the
data window, mark the "Message Archive" entry and select the "Properties" command
from the pop-up menu. The "Alarm Logging" dialog appears.
Switch over to the "Backup Configuration" tab.
Activate the "Signing off activated" check box if the swapped archived data are supposed
to receive a signature. Upon reconnection with WinCC, the signature allows the system to
recognize if any modifications have been made to the archive backup file after its swapout.
Activate the "Activate Backup" check box if the archived data is supposed to be backed
up. In addition, activate the "Backup to both paths" check box if the archived data are
supposed to be saved in both directories "Destination path" and "Alternative destination
path".
Enter the destination path in which the backup files should be stored. Network paths are
also valid as destination paths. The "Alternative destination path" is used when for
instance:
If the corresponding system messages have been configured, the messages are issued
when a destination path is not available.
7
Results
Procedure
1
In the navigation window of Alarm Logging, select the "Archive Configuration" entry.
Use the right mouse button to click "Message Archive" in the data window and select
"Link Archive" from the pop-up menu.
Select the desired data bank file and click on "Open". After selecting the file, the
message archive is linked to the project.
If signing off is activated and you link a modified or unsigned archive backup file to the
project, you must acknowledge the link to these files or the archive backup files are not
linked. A WinCC System Message is generated and an entry is added to the Windows event
display under "Application".
Linking to the Archive Automatically
Procedure
1
If signing off has been activated, modified signed-off archive backup files are not
automatically linked. A WinCC System Message is generated and an entry is added to the
Windows event display under "Application".
Procedure
1
In the navigation window of Alarm Logging, select the "Archive Configuration" entry.
Use the right mouse button to click "Message Archive" in the data window and select
"Disconnect from archive" from the pop-up menu.
the number of displayable characters in the user text block "Message Text"
the acknowledgment theory for message class "Error"
the color coding of message states for message types "Alarm" and "Caution"
Prerequisite
Procedure
Procedure
In the pop-up menu of user text block "Message Text", select the command "Properties"
and change the length of the message block.
In the pop-up menu of message class "Error", select the command "Properties" and
activate option box "Acknowledgment came in" in the "Acknowledgment" tab control.
In the pop-up menu of message type "Alarm" or "Caution", select the command
"Properties" and select the color for text and background for message states.
"Hitlist"
Displays message blocks and statistical information which you configured on
the "Hitlist" tab of Alarm Control.
"First message"
Selects the first of the currently pending messages. The visible area of the
message window is moved if necessary. This button is only enabled if the
"AutoScroll" function is deactivated.
"Last message"
Selects the last of the currently pending messages. The visible area of the
message window is moved if necessary. This button is only enabled if the
"AutoScroll" function is deactivated.
"Next message"
Selects the next message (relative to the currently selected one). The visible
area of the message window is moved if necessary. This button is only enabled
if the "AutoScroll" function is deactivated.
Previous message
Selects the previous message (in relation to the currently selected one). The
visible area of the message window is moved if necessary. This button is only
enabled if the "AutoScroll" function is deactivated.
"Info text dialog"
Opens a dialog to display info texts
"Comments dialog"
Opens a text editor to enter comments.
This button appears only in connection with the long-term archive window.
Therefore any configuration of this function has an effect on the Alarm Control
properties only in this window type.
"Loop in Alarm"
Shows a picture for the selected message or triggers a script.
The function can alternatively be triggered by double-clicking on a message.
"Release message"
This button releases a message selected from the lock list.
"Lock message"
This button locks a message in the current message lists and in the message
archive lists
"Sort dialog"
Opens a dialog box to create a user-defined sorting of displayed messages.
A user-defined sort has a higher priority than a sort by "MsgCtrlFlags"
attributes.
Button
Description
Date
System date
Time
System time
List:
Window:
Quit:
CHAPTER-I
1. Create a new process picture with the name "TagLogging.pdl" and open it with the
"Graphics Designer" editor.
2. Insert the smart object "Control" into the process picture "TagLogging.pdl".
The trend window appears in the work area of the "Graphics Designer" editor. The dialog
"Properties of WinCC Online Trend Control" opens.
4. Enter "TankLevel_Trends" as the window title and accept the default settings:
5. Enter "TankLevel" as the trend name and click on the "Selection" button:
7. Exit the "Properties of WinCC Online Trend Control" dialog by clicking the "OK" button.
Result
You have configured the "TankLevel_Trends" trend window. In Runtime, this window
outputs as a trend those values stored in the archive tag "FillLevel_Archive".
In order to output the values stored in the archive tag as a table in Runtime, you need to
configure a table window in the "Graphics Designer" editor in the following steps.
Procedure
Start Graphics Designer and open a picture.
From the "Controls" object palette, select the object "WinCC Online Trend Control".
Insert a trend display into the picture. To do so, point the mouse on the location in the
working area where you want the trend display placed. While keeping the mouse button
pressed, drag the object to the desired size.
After you release the mouse button, the "Properties of WinCC Online Trend Control"
dialog will open. On the "General" tabbed card, set the layout of the trend display.
Click on the "Trend" tab and select the tags to be displayed and other properties of the
trend curves. Close the dialog.
Field
Trends
Description
Here, you can select one of the configured trends.
Selection
Use the "Selection" button to open the dialog for selecting an archive
and the tags contained therein.
Persistence If the option "Persistence in RT and CS" is not activated, any changes
made to the settings are only effective within Runtime. Whether or not
any changed settings will remain effective after a picture change is
depends on the option "Persistence in RT".
If the option "Persistence in RT and CS" is activated, the changed
settings will also be transferred to the configuration system. To do this
you must open the picture in Graphics Designer and must save it again.
The changed settings will also be used during reactivation of the
project.
Key Function "Dialog for Trend Selection"
The key function "Dialog for Trend Selection"
and invisible trends.
Field
Trend in the
Foreground
Description
If common axes are used, the settings for the first trend will be
used for the display. The first trend can be changed either in this
dialog or by using the "Previous Trend in the Front" and "Next
Trend in the Front" buttons in the toolbar.
Trend
In this area, you can specify which configured trends are not to be
Visible/Invisible displayed.
Persistence
Note:
The first trend of a trend window cannot be assigned the "invisible" attribute.
Key Function "Select Time Range"
The key function "Select Time Range"
opens a dialog to specify the time range to be
displayed. If the trends of a trend window are to be displayed with a common time axis, the
specified time range will apply to all trends.
Field
Trends
Description
Here, you can select one of the configured trends.
Time
Selection
not activated).
by entering a start time and a time range. ("Time Range"
setting activated). The length of the time interval to be
displayed is determined by multiplying the "Factor" by the
"Range".
Persistence If the option "Persistence in RT and CS" is not activated, any changes
made to the settings are only effective within Runtime. Whether or
not any changed settings will remain effective after a picture change
The entry format of the date and time is dependent on the runtime language used.
1
2
Procedure
Start Graphics Designer and open a new picture.
Click on the object "WinCC Online Table Control" of the "Controls" tab in the
object palette.
Position the mouse cursor on a location on the picture where you wish to insert the
Control.
The mouse cursor changes to a cross-hair with an attached object symbol.
Drag the Control to its desired size by holding the mouse button down.
The dialog "Insert a Control" opens.
Select WinCC Online Trend Control and confirm your selection by clicking "OK".
The quick configuration dialog "Properties of WinCC Function Trend Control"
opens.
Requirement
For the display of trends in WinCC Function Trend Control, the following requirements
apply:
For these trends, either online tags, archive tags, or data from user archives may be
used.
Archive tags of a trend must have the same update cycle and must be acquired
cyclically and continuously.
Any display of tags as a function of time is possible only if the trends are supplied
with values via an API interface. In order to display tags as a function of time, you
should use the WinCC Function Trend Control.
Right mouse
button on
the trend
Note:
The "Display Value at This Position" button on the toolbar can be used to display the
coordinate points of a trend. The displayed tag values can also be assigned an additional
attribute in the form of a letter. The letters have the following meanings:
- Letter "i" : The indicated tag value is interpolated.
- Letter "u" : The indicated value has an uncertain status. This attribute is displayed when the
initial value is not known after Runtime has been activated, or when a substitute value is
used.
The buttons for "scrolling" in archives are only available when the trend which is to be
displayed originated in a process value archive.
The required control can be dragged with the mouse from the object palette in the Graphics
Designer and inserted into one of your screens. The controls can be found in the object
palette of the Graphics Designer on the "Controls" tab.
When in runtime, the development of the archived process data will appear in the control.
Requirement
For the display of trends in WinCC Online Trend Control the following requirements apply:
In a WinCC Online Trend Control any number of trends may be displayed. However,
it is recommended to configure no more than 8 trends.
Any trend may display a maximum number of 30000 value pairs. However, the
display may vary depending on monitor resolution and settings.
In order to display tags as a function of other tags, you should use the WinCC
Function Trend Control.