0% found this document useful (0 votes)
6 views

CCConfiguration Tool

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

CCConfiguration Tool

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 136

1

SIMATIC HMI WinCC V7.0 WinCC Configuration Tool


______________
Introduction

2
______________
System requirements

Installation of the
3
SIMATIC HMI ______________
ConfigurationTool

4
WinCC V7.0 ______________
Interface

WinCC Configuration Tool Operation of the WinCC


5
______________
configuration tool

6
Printout of the Online Help ______________
Diagnostics

7
______________
Tips and tricks

04/2008
Safety Guidelines
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.

DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.

WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.

CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.

CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.

NOTICE
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.

Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.

Prescribed Usage
Note the following:

WARNING
This device may only be used for the applications described in the catalog or the technical description and only
in connection with devices or components from other manufacturers which have been approved or
recommended by Siemens. Correct, reliable operation of the product requires proper transport, storage,
positioning and assembly as well as careful operation and maintenance.

Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.

Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.

Siemens AG Printout of the Online Help Copyright © Siemens AG 2008.


Automation and Drives Ⓟ 04/2008 Technical data subject to change
Postfach 48 48
90327 NÜRNBERG
GERMANY
Table of contents
1 Introduction................................................................................................................................................ 5
2 System requirements................................................................................................................................. 7
3 Installation of the ConfigurationTool........................................................................................................... 9
4 Interface................................................................................................................................................... 11
4.1 Interface .......................................................................................................................................11
4.2 Toolbar .........................................................................................................................................12
4.3 Dropdown menu...........................................................................................................................12
4.4 Pop-up menu................................................................................................................................15
4.5 Status bar.....................................................................................................................................16
5 Operation of the WinCC configuration tool............................................................................................... 17
5.1 Operation of the configuration tool...............................................................................................17
5.2 Creating a new project folder .......................................................................................................19
5.2.1 Creating a new project folder .......................................................................................................19
5.2.2 Creating a project folder without a connection.............................................................................21
5.2.3 Creating a project folder with a connection to an existing WinCC project...................................22
5.2.4 Creating a project folder with a connection to a new WinCC project...........................................24
5.2.5 Creating a new WinCC project.....................................................................................................26
5.3 Worksheets ..................................................................................................................................28
5.3.1 Worksheets ..................................................................................................................................28
5.3.2 Operation of the "Project Properties" sheet .................................................................................30
5.3.3 Data manager ..............................................................................................................................32
5.3.3.1 Data manager ..............................................................................................................................32
5.3.3.2 Operation of the "Data Manager Default Values" sheet ..............................................................33
5.3.3.3 Operation of the "Connections/Groups" sheet.............................................................................35
5.3.3.4 Operation of the "Tags" sheet......................................................................................................38
5.3.3.5 Operation of the "Structure Tags" sheet ......................................................................................41
5.3.3.6 Operation of the "Structure Types" sheet ....................................................................................44
5.3.4 Alarm logging ...............................................................................................................................47
5.3.4.1 Alarm logging ...............................................................................................................................47
5.3.4.2 Operation of the "Alarm Logging Default Values" sheet ..............................................................47
5.3.4.3 Operation of the "Message Blocks" sheet ...................................................................................52
5.3.4.4 Operation of the "Message Classes/Message Types" sheet.......................................................54
5.3.4.5 Operation of the "Group Messages" sheet ..................................................................................58
5.3.4.6 Operation of the "Single Message" sheet ....................................................................................60
5.3.4.7 Operation of the "Limit value monitoring" sheet...........................................................................63
5.3.5 Tag logging ..................................................................................................................................67
5.3.5.1 Tag logging ..................................................................................................................................67
5.3.5.2 Operation of the "Tag Logging Default Values" sheet .................................................................68
5.3.5.3 Operation of the "Times" sheet ....................................................................................................72
5.3.5.4 Operation of the "Process Value Archive" sheet .........................................................................74
5.3.5.5 Operation of the "Compressed Archives" sheet ..........................................................................78

WinCC Configuration Tool


04/2008, Printout of the Online Help 3
Table of contents

5.3.6 Text library................................................................................................................................... 81


5.3.6.1 Text library................................................................................................................................... 81
5.3.6.2 Operation of the "Texts" sheet .................................................................................................... 81
5.3.7 Operation of the "Write Error" sheet ........................................................................................... 83
5.3.8 Operation of the "Read Error" sheet ........................................................................................... 84
5.4 Dialogs ........................................................................................................................................ 85
5.4.1 Dialogs ........................................................................................................................................ 85
5.4.2 Operation of the tag dialog.......................................................................................................... 86
5.4.3 Operation of the "Archive tag" dialog .......................................................................................... 89
5.5 Processing configured data......................................................................................................... 90
5.5.1 Processing configured data......................................................................................................... 90
5.5.2 Writing data to WinCC................................................................................................................. 91
5.5.3 Deleting data from the project folder and WinCC ....................................................................... 95
5.5.4 Copying data ............................................................................................................................... 98
5.5.5 Cutting data................................................................................................................................. 98
5.5.6 Sorting data................................................................................................................................. 99
5.5.7 Setting a filter ............................................................................................................................ 100
5.6 Creating objects by means of the pop-up menu of the tag table .............................................. 103
5.6.1 Creating objects by means of the pop-up menu of the tag table .............................................. 103
5.6.2 Creating archive tags from the tag table ................................................................................... 105
5.6.3 Creating single messages from the tag table............................................................................ 107
5.6.4 Creating limit value monitoring from the tag table .................................................................... 111
5.7 Changing the data storage location .......................................................................................... 116
5.7.1 Changing the data storage location .......................................................................................... 116
5.7.2 Transferring a WinCC project.................................................................................................... 117
5.7.3 Transferring a project folder ...................................................................................................... 117
6 Diagnostics ............................................................................................................................................ 119
6.1 Diagnostics................................................................................................................................ 119
6.2 Error column.............................................................................................................................. 119
7 Tips and tricks........................................................................................................................................ 123
7.1 Tips and tricks ........................................................................................................................... 123
7.2 Example of a quantity structure in the configuration tool .......................................................... 123
7.3 Changing the worksheet ........................................................................................................... 125
7.4 Row limitation............................................................................................................................ 126
7.5 Address generation ................................................................................................................... 126
7.6 VBA macros .............................................................................................................................. 128
7.7 Special characters..................................................................................................................... 128
7.8 Address strings for Simatic S7 Protocol Suite .......................................................................... 129
7.9 Packages................................................................................................................................... 132
Index...................................................................................................................................................... 133

WinCC Configuration Tool


4 04/2008, Printout of the Online Help
Introduction 1
Introduction
The WinCC configuration tool provides a simple, high-performance option for configuring
bulk data in WinCC. Microsoft Excel serves as the user interface. This enables users to
create a WinCC project in Microsoft Excel and use the advantages Microsoft Excel offers
with regard to operation.
This chapter provides an overview of the functionality of the WinCC configuration tool and of
its operation.

Overview
The WinCC configuration tool provides a simple, high-performance option for configuring
bulk data in WinCC.
Microsoft Excel serves as the user interface. Due to its table structure, it is particularly
suitable for the handling and representation of data from WinCC. It also offers a wide range
of editing options (including autofill, etc.). Moreover, experienced users can extend the
edition options by creating VBA programs (macros).
The configuration tool allows you to set up a new WinCC project and to configure it from the
very beginning from within Excel. In addition, you can also read in existing WinCC projects
and process them in Excel. The local configuration data are used for this purpose. Only
clients without a project of their own can be read in remotely. The computer name of the
client on which the ConfigurationTool is running must be entered in the project on the server.
The right for "Configure remote" must have been assigned.
The configuration is done in a special type of Excel workbook known as a WinCC project
folder. It contains various types of worksheets that are used to configure specific types of
WinCC objects. The configuration tool allows you to configure data from the data manager,
alarm logging, tag logging and the text library.

Note
In the ConfigurationTool, you can only edit links or tags of channels that are included by
default in WinCC.

WinCC Configuration Tool


04/2008, Printout of the Online Help 5
Introduction

WinCC Configuration Tool


6 04/2008, Printout of the Online Help
System requirements 2
Introduction
The configuration tool has the same requirements as WinCC and Microsoft Excel. You have
however the option to use the configuration tool without WinCC. In this case, you can of
course not write data to WinCC.

System requirements
● Windows XP SP2 / Windows Vista
● Microsoft Excel XP, Office 2003
● Internet Explorer 6 or 7

Note
You will need the "Office Assistant" in Excel, so that the warning messages of the
configuration tool will be output.

See also
Example of a quantity structure in the configuration tool (Page 123)

WinCC Configuration Tool


04/2008, Printout of the Online Help 7
System requirements

WinCC Configuration Tool


8 04/2008, Printout of the Online Help
Installation of the ConfigurationTool
The WinCC Configuration Tool can be installed in two different ways.
3
Procedure
1. During WinCC setup, select "WinCC V7.0 complete" from the "Programs" dialog.
WinCC is installed together with SmartTools, the WinCC ConfigurationTool and WinCC
Archive ConfigurationTool.
Start the WinCC ConfigurationTool by selecting "SIMATIC" > "WinCC" > "Tools".

Alternative procedure
It is also possible to install the WinCC ConfigurationTool from the WinCC DVD.
1. Switch to the WinCC DVD directory "InstData\WinCC\setup\Products\ConfigurationTool".
2. Double-click setup.exe.
3. Follow the instructions in the dialog boxes.
The WinCC ConfigurationTool is installed.

WinCC Configuration Tool


04/2008, Printout of the Online Help 9
Installation of the ConfigurationTool

WinCC Configuration Tool


10 04/2008, Printout of the Online Help
Interface 4
4.1 Interface

Introduction
The configuration tool features a number of new functions. It comes with its own toolbar and
system menu entry. New menu options are also added to the Excel menu. The following
chapters describe the above menu options and functions in more detail.

See also
Status bar (Page 16)
Toolbar (Page 12)
Pop-up menu (Page 15)
Dropdown menu (Page 12)

WinCC Configuration Tool


04/2008, Printout of the Online Help 11
Interface
4.2 Toolbar

4.2 Toolbar

Introduction
The toolbar of the configuration tool contains the following elements.

Create project folder


The "New project folder" wizard is opened. This wizard allows you to set up new project
folders.
Switching languages
Opens the "Select language" dialog.
Help
Opens the online help of the configuration tool.
Create WinCC project
The "New WinCC project" wizard is opened. With this wizard, you can create a new WinCC
project based on an existing project folder. The project folder is then linked to the new
WinCC project.
Establish project connection
This option is only available, if the active project folder is already assigned to a WinCC
project and the WinCC project is not active.
Adding tables
The "Add table" dialog is opened. In this dialog, you can add new worksheets to the project
folder.
Write to WinCC
The "Write" dialog is opened. In this dialog, you can write all data from the project folder to
WinCC.

4.3 Dropdown menu

Introduction
The dropdown menu contains the options available under the respective menu headings.
The configuration tool adds a separate menu item to the Excel menu.

WinCC Configuration Tool


12 04/2008, Printout of the Online Help
Interface
4.3 Dropdown menu

Elements of the dropdown menu


Depending on the connection status and project folder type, different options are available in
the dropdown menu.

No project folder active

Create project The "New project folder" wizard is opened. This wizard allows you to set up a new
folder project folder.
Switching Opens the "Select language" dialog.
languages
Help Opens the online help of the configuration tool.

A project folder linked to a WinCC project is active

Create WinCC The "New WinCC project" wizard is opened. With this wizard, you can create a
project new WinCC project. The project folder is then linked to the new WinCC
project.
Establish project Establishes a link between the project folder and the associated WinCC
connection project.
Adding tables The "Add table" dialog is opened. In this dialog, you can add new worksheets
to the project folder.
Change RT Opens the "Change RT language" dialog.
language
Write objects Depending on the type of worksheet that is active, additional menu options
might be available. These are primarily menu options used to write objects that
can be configured on the active worksheet.

WinCC Configuration Tool


04/2008, Printout of the Online Help 13
Interface
4.3 Dropdown menu

Configuring several languages in the configuration tool


In the WinCC configuration tool you can change the WinCC interface language and the
runtime language just as in WinCC:
● To change the interface language, select the menu option "Change language".
● To change the runtime language, select the menu option "Change RT language". The
menu item is available only if the project folder is linked to a WinCC project.
For example, the user text blocks and the message texts depend on the runtime language.
When switching the runtime language, the texts are displayed in the selected language and
you can extend them.

WinCC Configuration Tool


14 04/2008, Printout of the Online Help
Interface
4.4 Pop-up menu

4.4 Pop-up menu

Introduction
The configuration tool adds two additional menu options to the row pop-up menu of Excel.
The row pop-up menu is only available if entire rows in the worksheet are selected.

WinCC - write This menu item is only available, if there is a link to the associated WinCC
selection project. With the menu option "WinCC - write selection", all selected objects are
written to WinCC. This is the only option allowing to write individual objects to
WinCC.
WinCC - delete This menu option "WinCC - delete selection" is used to delete selected objects
selection from the project folder and WinCC. Only this menu allows deleting individual
objects from WinCC.

WinCC Configuration Tool


04/2008, Printout of the Online Help 15
Interface
4.5 Status bar

4.5 Status bar

Introduction
In the configuration tool the status bar of Excel shows information relating to WinCC. If a
project is opened in WinCC, the status bar shows its path and the project name of the
WinCC project currently open in WinCC.

WinCC Configuration Tool


16 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool 5
5.1 Operation of the configuration tool

Introduction
Generally, all functions offered by Excel can be used without restriction. Exceptions here are
the sort and delete functions as they are used by the configuration tool itself.
The configuration tool assists you in the entry of data, providing you with a range of useful
function.

Dropdown list boxes


Dropdown list boxes can be accessed by double-clicking the respective row in the table.
Many parameters are entered as text. By entering parameters using dropdown list boxes,
you ensure a valid value is entered.

WinCC Configuration Tool


04/2008, Printout of the Online Help 17
Operation of the WinCC configuration tool
5.1 Operation of the configuration tool

Autofilling
With autofill, which is an Excel standard function, you can enter many objects in a very
efficient way. The configuration tool supports the autofill operation in two different ways. You
can specify the autofilling method you wish to use in the project properties table.

● Autofilling with default values


Autofilling with default values has the advantage that the parameters provided
automatically by the configuration tool can be set in the respective default value tables.
In the tag table, for example, you need only select the tag name and the data type of the
tag; the other parameters are then loaded automatically from the default value table. If
the values in the default value table are chosen with care, this tool can help you save a
considerable amount of time.
● Autofilling without default values
Autofilling without default values has the advantage that the parameters fields are not
automatically filled by the configuration tool. Instead, each value in the cell is checked
and is not overwritten, if it is valid.
This option is for example used for copying entire objects.

Note
For more information on the autofill tool, please refer to the Microsoft Excel help.

Unique name
The configuration tool checks object names for uniqueness. If an already used name is
detected, you can configure the system to automatically generate a new unique name. The
original name is complemented with a consecutive number.
If you wish to generate object names that are numbered consecutively, we recommend using
the Excel standard function designed for this purpose (enter first name, e.g. Tag_1 and then
autofill).

WinCC Configuration Tool


18 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.2 Creating a new project folder

Input Prompts
The configuration tool checks each data input. If invalid data is entered, it is automatically
corrected. Each alteration performed by the configuration tool is commented by an input
prompt. This is displayed by the Office Assistant. The input prompt need not be
acknowledged but disappears automatically with the next input.

Note
If the Office Assistant is not installed, it is not possible to use the input prompt.

5.2 Creating a new project folder

5.2.1 Creating a new project folder

Introduction
The configuration data of a WinCC project is managed in a project folder. It contains various
types of table sheets which serve to configure specific types of WinCC objects. A new
project folder can be created using the toolbar or drop-down menu.

Procedure

1. Click the button in the toolbar. The "New project folder" wizard is opened.
2. The following 3 options are available on the first page of the wizard:
No connection
A project folder will be created which is not assigned to any WinCC project.
Establish connection to new project
A new project folder is created. A new WinCC project is created and assigned to the
project folder.

WinCC Configuration Tool


04/2008, Printout of the Online Help 19
Operation of the WinCC configuration tool
5.2 Creating a new project folder

Establish connection to existing project


A new project folder is created. It is assigned to an existing WinCC project. The WinCC
project data is read out.

3. Select the required option and press the "Complete" button. For the options
"Establish connection to new project" and "Establish connection to existing project", press
the "Continue" button.
4. The procedures for this are described in the chapters below.

See also
Creating a project folder with a connection to an existing WinCC project (Page 22)
Creating a project folder with a connection to a new WinCC project (Page 24)
Creating a project folder without a connection (Page 21)

WinCC Configuration Tool


20 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.2 Creating a new project folder

5.2.2 Creating a project folder without a connection

Introduction
The configuration tool allows you to set up a project folder that is not assigned to a WinCC
project. A project folder that is not linked to a WinCC project can be configured without any
restrictions. It is however not possible to write data to WinCC. In order to write configured
data to WinCC, you must create a new WinCC project.

Procedure

1. Click the button in the toolbar. The "New project folder" wizard is opened.
2. Select the option "No connection". Click "Complete" to close the wizard.

See also
Creating a new WinCC project (Page 26)

WinCC Configuration Tool


04/2008, Printout of the Online Help 21
Operation of the WinCC configuration tool
5.2 Creating a new project folder

5.2.3 Creating a project folder with a connection to an existing WinCC project

Introduction
The configuration tool offers you the option to create a new project folder and to assign it to
an already existing WinCC project. The data of the WinCC project are then read to the new
project folder.

Procedure

1. Click the button in the toolbar. The "New project folder" wizard is opened.
2. Select the option "Establish connection to existing project". Click "Continue" to open the
second page of the wizard.

WinCC Configuration Tool


22 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.2 Creating a new project folder

3. Select the desired WinCC project. Click "Complete" to close the wizard.

Note
When reading large WinCC projects, Microsoft Excel might display an OLE message box.
This box is automatically acknowledged by the configuration tool. While the OLE message
box is displayed, performance might be impaired.

WinCC Configuration Tool


04/2008, Printout of the Online Help 23
Operation of the WinCC configuration tool
5.2 Creating a new project folder

5.2.4 Creating a project folder with a connection to a new WinCC project

Introduction
The configuration tool offers you the option to create a new project folder and to assign it to a
new WinCC project. The data already available in the project are read.
Procedure

1. Click the button in the toolbar. The "New project folder" wizard is opened.
2. Select option "Establish connection to new project". Click "Continue" to open the second
page of the wizard.

WinCC Configuration Tool


24 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.2 Creating a new project folder

3. Select the type of the new WinCC project. Click "Continue" to open the third page of the
wizard.

4. On the third page of the wizard, select the location in which the new WinCC project is to
be saved. Enter a name for the new WinCC project. Also specify the folder in which the
project folder is to be set up. Click "Complete" to close the wizard.

WinCC Configuration Tool


04/2008, Printout of the Online Help 25
Operation of the WinCC configuration tool
5.2 Creating a new project folder

5.2.5 Creating a new WinCC project

Introduction
The configuration tool allows you to set up a new WinCC project for an existing project
folder. This WinCC project is assigned to the project folder.

Procedure

1. Click the button in the toolbar. The "New project folder" wizard is opened.
2. Select the type of the new WinCC project. Click "Continue" to open the second page of
the wizard.

WinCC Configuration Tool


26 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.2 Creating a new project folder

3. On the second page of the wizard, select the location in which the new WinCC project is
to be saved. You must enter the name of the new WinCC project. Also specify the folder
in which the project folder is to be set up. Click "Complete" to close the wizard.

WinCC Configuration Tool


04/2008, Printout of the Online Help 27
Operation of the WinCC configuration tool
5.3 Worksheets

5.3 Worksheets

5.3.1 Worksheets

Introduction
When a new project folder is created, at least one copy of each necessary sheet type is
created. You also have the option to add additional sheets.

Structure of a worksheet
In the table, one row each is assigned to each object to be configured. The colored lines are
headings, and the gray cells are the parameter headings. The data area consists of the cells
below the parameter headings. The cells outside the data area are available for use as
required.

WinCC Configuration Tool


28 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Creating a new sheet


Open the "Add table" dialog by clicking the corresponding button in the toolbar or select it
from the dropdown menu. Select the type of table required in the dialog. Click "OK" to add
the table to the project folder.

WinCC Configuration Tool


04/2008, Printout of the Online Help 29
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.2 Operation of the "Project Properties" sheet

Introduction
The "Project Properties" sheet contains information on the WinCC project. In addition, it is
possible to define settings here that affect the entire project folder.

WinCC Configuration Tool


30 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

WinCC project

Project name Path and project file of the connected WinCC project.
Project type Type of the project.
Establish connection Choose between "Manual" and "On opening".
If "Manual" is selected, use the toolbar button or dropdown menu to establish a connection
to the associated WinCC project after the project folder is opened.
If "On opening" is selected, the connection to the associated WinCC project is automatically
established when the project folder is opened.
Connection status Indicates whether the associated WinCC project is open or not. Data can only be written to
WinCC, if a connection is established to the project.

Data input

Use default values It is possible to define whether default values should be used or not.
If this is the case, the default values from the default value table are used during
configuration.
If not, the default values are not used. The use of default values increases performance
considerably.

Add-In

Maximum number of lines This is used to define the number of lines after which a new sheet should be created when
reading out data.
Limiting the number of lines improves the performance as Excel requires a considerably
longer time to create new data from a certain number of lines.

Create Messages

Deleting existing messages Specify here whether the already existing messages are to be deleted when messages from
the tag table are generated for the selected tags.
Display dialog Define here whether you wish to use the dialog for the generation of messages from the tag
table.
If not, the settings defined in the "Alarm Logging Default Values" sheet are used.

Creating limit value monitoring

Delete existing limit values Define here whether existing limit values for the selected tags are to be deleted when limit
values are generated from the tag table.
Display dialog Define here whether the dialog for the creation of limit values from the tag table is to be
used.
If not, the settings defined in the "Alarm Logging Default Values" sheet are used.

WinCC Configuration Tool


04/2008, Printout of the Online Help 31
Operation of the WinCC configuration tool
5.3 Worksheets

Creating archive tags

Delete existing archive tags Define here whether existing archive tags for the selected tags are to be
deleted when archive tags are created from the tag table.
Display dialog Specify whether the dialog is to be used to create archive tags from the
tag table.
If you deactivate the dialog, the dialog will open one time. Enter a process
value archive in the dialog as the default archive. Check the "Retain
settings" option so that the dialog will not longer be opened in the future.
The settings defined in the
"Tag Logging Default Values" sheet will be used.

Alarm logging

Check bits for use Define here whether the WinCC configuration tool is to check the tag bit
combination in the alarm logging.
Prompt to display request for modification of This option is used to define whether, following modification of a status
all status texts used text in a message category, a prompt is to be displayed requesting the
modification of all identical status texts.
Prompt to display request for modification of This option is used to define whether, following modification of a message
all message texts used text, a prompt is to be displayed requesting the modification of all identical
message texts.
Delete unused texts This option is used to define whether unused texts are to be automatically
deleted from the text library when deleting objects from the alarm logging
system.
Delete limit values when deleting your single This option is used to define whether limit values are also to be deleted
message when deleting the set single messages or whether a default message
number is to be set.

Comments

Display comments Define here whether the comments are to be displayed on the
"Project Properties" sheet.

5.3.3 Data manager

5.3.3.1 Data manager

Introduction
Connections, tags, structure tags and structure types can be configured on the data
manager sheets. It is also possible to define default values for tags in the "Data Manager
Default Values" sheet. The procedure to configure data in the data manager is explained in
the following chapters.

WinCC Configuration Tool


32 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

See also
Operation of the "Connections/Groups" sheet (Page 35)
Operation of the "Structure Tags" sheet (Page 41)
Operation of the "Structure Types" sheet (Page 44)
Operation of the "Tags" sheet (Page 38)
Operation of the "Data Manager Default Values" sheet (Page 33)

5.3.3.2 Operation of the "Data Manager Default Values" sheet

Introduction
The configuration tool offers the option of pre-assigning default values to parameters of
newly created objects. These default values can be defined on the "Data Manager Default
Values" sheet.
The settings defined here are also used for the structure type elements.

Procedure
One row each is available for the data types that can be set for tags. Define the settings for
the relevant data type in this row.

WinCC Configuration Tool


04/2008, Printout of the Online Help 33
Operation of the WinCC configuration tool
5.3 Worksheets

Deactivating default values


The use of the default values can be deactivated on the "Project Properties" sheet. If the
default values are deactivated, all parameters of a newly created object are checked for
validity and corrected, if necessary (e.g. blank rows). This, however, impairs performance
during the creation of objects. The use of default values is therefore activated by default.

Table structure
The following table lists all parameters that must be defined for tags in the "Data Manager

Default Values" sheet. Parameters with dropdown list boxes are identified by a icon.

Column Short description


Data type All data types available for a tag. This column is write-protected.
Length Length of the tags in WinCC in bytes. For most data types, this value
cannot be edited.
Type conversion of the tag. This can only be adjusted for external
tags. Not all data types are assigned type conversion features.

Type Conversion
Connection of the tag.

Connection

Group of the tag. This parameter is optional.

Group

Address Address of the tag. This can only be adjusted for external tags. The
structure of the address depends on the communication driver set for
the connection. For the structure of the address, refer to the tags in
the parameters column in the WinCC Explorer. The address is
currently not checked for validity. All entries are thus considered
valid.
Update of the tag. This option is only available for internal tags. You
can choose between the options "for entire project" and "local
computer related".
Update

Specify here whether linear scaling is to be used. Linear scaling can


only be chosen for external tags. Not all data types support linear
scaling.
Linear scaling yes/no

Linear scaling process from Scaling range in the process (source scaling).
Linear scaling process to Scaling range in the process (source scaling).
Linear scaling tag from Scaling range of the tag (scaled representation).
Linear scaling tag to Scaling range of the tag (scaled representation).
Upper limit Upper limit value of the tag.
Lower limit Lower limit value of the tag.

WinCC Configuration Tool


34 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Start value Start value of the tag.
Substitute value Substitute value of the tag. Substitute values can only be configured
for external tags.
Substitute value to be used if the actual value is above the upper
limit.

Upper limit substitute value

Substitute value to be used if the actual value is below the lower limit.

Lower limit substitute value

The start value is to be replaced with the substitute value.

Substitute start value

The substitute value is to be used in the event of a connection error.

Error substitute value

Tag synchronization Internal tags are compared on partner computers as soon as one of
the tags is modified on one of the redundant servers.

See also
Operation of the "Project Properties" sheet (Page 30)

5.3.3.3 Operation of the "Connections/Groups" sheet

Introduction
The connection sheet is used for the configuration of two different types of WinCC objects.
This concerns both the connection and the groups assigned to it. The logical assignment of
connections and groups is determined by the position of the respective object in the table.

WinCC Configuration Tool


04/2008, Printout of the Online Help 35
Operation of the WinCC configuration tool
5.3 Worksheets

Procedure

Connections
To create a new connection, you must assign a name to it. The connection thus becomes a
valid object and can be written to WinCC. The connection parameters are assigned default
values. The default values cannot be modified.

Groups
Groups can only be added to existing connections. In order to configure a group, you must
assign only one name to the group.

Writing
Groups are always automatically written to WinCC together with the associated connection.
In order to write groups, you must write the associated connection.

Delete
When a connection is deleted, all subordinate groups are deleted with it. In addition, all
connection tags are deleted. The "Internal tags" connection cannot be deleted. When a
group is deleted, all tags in the group are also deleted.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of the
data cannot be undone.

WinCC Configuration Tool


36 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Table structure
The following table lists all parameters that must be set for connections in the
"Connections/Groups" sheet. Parameters with dropdown list boxes are identified by a

icon.

Column Short description


Name Name of the connection. The name must be unique.
Communication driver of the connection.

Communication driver
Channel unit of the connection.

Channel unit
Parameters Parameter string of the connection. The structure of the parameter string
depends on the chosen communication driver. The parameter string is
currently not checked for validity. All entries are thus considered valid.
Error text Short description of an error that occurred while writing to WinCC. Error-free
objects are assigned the error text "OK".
The following table lists all parameters which must be set for groups in the
"Connections/Groups" sheet.

Column Short description


Name Name of the group. The name must be unique.
Error text Short description of an error that occurred while writing to WinCC.
Error-free objects are assigned the error text "OK".

WinCC Configuration Tool


04/2008, Printout of the Online Help 37
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.3.4 Operation of the "Tags" sheet

Introduction
The tags required can be configured in the "Tags" sheet. When configuring structure tags,
their structure instance elements are automatically created in the tag table.

Procedure
In order to create a new tag, you must assign a name to it. However, the assignment of a
name alone does not mean that the tag is a valid object or that it can be written to WinCC.
If no tag name has been specified, it is not possible to edit the other tag parameters. After
specifying a tag name, only the data type can be edited. The tag becomes a valid object only
after it has been assigned a data type.
If filling with default values has been activated, the other archive parameters of the tag are
assigned the values defined in the default value table.

Writing
As soon as the tag becomes a valid object, it can be written to WinCC. Structure instance
elements cannot be written from the tag table. They are automatically written together with
the associated structure tags.

WinCC Configuration Tool


38 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Delete
On deleting a tag, all limit value monitoring settings configured for this tag are also deleted.
For other objects, the cross-references to the tag are deleted.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of data
cannot be undone.

Special functions
The configuration tool allows you to configure single messages, limit value monitoring and
archive tags from the tag table. The row pop-up menu in the tag table provides a number of
selection options. The procedure of creating objects via the row pop-up menu of the tag table
is explained in the following chapters.

Table structure
The following table lists all parameters that must be set for tags in the "Tags" sheet.

Parameters with dropdown list boxes are identified by a icon.

Column Short description


Name Name of the tag. The name must be unique. The name may not
correspond to that of an existing structure tag.
All data types available for a tag.

Data type
Length Length of the tags in WinCC in bytes. For most data types, this value
cannot be edited.
Type conversion of the tag. This can only be adjusted for external
tags. Not all data types are assigned format adaptation features.

Type Conversion
Connection of the tag.

Connection
Group of the tag. This parameter is optional.

Group
Address Address of the tag. This can only be adjusted for external tags. The
structure of the address depends on the communication driver set for
the connection. For the structure of the address, refer to the tags in
the parameters column in the WinCC Explorer. The address is
currently not checked for validity. All entries are thus considered valid.

WinCC Configuration Tool


04/2008, Printout of the Online Help 39
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Update of the tag. This option is only available for internal tags. You
can choose between the options "for entire project" and "local
computer related".

Update
Specify here whether linear scaling is to be used. Linear scaling can
only be chosen for external tags. Not all data types support linear
scaling.

Linear scaling yes/no


Linear scaling process from Scaling range in the process (source scaling).
Linear scaling process to Scaling range in the process (source scaling).
Linear scaling tag from Scaling range of the tag (scaled representation).
Linear scaling tag to Scaling range of the tag (scaled representation).
Upper limit Upper limit value of the tag.
Lower limit Lower limit value of the tag.
Start value Start value of the tag.
Substitute value Substitute value of the tag. Substitute values can only be configured
for external tags.
Substitute value to be used if the actual value is above the upper limit.

Upper limit substitute value


Substitute value to be used if the actual value is below the lower limit.

Lower limit substitute value


The start value is to be replaced with the substitute value.

Substitute start value


The substitute value is to be used in the event of a connection error.

Error substitute value


Tag synchronization Internal tags are compared on partner computers as soon as one of
the tags is modified on one of the redundant servers.
Error text Short description of an error that occurred while writing to WinCC.
Error-free objects are assigned the error text "OK".

Note
If external tags are created in the tag management of WinCC using the mapper from STEP7,
the connection association must not also be changed using the WinCC Configuration Tool.

WinCC Configuration Tool


40 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

See also
Creating archive tags from the tag table (Page 105)
Creating limit value monitoring from the tag table (Page 111)
Creating single messages from the tag table (Page 107)
Address strings for Simatic S7 Protocol Suite (Page 129)

5.3.3.5 Operation of the "Structure Tags" sheet

Introduction
The required structure tags can be configured on the "Structure Tags" sheet. To do so, at
least one structure type must have already been configured in the project folder.

Procedure
In order to create a new structure tag, you must assign a name to it. However, the
assignment of a name alone does not mean that the structure tag is a valid object or can be
written to WinCC.
If no name has been assigned, it is not possible to edit the other structure tag parameters.
After specifying a tag name, only the data type can be edited. The structure tag becomes a
valid object after it has been assigned a data type.
After defining the structure type, the structure instance elements required for the structure
tag are automatically created on a tag table. After modifications to the structure tag, its
structure instance elements are automatically updated. This also applies to modifications to
the structure type itself.
While adding new structure elements or changing data types of structure elements, you need
to enter the address of all structure tags of this type.

Structure instance elements


When creating structure tags, their structure instance elements are automatically created in
a tag table. Structure instance elements differ from normal tags in that most of their
parameters are write-protected. Only the address and updating as well as upper limit, lower
limit, start value and substitute value can be set.

WinCC Configuration Tool


04/2008, Printout of the Online Help 41
Operation of the WinCC configuration tool
5.3 Worksheets

Note
In the following SIMATIC channels, the addresses of the structure instance elements are
generated automatically from the start address of the structure tags:
• SIMATIC S7 Protocol Suite
• SIMATIC S5 Ethernet Layer 4
• SIMATIC S5 Ethernet TF
• SIMATIC S5 PMC Ethernet
• SIMATIC TI Ethernet Layer 4
• SIMATIC S5 PMC Profibus
• SIMATIC S5 Serial 3964R
• SIMATIC S5 Programmers Port AS511

Write
If an attempt is made to write a structure tag to WinCC whose set structure type does not
exist in WinCC or whose parameters in WinCC are not updated, a prompt appears
requesting whether the structure type should also be written. If the prompt is answered with
"No", the selected structure tags are not written to WinCC.
The structure instance elements are also automatically written to WinCC.

Delete
On deleting a structure tag, all associated structure instance elements are also deleted.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of the
data cannot be undone.

WinCC Configuration Tool


42 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Table structure
The following table lists all parameters that must be set on the "Structure Tags" sheet.

Parameters with dropdown list boxes are identified by a icon.

Column Short description


Name Name of the structure tag. The name must be unique. The name may not correspond
to that of an existing tag.
Structure type of the structure tag.

Structure
type
Connection of the structure tag.

Connection
Group of the structure tag. This parameter is optional.

Group
Address of the structure tag. The address can only be defined for external structure
Address tags. The structure of the address depends on the communication driver set for the
connection. For the structure of the address, refer to the tags in the parameters
column in the WinCC Explorer. The address is currently not checked for validity. All
entries are thus considered valid.
Update of the structure tag. This parameter can only be set for internal structure tags.
You can choose between the options "for entire project" and "local computer related".

Update
Error text Short description of an error that occurred while writing to WinCC. Error-free objects
are assigned the error text "OK".

See also
Address strings for Simatic S7 Protocol Suite (Page 129)

WinCC Configuration Tool


04/2008, Printout of the Online Help 43
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.3.6 Operation of the "Structure Types" sheet

Introduction
The structure type table is used for the configuration of two different types of WinCC objects,
namely the structure type itself and the structure type elements associated with it. The
logical assignment between structure type and structure type element is determined from the
position of the respective object in the table.

Procedure

Structure types
In order to create a new structure type, you must assign a name to it. In this way, the type
becomes a valid object and could be written to WinCC. The other structure type parameters
are optional.

Modifying Structure Types


While modifying structure types that have been used to insert one or more structure tags,
then you need to enter the address again in the "Structure tags" spreadsheet.

Structure type elements


Structure type elements can only be configured if the structure type already exists. In order
to create a new structure type element, you must assign a name to it. The name alone,
however, does not make the structure type element a valid object. The structure type
element becomes a valid object only after it has been assigned a data type.
As long as no structure type element name has been assigned, it is not possible to edit the
other structure type element parameters. After specifying a structure type element name,
only the data type can be edited. The structure type element becomes a valid object only
after defining the data type.
If filling with default values has been activated, the other structure type element parameters
are assigned the values defined for tags in the default value table.

WinCC Configuration Tool


44 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Writing
It is not possible to write structure type elements individually to WinCC. You must always
write the entire structure type to WinCC. It is irrelevant whether the structure type with all its
structure type elements is selected or the structure type alone. The complete structure type
with all its elements is always written to WinCC.

Deleting
If a structure type is deleted, all associated structure type elements, structure tags and
structure instance elements are also deleted. If a structure type element is deleted, all
associated structure instance elements are also deleted. The deletion of the structure
instance element from WinCC is performed the next time the structure type is written.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of data
cannot be undone.

Table structure
The following table lists all parameters that must be defined for structure types on the
"Structure Types/Structure Type Elements" sheet. Parameters with dropdown list boxes are

identified by a icon.

Column Short description


Name Name of the structure type.
Communication driver of the channel unit to be used for formatting. This
parameter is optional.

Communication driver
Channel unit whose formats are to be used. These parameters can only be
set when a communication driver has been chosen.

Channel unit

WinCC Configuration Tool


04/2008, Printout of the Online Help 45
Operation of the WinCC configuration tool
5.3 Worksheets

The following table lists all parameters that must be defined for structure type elements on
the "Structure Types/Structure Type Elements" sheet. Parameters with dropdown list boxes

are identified by a icon.

Column Short description


Name Name of the structure type element. This name must be unique within a
structure type.
Data type of the tag.

Data type
Length Length of the tag in the process in bytes. For most data types, the length
depends on the format adaptation and cannot be modified.
Offset Address offset of a structure instance element to the address set on the
structure tag (start address).
Offset bit Structure type element offset bit of the set structure tag start address.
Format adaptation of the tag. This can only be defined for external structure
type elements. Not all data types are assigned format adaptation features.

Format adaptation
Specifies whether the structure type element is to be external or internal.

External tag
Specify here whether linear scaling is to be used. Linear scaling can only be
chosen for external tags. Not all data types support linear scaling.

Linear scaling
yes/no
Linear scaling Scaling range of the process (source scaling).
process from
Linear scaling Scaling range of the process (source scaling).
process to
Linear scaling tag Scaling range of the tag (scaled representation).
from
Linear scaling tag to Scaling range of the tag (scaled representation).
Error text Short description of an error that occurred while writing to WinCC. Error-free
objects are assigned the error text "OK".

WinCC Configuration Tool


46 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.4 Alarm logging

5.3.4.1 Alarm logging

Introduction
The alarm logging sheets are used to configure message blocks, message classes, group
messages, single messages as well as limit value monitoring. Moreorver, the
"Alarm Logging Default Values" sheet can be used to define default values for individual
messages and limit value monitoring. The procedure to configure data in alarm logging is
explained in the following chapters.

See also
Operation of the "Limit value monitoring" sheet (Page 63)
Operation of the "Single Message" sheet (Page 60)
Operation of the "Group Messages" sheet (Page 58)
Operation of the "Message Classes/Message Types" sheet (Page 54)
Operation of the "Message Blocks" sheet (Page 52)
Operation of the "Alarm Logging Default Values" sheet (Page 47)

5.3.4.2 Operation of the "Alarm Logging Default Values" sheet

Introduction
The configuration tool offers the option of pre-assigning default values to parameters of
newly created objects. These default values can be defined on the "Alarm Logging Default
Values" sheet.

WinCC Configuration Tool


04/2008, Printout of the Online Help 47
Operation of the WinCC configuration tool
5.3 Worksheets

Procedure
In alarm logging, you can set default values for single messages, the "Generate single
messages" dialog, for limit value monitoring and for the "Generate limit values" dialog.

Deactivating default values


The use of the default values can be deactivated on the "Project Properties" sheet. If the
default values are deactivated, all parameters of a newly created object are checked for
validity and corrected, if necessary (e.g. blank rows). This, however, impairs performance
during the creation of objects. The use of default values is therefore activated by default.

WinCC Configuration Tool


48 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Table structure

Single messages
The following table lists all parameters that must be defined for single messages in the
"Alarm Logging Default Values" sheet. Parameters with dropdown list boxes are identified by

a icon.

Column Short description


Number This parameter is write-protected.
Message class of the single message.

Class
Message type of the single message

Type
Group message of the single message. This parameter is optional.

Group
Priority Priority of the single message.
Message tag of the single message. Only certain data types can be used
as a message tag. This parameter is optional.

Message tag
Message bit Message bit of the single message. If a message tag is set, a message
bit must be specified.
Status tag of the single message. Only certain data types can be used as
status tags. This parameter is optional.

Status tag
Status bit Status bit of the single message. If a status tag is set, a status bit must
be specified.
Acknowledgement tag of the single message. Only certain data types can
be used as acknowledgement tags. This parameter is optional.

Acknowledgement tag
Acknowledgement bit Acknowledgement bit of the single message. If an acknowledgement tag
is set, an acknowledgement bit must be specified.
PLC number PLC number of the single message
CPU number CPU number of the single message
Message text1 to Message texts of the single message. A message text can only be
message text10 configured if the respective message block is activated.
Process value tag 1 to Process value tags of the single message. A process value tag can only
process value tag 10 be configured, if the respective process value block must be activated.
Info text Information text of the single message.

WinCC Configuration Tool


04/2008, Printout of the Online Help 49
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Defines whether the single message must be individually acknowledged.

Requires individual
acknowledgement
Defines whether the single message is to trigger the signaling device.

Controls central signaling


device
Defines whether the single message is to be archived.

Will be archived
Defines whether the single message is to be triggered at the negative
edge.

Is created on a negative
edge
Defines whether the standard GMsgFunction is to be triggered.

Triggers an action
Loop in alarm function Name of the function that is to be triggered by the single message.
Loop in alarm parameters Transfer parameter of the loop in alarm function.
Format DLL adapting incoming raw data telegrams to suit the WinCC
alarm logging system.

FormatDll

Generate messages
The following table lists all parameters that must be defined in the "Alarm Logging Default
Values" sheet for the "Generate messages" dialog. Parameters with dropdown list boxes are

identified by a icon.

Column Short description


Indicates whether a message is to be generated for this bit.

Bit 0 to bit 31
Raw data Indicates the number of messages to be generated for one raw data tag.
quantity

WinCC Configuration Tool


50 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Limit value monitoring/limit value


The following table lists all parameters that must be defined for limit value monitoring in the
"Alarm Logging Default Values" sheet. Parameters with dropdown list boxes are identified by

a icon.

Column Short description


Tag This parameter is write-protected.
One message for all limit Single message to be used in the case of all limit values.
values
Delay time Defines the period of time the value is to be above or below the upper or
lower limit value respectively, before a single message is triggered.
Unit of delay time.

Delay unit

The following table lists all parameters that must be defined for limit values in the "Alarm
Logging Default Values" sheet. Parameters with dropdown list boxes are identified by a

icon.

Column Short description


Limit value This parameter is write-protected.
Limit value indirectly from This parameter is write-protected.
tag
Defines whether the limit value is to be the upper or the lower limit
value.

Limit
Message number Single message to be triggered. If the parameter "One message for all
limit values" is set for limit value monitoring, you cannot enter a
message number here.
Defines whether the messages from tags whose quality code is not
"GOOD" are to be suppressed.

Suppress message for


quality codes other than
"GOOD"
Defines whether the hysteresis is absolute or relative (in percentages).

Hysteresis
Hysteresis value Value of hysteresis. 0 means that no hysteresis is used.
Defines when the hysteresis is to take effect.

Hysteresis effective from

WinCC Configuration Tool


04/2008, Printout of the Online Help 51
Operation of the WinCC configuration tool
5.3 Worksheets

Generate limit values


The following table lists all parameters that must be defined in the "Alarm Logging Default
Values" sheet for the "Generate limit values" dialog. Parameters with dropdown list boxes

are identified by a icon.

Column Short description


Limit value Limit value of the tag.
Tag from which the limit value is to be retrieved indirectly.

Limit value indirectly


from tag
Limit Defines whether the limit value is to be the upper or the lower limit value.

5.3.4.3 Operation of the "Message Blocks" sheet

Introduction
The "Message Blocks" sheet can be used to activate or deactivate system blocks, user text
blocks and process value blocks.

WinCC Configuration Tool


52 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Procedure
In order to activate a message block, set the parameter in the "Use" column to "Yes". Not all
parameter settings can be modified in all message blocks. If a message block is deactivated,
all parameter settings on the single message table defined for this message block are
deleted.
If a user text block or process value block are activated, a new column is added to the single
message table. The name of the message block is entered as the heading.
No further message blocks can be added.

Writing
Since all available message blocks already exist, the message blocks can be written to
WinCC immediately.

Delete
Message blocks cannot be deleted in the configuration tool, only deactivated.

Table structure
The following table lists all parameters that must be set for message blocks. Parameters with

dropdown list boxes are identified by a icon.

Column Short description


Defines whether a message block is to be used.

Use
Name Name of the message block.
Block type Message block type. This parameter is provided for information purposes only and is
write-protected.
Length Message block length. This parameter cannot be set for all message blocks.
Defines whether a message displayed in the message window is to flash.

Flashing
Defines the alignment of the text displayed in the message window.

Alignment
Representation in the message window. Format1 is determined by the message block
and can only be chosen for some message blocks.

Format1

WinCC Configuration Tool


04/2008, Printout of the Online Help 53
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Representation in the message window. Format2 is determined by the message block
and can only be chosen for some message blocks.

Format2
Error text Short description of an error that occurred while writing to WinCC. Error-free objects
are assigned the error text "OK".

5.3.4.4 Operation of the "Message Classes/Message Types" sheet

Introduction
The "Message Classes/Message Types" sheet is used for the configuration of two different
types of WinCC objects, namely message classes as well as the message types which are
subordinate to the message classes. The logical assignment of message classes and
message types is determined by the position of the respective object in the table.

WinCC Configuration Tool


54 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Procedure

Message classes
To create a new message class, you must assign a name to it. The remaining parameters
are allocated default values. After entering a name, the message class is defined as a valid
object and can be written to WinCC. The name of the message class must be unique and
may not be identical to the name of a message type or group message.
It is possible to create a maximum of 16 user-defined message classes each with 16
message types. In addition, two system message classes each with two system message
types are already provided and can only be configured in a limited respect.

Message types
In order to create a new message type, a message class must already be available. The new
message type must be given a name. The remaining parameters are allocated default
values. The coloration of the message types must be defined using the standard Excel
function for cell formatting.

Note
The parameters of the group messages which are automatically generated in WinCC for
each message class and message type are different in that they are already provided on the
sheet.

Writing
Message types cannot be written to WinCC individually. The superordinated message class
must be written to WinCC in order to write message types there. The subordinate message
types are automatically written with the message classes.

Deleting
If a message class is deleted, all associated message types are deleted with it. The system
message classes cannot be deleted. Message types can be deleted individually from the
table. In order to delete message types from WinCC, the associated message class must be
written to WinCC.
The single messages belonging to a message type or message class are also deleted during
the deletion action.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of data
cannot be undone.

WinCC Configuration Tool


04/2008, Printout of the Online Help 55
Operation of the WinCC configuration tool
5.3 Worksheets

Table structure
The following table lists all parameters which must be set for message classes in the
"Message Classes/Message Types" sheet. Parameters with dropdown list boxes are

identified by a icon.

Column Short description


Name Name of the message class. The name must be unique.
Defines whether incoming messages are to be acknowledged.

Acknowledgement came in
Defines whether outgoing messages are to be acknowledged.

Acknowledgement went out


Defines whether queued messages are to flash.

Flashing
Defines whether only the first queued message of this message class
is to flash.

Only first value flashing


Defines whether only the message "came in" status is to be archived.

Message without status "went


out"
Defines whether the signaling device is to be acknowledged by a
separate acknowledgement button or via individual
acknowledgement.
Acknowledge central
signaling device
Tag through which the signaling device is triggered.

Central signaling tag


Status text arrived Text for the "came in" status. The text can be maximum 63 characters
long.
Status text departed Text for the "went out" status. The text can be maximum 63
characters long.
Status text acknowledged Text for the "acknowledged" status. The text can be maximum
63 characters long.
Status text arrived and The text for the "arrived and departed" status. The text can be
departed maximum 63 characters long.
Group message status tag of the message class. This parameter is
optional.

Group message status tag

WinCC Configuration Tool


56 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Group message status bit Group message status bit of the message class. Two tag bits are
used. If a status tag is specified, a status bit must also be specified.
Group message lock tag of the message class. This parameter is
optional.

Group message lock tag


Group message blocking bit Group message blocking bit of the message class. If a lock tag is
specified, a lock bit must also be specified.
Group message acknowledgement tag of the message class. This
parameter is optional.

Group message
acknowledgement tag
Group message Group message acknowledgement bit of the message class. If an
acknowledgement bit acknowledgement tag is specified, an acknowledgement bit must also
be specified.
Error text Short description of an error that occurred while writing to WinCC.
Error-free objects are assigned the error text "OK".

The following table lists all parameters which must be set for message types in the
"Message Classes/Message Types" sheet. Parameters with dropdown list boxes are

identified by a icon.

Column Short description


Name Name of the message type. The name must be unique.
Message arrived coloration Text color and background color of the message with
"message arrived" status.
Message departed Text color and background color of the message with
coloration "message departed" status.
Message acknowledged Text color and background color of the message with
coloration "message acknowledged" status.
Group message status tag of the message type. This parameter is
optional.

Group message status tag


Group message status bit Group message status bit of the message type. Two tag bits are
used. If a status tag is specified, a status bit must also be specified.
Group message lock tag of the message type. This parameter is
optional.

Group message blocking tag


Group message blocking bit Group message blocking bit of the message type. If a lock tag is
specified, a lock bit must also be specified.
Group message acknowledgement tag of the message type. This
parameter is optional.
Group message
acknowledgement tag

WinCC Configuration Tool


04/2008, Printout of the Online Help 57
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Group message Group message acknowledgement bit of the message type. If an
acknowledgement bit acknowledgement tag is specified, an acknowledgement bit must also
be specified.
Error text Short description of an error that occurred while writing to WinCC.
Error-free objects are assigned the error text "OK".

5.3.4.5 Operation of the "Group Messages" sheet

Introduction
On the "Group Messages" sheet, you can configure group messages of all six possible
levels.

Procedure
To create a new group message, you must assign a name to it. After a name has been
entered, the group message is defined as a valid object and can be written to WinCC. The
name of the group message must be unique.
Group messages are structured hierarchically. This means that group messages related to
the first level must be configured first, before configuring group messages for the second
level. In order to configure third level group messages, second level group messages must
have been configured beforehand, etc.

Writing
Only group messages from the first level can be written to WinCC. All subgroups which exist
are automatically written to WinCC with them.

WinCC Configuration Tool


58 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Delete
Group messages from all levels can be deleted. All subgroups are automatically deleted with
them.
Single messages for which a deleted group message was specified are not deleted. Only the
references to the group message are deleted.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of the
data cannot be undone.

Table structure
The following table lists all parameters that must be set for group messages. Parameters

with dropdown list boxes are identified by a icon.

Column Short description


Name of layer 1 to Name of the group message.
layer 6
Status tag of the group message. This parameter is optional.

Status tag
Status bit Status bit of the group message. Two tag bits are used. If a status tag is
specified, a status bit must also be specified.
Lock tag of the group message. This parameter is optional.

Lock tag
Lock bit Lock bit of the group message. If a lock tag is specified, a lock bit must also
be specified.
Acknowledgement tag of the group message. This parameter is optional.

Acknowledgement tag
Acknowledgement bit Acknowledgement bit of the group message. If an acknowledgement tag is
specified, an acknowledgement bit must also be specified.
Hide tag The hide tag of a customized group message is used for automatically
hiding single messages that belong to this group message.
Error text Short description of an error that occurred while writing to WinCC. Error-free
objects are assigned the error text "OK".

WinCC Configuration Tool


04/2008, Printout of the Online Help 59
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.4.6 Operation of the "Single Message" sheet

Introduction
The required single messages can be configured on the "Single Message" sheet. The
number of parameters to be set varies according to the number of message blocks that have
been activated or deactivated. Single messages can also be generated from the tag table.

Procedure
In order to create a single message, you must assign a name to it. If filling with default
values has been activated, the other parameters of the single message are assigned the
values defined in the default value table. Otherwise, the remaining parameters are assigned
predefined values.
After a number has been entered, the single message is defined as a valid object and can be
written to WinCC.
Single messages can also be generated from the tag table. The procedure for this is
described in the chapter below.

Writing
As soon as the single message is defined as a valid object, it can be written to WinCC. The
configured message texts are also written to WinCC. It is important to make sure the tags
used in the single message table have been written to WinCC beforehand.

Delete
On deleting a single message, all message texts that are no longer necessary are also
deleted. This is defined in the settings entered in the project properties table. Limit values
are also handled according to the settings in the project properties table
(delete or set default message number).

WinCC Configuration Tool


60 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Note
The data are deleted permanently from the project folder and WinCC. The deletion of the
data cannot be undone.

Table structure
The following table lists all parameters that must be set for single messages. Parameters

with dropdown list boxes are identified by a icon.

Column Short description


Number Number of the single message
Message class of the single message.

Class
Message type of the single message

Type
Group message of the single message. This parameter is optional.

Group
Priority Priority of the single message.
Message tag of the single message. Only certain data types can be
used as a message tag. This parameter is optional.

Message tag
Message bit Message bit of the single message. If a message tag is set, a
message bit must be specified.
Status tag of the single message. Only certain data types can be
used as status tags. This parameter is optional.

Status tag
Status bit Status bit of the single message. If a status tag is set, a status bit
must be specified.
Acknowledgement tag of the single message. Only certain data types
can be used as acknowledgement tags. This parameter is optional.

Acknowledgement tag
Acknowledgement bit Acknowledgement bit of the single message. If an acknowledgement
tag is set, an acknowledgement bit must be specified.
PLC number PLC number of the single message
CPU number CPU number of the single message
Message text1 to message Message texts of the single message. A message text can only be
text10 configured if the respective message block is activated.

WinCC Configuration Tool


04/2008, Printout of the Online Help 61
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Process value tag 1 to Process value tags of the single message. A process value tag can
process value tag 10 only be configured, if the respective process value block must be
activated.
Info text Information text of the single message.
Defines whether the single message must be individually
acknowledged.

is single acknowledgment
only
Defines whether the single message is to trigger the signaling device.

controls the central signaling


device
Defines whether the single message is to be archived.

Will be archived
Defines whether the single message is to be triggered at the negative
edge.

Is created on a negative
edge
Defines whether the standard GMsgFunction is to be triggered.

Triggers an action
Loop in alarm function Name of the function to be triggered by the single message.
Loop in alarm parameters The transfer parameter to the Loop in Alarm function.
Format DLL adapting incoming raw data telegrams to suit the
WinCC alarm logging system.

Format Dll
Hide mask Specify the system statuses for hiding the single mask via the hide
mask.
Error text Short description of an error that occurred while writing to WinCC.
Error-free objects are assigned the error text "OK".

See also
Creating single messages from the tag table (Page 107)

WinCC Configuration Tool


62 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.4.7 Operation of the "Limit value monitoring" sheet

Introduction
The "Limit value monitoring" sheet serves to configure two different types of WinCC objects,
namely the limit value monitoring as well as the subordinate limit values. The logical
assignment between limit value monitoring and limit value is determined from the position of
the respective object in the table.

Procedure

Limit value monitoring


In order to create a limit value monitoring, you must set a tag. By setting a tag, the limit value
monitoring is already defined as a valid object and can be written to WinCC. The limit value
monitoring parameters are assigned default values. The default values can be defined on the
"Alarm Logging Default Values" sheet.

Limit values
Limit values can only be added to existing limit value monitoring settings. In order to create a
limit value, either a limit value must be entered or a tag from which the limit value can be
indirectly transferred. In this way, the limit value is defined as a valid object and can be
written to WinCC. The limit value parameters are assigned default values. The default values
can be defined on the "Alarm Logging Default Values" sheet.

WinCC Configuration Tool


04/2008, Printout of the Online Help 63
Operation of the WinCC configuration tool
5.3 Worksheets

Writing
Limit values are automatically written together with the superordinated limit value monitoring.
Limit values cannot be written to WinCC individually.

Note
In WinCC you have to activate the limit value monitoring function in the Alarm Logging editor
by selecting "Tools - Add ins".

Deleting
On deleting a limit value monitoring setting, all subordinate limit values are also deleted.
Limit values can also be deleted individually.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of the
data cannot be undone.

WinCC Configuration Tool


64 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Using the tag table pop-up menu, you can generate limit value monitoring together with limit
values. The procedure for this is described in the chapter below.
Limit values for existing limit value monitoring can be generated by using the "Limit Value
Monitoring/Limit Values" table sheet. To do this, select the limit value monitoring to which the
limit values are to be added. Select the item "WinCC - create limit values" in the sheet pop-
up menu.

The "Limit value monitoring" dialog is displayed. The subsequent procedure is described in
the chapter below from item 3.

WinCC Configuration Tool


04/2008, Printout of the Online Help 65
Operation of the WinCC configuration tool
5.3 Worksheets

Table structure
The following table lists all parameters which must be set for limit value monitoring in the
"Limit Value Monitoring/Limit Values" sheet. Parameters with dropdown list boxes are

identified by a icon.

Column Short description


The tag to be monitored.

Tag
One message for all limit A single message to be used for all limit values. If a message number is
values entered, no other single messages can be entered for the individual limit
values.
Delay time Defines the period of time the value is to be above or below the upper or
lower limit value respectively, before a single message is triggered. The
value 0 signifies no delay. The total delay may be a maximum of 24
hours.
Unit of delay time.

Delay unit
Error text Short description of an error that occurred while writing to WinCC.
Error-free objects are assigned the error text "OK".

The following table lists all parameters which must be set for limit values in the "Limit Value
Monitoring/Limit Values" sheet. Parameters with dropdown list boxes are identified by a

icon.

Column Short description


Limit value Limit value of the tag. Can only be set if the limit value is not to be
indirectly transferred from a tag.
The limit value of the tag whose limit value is being monitored is to be
transferred indirectly from another tag.

Limit value indirectly from tag


Defines whether the limit value is to be the upper or the lower limit
value.

Limit
Message number Single message to be triggered.
Defines whether the messages from tags whose quality code is not
"GOOD" are to be suppressed.

Suppress message for


quality codes other than
"GOOD"

WinCC Configuration Tool


66 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Defines whether the hysteresis is absolute or relative
(in percentages).

Hysteresis
Hysteresis value Value of hysteresis. 0 means that no hysteresis is used.
Defines when the hysteresis is to take effect.

Hysteresis effective from


Error text Short description of an error that occurred while writing to WinCC.
Error-free objects are assigned the error text "OK".

See also
Creating limit value monitoring from the tag table (Page 111)

5.3.5 Tag logging

5.3.5.1 Tag logging

Introduction
The "Tag Logging" sheets can be used to configure times, process value archives and
compressed archives. In addition, the "Tag Logging Default Value" sheet can be used to
define default values for process value archives and compressed archives. The procedure to
configure data in tag logging is explained in the following chapters.

See also
Operation of the "Compressed Archives" sheet (Page 78)
Operation of the "Process Value Archive" sheet (Page 74)
Operation of the "Times" sheet (Page 72)
Operation of the "Tag Logging Default Values" sheet (Page 68)

WinCC Configuration Tool


04/2008, Printout of the Online Help 67
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.5.2 Operation of the "Tag Logging Default Values" sheet

Introduction
The configuration tool offers the option of pre-assigning default values to parameters of
newly created objects. These default values can be defined on the "Tag Logging Default
Values" sheet.

Procedure
The tag logging feature can be used to define default values for process value archives,
process value archive tags, compressed archives and compressed archive tags.

Deactivating default values


The use of the default values can be deactivated in the "Project properties" sheet. If the
default values are deactivated, all parameters of a newly created object are checked for
validity and corrected, if necessary (e.g. blank rows). This, however, impairs performance
during the creation of objects. The use of default values is therefore activated by default.

WinCC Configuration Tool


68 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Table structure
The following tables list the parameters which must be set in the sheet. Parameters with

dropdown list boxes are identified by a icon.

Process value archives

Column Short description


Archive name This parameter is write-protected.
This parameter is write-protected.

Archive type
Comment Any comment.
Defines whether the archiving is to begin when the system is started.

Archiving at system start


Start/enable action Action called upon starting or enabling archiving.
Size Size of the archive in data records.
The parameter can only be set for cyclic archives. Defines whether the
archive is to be stored in the main memory or on the hard disk.

Memory location

Process value archive tags

Column Short description


Tag This parameter is write-protected.
Archive tag name This parameter is write-protected.
Archive tag type This parameter is write-protected.
Comments Any comment.
Defines whether the archiving is to begin when the system is started.

Archiving at system start


Defines whether the tag data are to be applied automatically or
manually.

Supplying tags
Type of data acquisition.

Acquisition type
Cycle to be used for data acquisition.

Acquisition cycle

WinCC Configuration Tool


04/2008, Printout of the Online Help 69
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Time base to be used by the cycle for archiving and displaying data. The
archiving cycle results from the product time base and the archiving
cycle factor. This must be an integer multiple of the acquisition cycle.
Archiving cycle
Archiving cycle factor Archiving cycle factor. The archiving cycle results from the product time
base and the archiving cycle factor. This must be an integer multiple of
the acquisition cycle.
Also write in tag Tag into which the last archived value is to be transferred.
Processing of the data acquired. All selection options are available in the
case of cyclically selective and cyclically continuous archiving. Only the
current value can be used in the case of acyclic archiving and archiving
Editing after every change.
Action for processing Action with which the data is to be processed. This parameter can only
be set if processing is set to action.
Unit Unit of the time value entered.
Relevant long term Defines whether the archive tag is to be written to the archive on the
central archive server (WinCC CAS).
Defines whether the tag is only to be archived following a modification.

Archiving on change
Defines whether the hysteresis is absolute or relative (in percentages).

Hysteresis
Hysteresis value Value of hysteresis. 0 means that no hysteresis is used.
Trigger in the case of binary process value archive tags. This parameter
is write-protected for analog and process controlled tags.

Archiving on
Defines whether the last value or replacement value is to be archived
following an error.

Save on error
Number of values leader The number of values to be taken into account prior to archiving. This
parameter can only be set in the case of cyclically selective archiving.
Number of values trailer Number of values to be taken into account after archiving. This
parameter can only be set in the case of cyclically selective archiving.
Representation limit, The lower limit of the tag value range. 0 signifies no limit.
lower limit
Representation limit, The upper limit of the tag value range. 0 signifies no limit.
upper limit
Start event Name of the function that triggers archiving.
Start tag Binary tag.
Stop event Name of the function that stops archiving.
Stop tag Binary tag.
Relevant long term You can define here whether the archive tag on the central archive
server (WinCC CAS) is to be written to the archive.

WinCC Configuration Tool


70 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Archive after segment It can be determined here whether the acyclic archived tags are archived
change during a segment change.
Adaptation program associated with the tag. It is determined by the AS
manufacturer.

Standardizing DLL

Compressed archives

Column Short description


Archive name This parameter is write-protected.
Comments Any comment.
Defines whether the archiving is to begin when
the system is started.

Archiving at system start


Start/enable action Action called upon starting or enabling archiving.
Method with which the source archive or
compressed archive tag is processed.

Processing method
Time period for compressing in the archive set
up. The compressing period must be at least one
minute.
Compression time period

Compressed archive tags

Column Short description


Source archive This parameter is write-protected.
Source tag This parameter is write-protected.
Archive tag name This parameter is write-protected.
Comments Any comment.
Defines whether the archiving is to begin when
the system is started.

Archiving at system start


Processing method for the values compiled
during the archiving cycle.

Editing
Unit Unit of the tag to be archived.
Relevant long term You can define here whether the archive tag is to
be written to the archive on the central archive
server (WinCC CAS).

WinCC Configuration Tool


04/2008, Printout of the Online Help 71
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.5.3 Operation of the "Times" sheet

Introduction
The time cycles required for the archives can be configured on the "Times" sheet. When a
new project folder or new WinCC project is created, five times are provided by default. These
can be modified or deleted.

Procedure
In order to create a new time, it must be assigned a name. The remaining parameters are
assigned predefined values. After entering a name, the time is defined as a valid object and
it can be written to WinCC.

Writing
As soon as the time becomes a valid object, it can be written to WinCC. If a time is written to
WinCC, all modified archive system objects are also written to WinCC.

Deleting
Only times that are not used by any archive can be deleted.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of the
data cannot be undone.

WinCC Configuration Tool


72 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Table structure
The following table lists all parameters that must be set for times. Parameters with dropdown

list boxes are identified by a icon.

Column Short description


Name Name of the time.
Base of the time. The product of base x factor is the cycle time.

Base
Factor Factor with which the base is to be multiplied. The product of base x factor
is the cycle time.
Defines whether the cycle is to be triggered when the system is started.

Trigger at system start


Defines whether the cycle is to be triggered at the start point.

Trigger at start point


Start point month The start point month can only be set if the option "Trigger at start point" is
set to "Yes" and the cycle time is at least one hour.
Start point day The start point day can only be set if the option "Trigger at start point" is
set to "Yes" and the cycle time is at least one hour.
Start point hour The start point hour can only be set if the option "Trigger at start point" is
set to "Yes" and the cycle time is at least one minute.
Start point minute The start point minute can only be set if the option "Trigger at start point"
is set to "Yes".
Start point second The start point second can only be set if the option "Trigger at start point"
is set to "Yes".
Error text Short description of an error that occurred while writing to WinCC. Error-
free objects are assigned the error text "OK".

WinCC Configuration Tool


04/2008, Printout of the Online Help 73
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.5.4 Operation of the "Process Value Archive" sheet

Introduction
The process value archive table is used for the configuration of two different types of WinCC
objects, namely the process value archive and the process value archive tags associated
with it. The logical assignment between archive and tag is determined from the position of
the respective object in the table.

Procedure

Process value archives


In order to create a new process value archive, you must assign a name to it. As soon as a
name has been assigned, the archive is defined as a valid object and can be written to
WinCC. If filling with default values has been activated, the other archive parameters are
assigned the values defined in the default value table.

Process value archive tags


In order to create a new process value archive tag, an existing tag must be entered in the
"Tag" column. To enter a tag in the "Tag" column, use the tag selection dialog which can be
opened by double-clicking the respective cell. As soon as a tag has been entered, the
process value archive tag is defined as a valid object and can be written to WinCC.
If filling with default values has been activated, the other archive parameters of the process
value archive tag are assigned the values defined in the default value table.

Note
Process value archives and process value archive tags can also be configured using the tag
table. The procedure for the configuration of data in the tag table is explained in the following
chapter.

WinCC Configuration Tool


74 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Writing
If a process value archive or process value archive tag is written to WinCC, all modified
objects of the tag logging function are automatically written to WinCC.

Delete
If a process value archive is deleted, all subordinate process value archive tags are deleted
with it. In addition, all compressed archive tags set via the process value archive or process
value archive tag are also deleted.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of the
data cannot be undone.

Table structure
The following tables list the parameters which must be set in the sheet. Parameters with

dropdown list boxes are identified by a icon.

Process value archives

Column Short description


Archive name Name of the process value archive. The name must be unique.
This parameter is write-protected.

Archive type
Comment Any comment.
Defines whether the archiving is to begin when the system is started.

Archiving at system start


Start/enable action Action called upon starting or enabling archiving.
Size Size of the archive in data records.
The parameter can only be set for cyclic archives. Defines whether the
archive is to be stored in the main memory or on the hard disk.

Memory location

WinCC Configuration Tool


04/2008, Printout of the Online Help 75
Operation of the WinCC configuration tool
5.3 Worksheets

Process value archive tags

Column Short description


Tag Tag to be archived.
Archive tag name Name of the process value archive tag. The name must be unique.
Archive tag type This parameter is write-protected.
Comments Any comment.
Defines whether the archiving is to begin when the system is started.

Archiving at system start


Defines whether the tag data are to be applied automatically or
manually.

Supplying tags
Type of data acquisition.

Acquisition type
Cycle to be used for data acquisition.

Acquisition cycle
Time base to be used by the cycle for archiving and displaying data. The
archiving cycle results from the product time base and the archiving
cycle factor. This must be an integer multiple of the acquisition cycle.
Archiving cycle
Archiving cycle factor Archiving cycle factor. The archiving cycle results from the product time
base and the archiving cycle factor. This must be an integer multiple of
the acquisition cycle.
Also write in tag Tag into which the last archived value is to be transferred.
Processing of the data acquired. All selection options are available in the
case of cyclically selective and cyclically continuous archiving. Only the
current value can be used in the case of acyclic archiving and archiving
Editing after every change.
Action for processing Action with which the data is to be processed. This parameter can only
be set if processing is set to action.
Unit Unit of the time value entered.
Defines whether the tag is only to be archived following a modification.

Archiving on change
Defines whether the hysteresis is absolute or relative (in percentages).

Hysteresis
Hysteresis value Value of hysteresis. 0 means that no hysteresis is used.

WinCC Configuration Tool


76 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Column Short description


Trigger in the case of binary process value archive tags. This parameter
is write-protected for analog and process controlled tags.

Archiving on
Defines whether the last value or replacement value is to be archived
following an error.

Save on error
Number of values leader The number of values to be taken into account prior to archiving. This
parameter can only be set in the case of cyclically selective archiving.
Number of values trailer Number of values to be taken into account after archiving. This
parameter can only be set in the case of cyclically selective archiving.
Representation limit, The lower limit of the tag value range. 0 signifies no limit.
lower limit
Representation limit, The upper limit of the tag value range. 0 signifies no limit.
upper limit
Start event Name of the function that triggers archiving.
Start tag Binary tag.
Stop event Name of the function that stops archiving.
Stop tag Binary tag.
Relevant long term You can define here whether the archive tag on the central archive
server (WinCC CAS) is to be written to the archive.
Archive after segment It can be determined here whether the acyclic archived tags are archived
change during a segment change.
Error text You can enter an error text here.
Adaptation program associated with the tag. It is determined by the AS
manufacturer.

Standardizing DLL

See also
Creating archive tags from the tag table (Page 105)

WinCC Configuration Tool


04/2008, Printout of the Online Help 77
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.5.5 Operation of the "Compressed Archives" sheet

Introduction
The compressed archive table is used for the configuration of two different types of WinCC
object, namely the compressed archive and the compressed archive tags associated with
the compressed archive. The logical assignment between archive and tag is determined
from the position of the respective object in the table.

Procedure

Compressed archives
In order to create a new compressed archive, you must assign a name to it. As soon as a
name has been assigned, the archive is defined as a valid object and can be written to
WinCC.
If filling with default values has been activated, the other archive parameters are assigned
the values defined in the default value table.

Compressed archive tags


In order to create a new compressed archive tag, a source archive must be specified. Open
the "Archive tag selection" dialog by double-clicking the "Source archive" column. Use this
dialog to select the process value archive tags to be compressed.
If filling with default values has been activated, the other archive parameters of the
compressed archive tag are assigned the values defined in the default value table.

Writing
If a compressed archive or compressed archive tag is written to WinCC, all modified objects
of the Tag Logging function are automatically written to WinCC, too.

WinCC Configuration Tool


78 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Delete
If a compressed archive is deleted, all subordinate compressed archive tags are deleted with
it.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of the
data cannot be undone.

Table structure
The following tables list the parameters which must be set in the sheet. Parameters with

dropdown list boxes are identified by a icon.

Compressed archives

Column Short description


Archive name Name of the compressed archive.
Comments Any comment.
Defines whether the archiving is to begin when the system is started.

Archiving at system start


Start/enable action Action called upon starting or enabling archiving.
Method with which the source archive or compressed archive tag is
processed.

Processing method
Time period for compressing in the archive set up. The compressing
period must be at least one minute.

Compression time period

WinCC Configuration Tool


04/2008, Printout of the Online Help 79
Operation of the WinCC configuration tool
5.3 Worksheets

Compressed archive tags

Column Short description


Source archive Source archive containing the source tag.
Source tag Process value archive tag to be compressed.
Archive tag name Name of the compressed archive tag.
Comments Any comment.
Defines whether the archiving is to begin when the system is started.

Archiving at system start


Processing method for the values compiled during the archiving cycle.

Editing
Unit Unit of the tag to be archived.
Relevant long term You can define here whether the archive tag is to be written to the
archive on the central archive server (WinCC CAS).
Error text You can enter an error text here.

WinCC Configuration Tool


80 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

5.3.6 Text library

5.3.6.1 Text library

Introduction
The text library can be used to edit texts which are used by various modules in the Runtime
system.

5.3.6.2 Operation of the "Texts" sheet

Introduction
The "Texts" sheet is used for the administration of the text library. By default, the languages
German, English, French, Italian and Spanish are available. You have the option to add or
remove texts and languages.

Procedure
In the "Texts" sheet, you can edit existing texts and add new ones.
New texts can be added in two different ways. You can enter a new text by assigning a new
text ID. Alternatively, you can set up a new text by making an entry in any text column. In this
case, the text ID is assigned automatically but can be changed.
Message texts can be configured directly in the respective sheets that are automatically
created in the text library.

WinCC Configuration Tool


04/2008, Printout of the Online Help 81
Operation of the WinCC configuration tool
5.3 Worksheets

Writing
As soon as a text has been entered, it can be written to WinCC. If a sheet containing
message texts is written to WinCC, the text library is also written to WinCC.

Deleting
Message block names, message class names and message type names cannot be deleted.
If you delete a message text or a status text, it is also deleted at the point at which it is used.
Texts not used in the message system can be deleted.

Note
The data are deleted permanently from the project folder and WinCC. The deletion of the
data cannot be undone.

Special functions
To add a language to the text library, select "Add RT language" in the "WinCC" menu. The
"Select language" dialog is displayed. It lists all available languages. Select the language
you wish to add and click "OK" to close the dialog box. The selected language is added in a
new column.

WinCC Configuration Tool


82 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.3 Worksheets

Table structure

Column Short description


Text ID ID of the text. The ID of the text can be changed provided that the text has not yet been
written to WinCC.
Languages List of all configured texts. The number of language columns is determined by the
number of configured languages.
Error text Short description of an error that occurred while writing to WinCC. Error-free objects are
assigned the error text "OK".

5.3.7 Operation of the "Write Error" sheet

Introduction
This sheet lists all defective objects contained in the project folder.

Procedure
The error list is added to the project folder if an error occurs while writing an object.
The first column in the error list contains the name of the object in which an error has
occurred. The second column contains the table type, not the table name. The third column
contains a short description of the error which has occurred.
Double click an entry in the error list to access the defective object directly.

Table structure

Column Short description


Object name Name of the object in which the error occurred.
Table type Type of the table in which the error occurred.
Error text Short description of the error.

WinCC Configuration Tool


04/2008, Printout of the Online Help 83
Operation of the WinCC configuration tool
5.3 Worksheets

See also
Error column (Page 119)

5.3.8 Operation of the "Read Error" sheet

Introduction
This sheet lists all defective objects detected during the reading from WinCC.

Procedure
The error list is only added to the project folder when an error has occurred while reading an
object.
The first column in the error list indicates the type of the error. The system issues warnings
and error messages. In the event of a warning, the object is entered in the list and the
incorrect parameter is corrected. In the event of an error, the object is not entered in the
table as the error could not be eliminated.
The second column contains the table type, not the table name. The third column contains a
short description of the error which has occurred.
The other columns contain the object data in which the read error occurred.

Table structure

Column Short description


Type Type of the error.
Table type Type of the table in which the error occurred.
Error text Short description of the error.
Param 1 to Param 89 All parameters of the defective object.

WinCC Configuration Tool


84 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.4 Dialogs

5.4 Dialogs

5.4.1 Dialogs

Introduction
Overview of the configuration tool dialogs The dialogs of the configuration tool are described
in detail in the following chapters.

See also
Operation of the "Archive tag" dialog (Page 89)
Operation of the tag dialog (Page 86)

WinCC Configuration Tool


04/2008, Printout of the Online Help 85
Operation of the WinCC configuration tool
5.4 Dialogs

5.4.2 Operation of the tag dialog

Introduction
The configuration tool provides a tag dialog for entering tags. We recommend that you
always use the tag dialog. Firstly, this ensures that the tag already exists and, secondly, you
can enter several tags in the tag dialog in one operation. At the bottom of the dialog there is
a dropdown list box from which to select the tag table in which tags are to be inserted.

WinCC Configuration Tool


86 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.4 Dialogs

Operation of the archive tag dialog


Open the tag dialog by double-clicking a column in the configuration tool in which tags are to

be entered. Select the tags to be inserted. Use the spin box to define how often the
tag is to be inserted. Click the "Paste" button to insert the tags.
The tag dialog also allows for the insertion of various different tags in one operation. To do
this, select the tags to be inserted.

WinCC Configuration Tool


04/2008, Printout of the Online Help 87
Operation of the WinCC configuration tool
5.4 Dialogs

Use the "Paste" button repeatedly to insert the selected tags the same number of times as

defined with the spin box.

Buttons of the archive tag dialog


● Sorting tags by name

Click the buttons to sort the tags by name in alphabetical order (ascending or
descending).
● Sorting tags by data type

Click the button to sort the tags according to their data type in descending order.
● Applying a filter

Click the button to define a filter for the "Name" and "Data type" columns. Use the
added dropdown list boxes to select a filter.

To reset the filters, click the button again.


● Setting column widths in the dialog

Click the button to access the "Column width" dialog. In this dialog, you can modify
the width of the two columns.

WinCC Configuration Tool


88 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.4 Dialogs

5.4.3 Operation of the "Archive tag" dialog

Introduction
The configuration tool provides an "Archive tag" dialog for entering process value archive
tags in the compressed archive table. We recommend that you always use the "Archive tag"
dialog. Firstly, this ensures that the archive tag already exists and, secondly, you can enter
several tags in the "Archive tag" dialog in one operation. At the bottom of the dialog there is
a dropdown list box from which to select the process value table in which tags are to be
inserted.

Operation of the tag dialog


Open the "Archive tag" dialog by double-clicking a column in the configuration tool in which
tags are to be entered. Select the tags to be inserted. Click the "Paste" button to insert the
tags.
The "Archive tag" dialog also allows for the insertion of various different tags in one
operation. To do this, select the tags to be inserted.

WinCC Configuration Tool


04/2008, Printout of the Online Help 89
Operation of the WinCC configuration tool
5.5 Processing configured data

Buttons of the archive tag dialog


● Updating display

Click the button to update the view of the "Archive tag" dialog.
● Setting column widths in the dialog

Click the button to access the "Column width" dialog. In this dialog, you can modify
the width of the two columns.

5.5 Processing configured data

5.5.1 Processing configured data

Introduction
Generally, all functions offered by Excel can be used without restriction. However, when
processing configured data in the configuration tool, certain points must be taken into
account. These points are dealt with in detail in the following chapters.

See also
Sorting data (Page 99)
Setting a filter (Page 100)
Cutting data (Page 98)
Copying data (Page 98)
Deleting data from the project folder and WinCC (Page 95)
Writing data to WinCC (Page 91)

WinCC Configuration Tool


90 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.5 Processing configured data

5.5.2 Writing data to WinCC

Introduction
In order to write data to WinCC, a connection must exist to the corresponding WinCC
project. The following options are available for writing data to WinCC.

Note
If the data in the WinCC project and project folder do not match after writing the data, this
may be due to an updating problem in the WinCC Explorer. In order to update the display,
close the WinCC project and open it again.

Writing to WinCC using the toolbar

1. Click the button in the toolbar. The "Write" dialog is opened.


2. Use the dialog to select the sheets whose data are to be written to WinCC.
3. Use the "Only changes" check box to specify that only changed objects are to be written
to WinCC. If the check box is not selected, all objects are written to WinCC.
4. Click "OK" to write the data of the worksheets to WinCC.

WinCC Configuration Tool


04/2008, Printout of the Online Help 91
Operation of the WinCC configuration tool
5.5 Processing configured data

Writing to WinCC using the dropdown menu


1. Select the "WinCC" dropdown menu.
2. A menu item for writing objects is available in the dropdown menu, which is determined
by the table that is active in the project folder. Select the "Write tags" option to open the
"Write" dialog.

3. Use the dialog to select the sheets whose data are to be written to WinCC. Please note
that only tables that are of the same type as the active table are available.

4. Continue as described in "Writing to WinCC using the toolbar".

WinCC Configuration Tool


92 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.5 Processing configured data

Writing to WinCC using the pop-up menu


1. Select the objects to be written. You must always select a complete row.

WinCC Configuration Tool


04/2008, Printout of the Online Help 93
Operation of the WinCC configuration tool
5.5 Processing configured data

2. Open the row pop-up menu using the right mouse button and select "WinCC - write
selection". All selected objects are written to WinCC. By using the pop-up menu, only
changed objects are written to WinCC.

WinCC Configuration Tool


94 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.5 Processing configured data

5.5.3 Deleting data from the project folder and WinCC

Introduction
It is not possible to delete rows, columns or cells from the data areas of WinCC objects. To
delete WinCC objects, use the pop-up menu item "WinCC - delete selection". As complete
sheets are deleted, all WinCC objects configured on it are deleted. Please note that not all
sheets can be deleted.

Note
If the data in the WinCC project and project folder do not match after writing the data, this
may be due to an updating problem in the WinCC Explorer. In order to update the display,
close the WinCC project and open it again.

Deleting via the pop-menu


1. Select the objects to be deleted. You must always select a complete row.

WinCC Configuration Tool


04/2008, Printout of the Online Help 95
Operation of the WinCC configuration tool
5.5 Processing configured data

2. Open the row pop-up menu using the right mouse button and select "WinCC - delete
selection". All selected objects are deleted.

WinCC Configuration Tool


96 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.5 Processing configured data

Deleting a Worksheet
1. Open the pop-up menu related to the sheet using the right mouse button and select
"Delete". The sheet is deleted together with the data configured on it.

Deleting without connection to WinCC


In order to delete objects, it is not necessary that a connection exists to the assigned WinCC
project. The next time a connection is established to the assigned WinCC project, the data is
compared and all objects deleted from the project folder are also deleted from WinCC.

Deleting with connection to WinCC


Objects deleted from a project folder are also deleted from WinCC, provided they already
exist in the WinCC project. Please note that deleted data cannot be restored.

WinCC Configuration Tool


04/2008, Printout of the Online Help 97
Operation of the WinCC configuration tool
5.5 Processing configured data

5.5.4 Copying data

Introduction
In Excel you can copy data with pop-up menus, the dropdown menu, a toolbar command or
a key combination. In the configuration tool, data can be copied and pasted without
restriction. Data that is inserted is checked and corrected, if necessary. To copy entire
WinCC objects, proceed as described below.

Copying WinCC objects


1. Access the "Project Properties" sheet and set the "Use Default Values" parameter to
"No".
2. Copy the entire rows of the objects.
3. Paste the copied objects into a table of the same type. Tags can for example only be
pasted into a tag table.
4. The configuration tool checks the pasted data. Since a unique name must be used, the
Office Assistant prompts whether a unique name is to be generated. Confirm with "OK".

Note
If names have already been specified before copying the WinCC objects, only the object
parameters can be copied.

5.5.5 Cutting data

Introduction
In Excel, any data can be cut and pasted at any location. This is however not possible in the
configuration tool. In order to cut data in the WinCC configuration tool, you must always
select the entire object. The cut data can only be cut and pasted between sheets of the
same type. All options to cut data provided by Excel are available for use.

Cut
1. Select the objects to be cut. You must either select the entire row or all object
parameters.
2. Cut the data.

Paste
1. Select either the area in which the cut data is to be pasted, or select the initial cell as
starting point for the insertion of the data. If an area is selected, the cut size and paste
size must be the same.
2. Paste the data.

WinCC Configuration Tool


98 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.5 Processing configured data

5.5.6 Sorting data

Introduction
The WinCC configuration tool can be used to sort the data in the project folder by columns.
This can be done in two ways.

Sorting by double-click
1. In order to sort data with the WinCC configuration tool in ascending or descending order,
simply double-click the parameter heading. The data on the sheet is then sorted
according to this column.

Sorting via the menu


1. Select the "Sort" item in the Control menu "Data". The "Sort" dialog is displayed.
2. In the "Sort" dialog, you can specify up to three columns to sort by ascending or
descending order. Click "OK" to confirm the sort order.

WinCC Configuration Tool


04/2008, Printout of the Online Help 99
Operation of the WinCC configuration tool
5.5 Processing configured data

5.5.7 Setting a filter

Introduction
Filters are standard Excel functions. They can be used to organize data in the table in a
more concise manner. When using the tag table, you can for example set a filter in the "Data
type" column to view only the tags of one data type at a time.

Note
If a filter is applied, and you attempt to write data to WinCC or to delete data, using the pop-
up menu, only the visible data are written or deleted.

Setting filters
1. Highlight the entire "Data type" column in the "Tags" sheet.
2. Select the option "Filter" in the "Data" menu. Select the suboption "Auto Filter". A filter is
applied in the column "Data type".

WinCC Configuration Tool


100 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.5 Processing configured data

3. The dropdown list box attached to the top cell in the "Data type" column indicates that a
filter is set. In the dropdown list, you can now select the filter you wish to set, e.g. "Raw
data type".

4. Only tags of the data type "Raw data type" are shown in the table.

WinCC Configuration Tool


04/2008, Printout of the Online Help 101
Operation of the WinCC configuration tool
5.5 Processing configured data

Resetting filters
1. In the dropdown list box of the filter, select item "(All)". All tags in the sheet are displayed.

2. In order to remove a filter for good, click the "Data" menu. Select the "Filter" option.
Select the suboption "Auto Filter". The filter is removed.

WinCC Configuration Tool


102 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

5.6 Creating objects by means of the pop-up menu of the tag table

5.6.1 Creating objects by means of the pop-up menu of the tag table

Introduction
The WinCC configuration tool provides the option of creating objects by using the tag table.
This is done by means of the tag table row pop-up menu. This menu enables you to easily
create single messages, limit value monitoring processes and archive tags. The procedures
for this are described in the chapters below.

WinCC Configuration Tool


04/2008, Printout of the Online Help 103
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

See also
Creating archive tags from the tag table (Page 105)
Creating limit value monitoring from the tag table (Page 111)
Creating single messages from the tag table (Page 107)

WinCC Configuration Tool


104 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

5.6.2 Creating archive tags from the tag table

Introduction
The WinCC configuration tool provides the option of archiving tags from the tag table. This is
done by means of the tag table pop-up menu.

Procedure
1. Select all tags you wish to archive.
2. Open the row pop-up menu and select "WinCC - archive". The "Archive" dialog is
displayed.

WinCC Configuration Tool


04/2008, Printout of the Online Help 105
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

3. In the "Archive" dialog, you can select the process value archive to be used for archiving
using the dropdown list box. If you wish to create a new process value archive, enter the
name of the process value archive in the dropdown list box. Click "OK" to set up the
archive tags.

WinCC Configuration Tool


106 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

4. The relevant process value archive tags are created on the process value archive table.

5.6.3 Creating single messages from the tag table

Introduction
The WinCC configuration tool provides the option of creating single messages from the tag
table. This is done by means of the tag table pop-up menu.

Note
The settings in the dialogs can be adjusted by means of the "Alarm Logging Default Value"
sheet.

WinCC Configuration Tool


04/2008, Printout of the Online Help 107
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

Procedure
1. Select all tags for which you wish to generate messages.
2. Open the row pop-up menu and select "WinCC - log on". The "Log on" dialog is
displayed.

WinCC Configuration Tool


108 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

3. Use the "Log on" dialog to select the tag bits for which single messages are to be
generated. Select the "Delete existing messages" check box if you wish to delete any
messages that might already exist for the tags and generate new ones. If this check box
is not selected, existing single messages are retained and only those that do not exist
generated.

WinCC Configuration Tool


04/2008, Printout of the Online Help 109
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

4. In the case of raw data tags, enter the number of single messages to be generated.

Click "OK" to generate the messages.

WinCC Configuration Tool


110 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

5. The relevant messages are created in the single message table.

5.6.4 Creating limit value monitoring from the tag table

Introduction
The configuration tool provides the option of creating limit value monitoring from the tag
table. This is done by means of the tag table pop-up menu.

Note
The settings in the dialogs can be adjusted by means of the "Alarm Logging Default Value"
sheet.

WinCC Configuration Tool


04/2008, Printout of the Online Help 111
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

Procedure
1. Select the tags for which you wish to set up limit value monitoring.
2. Open the row pop-up menu of the tag table and select "WinCC - limit value monitoring".
The "Limit value monitoring" dialog is displayed.

WinCC Configuration Tool


112 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

3. Limit values that exist in the default values table are already entered in the "Limit value
monitoring" dialog. Click the "Add" button to add further limit values for the tags. The "Add
limit value" dialog is displayed.

WinCC Configuration Tool


04/2008, Printout of the Online Help 113
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

4. You can enter a limit value in the "Add limit value" dialog. Ensure that the new limit value
is within the actual limits determined by the tag. If you wish to read the limit value
indirectly from a tag, select the "Indirect" check box and enter the name of an existing tag
instead of the limit value. Use the "Limit" dropdown list to define whether the limit value is
an upper or lower limit. Click "OK" to accept the limit value in the "Limit value monitoring"
dialog.

WinCC Configuration Tool


114 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.6 Creating objects by means of the pop-up menu of the tag table

5. Select the "Delete existing limit values" check box if you wish to delete any limit values
that might already exist for the selected tag. Click "OK" to create the limit values.

WinCC Configuration Tool


04/2008, Printout of the Online Help 115
Operation of the WinCC configuration tool
5.7 Changing the data storage location

6. The limit values for the tags are generated on the "Limit value monitoring/Limit" sheet.

5.7 Changing the data storage location

5.7.1 Changing the data storage location

Introduction
The configuration tool allows you to change the storage location of data. It is for example
possible to transfer the project folder to a different computer or change the location at which
the WinCC project is stored.

See also
Transferring a WinCC project (Page 117)
Transferring a project folder (Page 117)

WinCC Configuration Tool


116 04/2008, Printout of the Online Help
Operation of the WinCC configuration tool
5.7 Changing the data storage location

5.7.2 Transferring a WinCC project

Introduction
You can transfer a WinCC project connected to a project folder to another storage location
without problems. You just have to set up a new project connection.

Procedure
1. Close the WinCC project and transfer it to the desired target location. Open the project
folder linked to the project. Use the dropdown menu or the toolbar to establish a new
project connection.
2. The Excel Office Assistant for "Project connection" appears. Confirm with "Yes" to record
the new path of the WinCC project in the project folder.
3. The "Open" dialog is displayed. Select the WinCC project and click on "Open" to close
the dialog. The project connection is established.

5.7.3 Transferring a project folder

Introduction
The configuration tool allows you to transfer a project folder to another computer. It is thus
possible to move a project folder to another PC for further processing.

Procedure
1. Save the existing project folder and transfer it to the new computer.
2. Open the project folder on the new computer. The Excel Office Assistant appears. Click
"No" to answer the query.
3. The configuration tool asks you whether you wish to update the references. Click "Yes" to
update the references of the project folder on the new computer.

WinCC Configuration Tool


04/2008, Printout of the Online Help 117
Operation of the WinCC configuration tool
5.7 Changing the data storage location

WinCC Configuration Tool


118 04/2008, Printout of the Online Help
Diagnostics 6
6.1 Diagnostics

Introduction
The configuration tool provides you with the Office Assistant and an error column for
diagnostics and fault identification purposes. The Office Assistant supports you in the
configuration of data. Each modification or correction executed by the configuration tool is
initiated through the Office Assistant.
If errors occur during writing to WinCC, they are displayed in the error column. In addition,
the "Error list" table is generated. This table lists all project folder errors.

See also
Error column (Page 119)
Operation of the "Read Error" sheet (Page 84)

6.2 Error column

Introduction
Each sheet on which data can be configured includes an error column. In the event of an
error, the respective error text is shown in this column. The list below shows all error texts
available in the configuration tool.

WinCC Configuration Tool


04/2008, Printout of the Online Help 119
Diagnostics
6.2 Error column

Error list

Error text Cause Corrective measure


OK no error no error
General error during creation! Writing the entire data block Is the connection to WinCC still
to WinCC has failed. intact?
Error on creating the object! Was the object created
directly in WinCC?
General error during modification! Writing the entire data block Is the connection to WinCC still
to WinCC has failed. intact?
Error on modifying the object! Was the object deleted
directly from WinCC?
The set connection does not yet The set connection has still Write the set connection to
exist! not been written to WinCC. WinCC.
The message block name does The text library has still not Write the text library to WinCC.
not yet exist in the text library! been written to WinCC.
The communication driver cannot The set communication driver Use a different communication
be installed! is not installed on the system. driver or install the one set.
The set stroke tag does not yet The set stroke tag has not yet Write the set stroke tag to
exist! been written to WinCC. WinCC.
The set group does not yet exist! The set group has not yet Write the set group to WinCC.
been written to WinCC.
The set structure type does not The set structure type has not Write the set structure type to
yet exist! yet been written to WinCC. WinCC.
The message category name The text library has still not Write the text library to WinCC.
does not yet exist in the text been written to WinCC.
library!
One or more group message tags The set group message tag Write the set group message tag
do not yet exist! does not yet exist in WinCC. to WinCC.
The message type name does not The text library has still not Write the text library to WinCC.
yet exist in the text library! been written to WinCC.
The set message class does not The set message category Write the set message category
yet exist! does not yet exist in WinCC. to WinCC.
The set message type does not The set message type does Write the set message type to
yet exist! not yet exist in WinCC. WinCC.
One or more message texts do The text library has not yet Write the text library to WinCC.
not yet exist in the text library! been written to WinCC.
One or more process value block The set process value block Write the set process value block
tags do not yet exist! tags do not yet exist in tags to WinCC.
WinCC.
Error on creating the information Modifications have been Write all data which do not yet
text! carried out directly in WinCC. exist in WinCC to WinCC.
Close the current project folder.
Create a new project folder with
a connection to your WinCC
project.

WinCC Configuration Tool


120 04/2008, Printout of the Online Help
Diagnostics
6.2 Error column

Error text Cause Corrective measure


Error on creating the Modifications have been Write all data which do not yet
Loop-In-Alarm! carried out directly in WinCC. exist in WinCC to WinCC.
Close the current project folder.
Create a new project folder with
a connection to your WinCC
project.
Errors occurred on writing the The higher-level object could Check the error text of the
higher-level object! not be written to WinCC. higher-level object. Attempt to
correct the error and rewrite to
WinCC.
Error on creating the filter! Modifications have been Write all data which do not yet
carried out directly in WinCC. exist in WinCC to WinCC.
Close the current project folder.
Create a new project folder with
a connection to your WinCC
project.
The set tag does not yet exist! The set tag does not yet exist Write the set tag to WinCC.
in WinCC.
The set message does not yet The set message does not Write the set message to
exist! yet exist in WinCC. WinCC.
One or more status texts do not The text library has not yet Write the text library to WinCC.
yet exist in the text library! been written to WinCC.
The set message tag does not yet The set message tag does Write the set message tag to
exist! not yet exist in WinCC. WinCC.
The set status tag does not yet The set status tag does not Write the set status tag to
exist! yet exist in WinCC. WinCC.
The set acknowledgement tag The set acknowledgement tag Write the set acknowledgement
does not yet exist! does not yet exist in WinCC. tag to WinCC.
The set group message does not The set group message does Write the set group message to
yet exist! not yet exist in WinCC. WinCC.
The set blocking tag does not yet The set blocking tag does not Write the set blocking tag to
exist! yet exist in WinCC. WinCC.
The set limit value tag does not The set limit value tag does Write the set limit value tag to
yet exist! not yet exist in WinCC. WinCC.

WinCC Configuration Tool


04/2008, Printout of the Online Help 121
Diagnostics
6.2 Error column

WinCC Configuration Tool


122 04/2008, Printout of the Online Help
Tips and tricks 7
7.1 Tips and tricks

Introduction
The following chapters contain some tips and tricks designed to assist you in working with
the WinCC configuration tool.

See also
Packages (Page 132)
Address strings for Simatic S7 Protocol Suite (Page 129)
Special characters (Page 128)
VBA macros (Page 128)
Address generation (Page 126)
Row limitation (Page 126)
Changing the worksheet (Page 125)
Example of a quantity structure in the configuration tool (Page 123)

7.2 Example of a quantity structure in the configuration tool

Introduction
Using the configuration tool, you can for example create a large number of tags, messages
and archive tags in WinCC. Performance, however, is influenced by the hardware and Office
version used.
The example below is based on a typical configuration with appropriate values.

WinCC Configuration Tool


04/2008, Printout of the Online Help 123
Tips and tricks
7.2 Example of a quantity structure in the configuration tool

Quantity structure - Example

Configuration
A WinCC project is read into Excel with the configuration tool.
A new WinCC project is created with the configuration tool. Data from the first project are
written to the new WinCC project.

Quantity structure
● 20,000 internal tags
● 40,000 process tags
● 40,000 archive tags
● 10,000 messages
● 80,000 texts

Hardware used
● Pentium 4, 3.1 GHz
● Memory: 1024 MByte
● Virtual memory: 756 MByte

Software used
● Windows XP Professional SP1
● Internet Explorer 6.0 SP1
● Office 2003
● WinCC V6.0 SP3

Performance
● Reading to Excel: approx. 30 minutes
● Writing to WinCC: approx. 3.5 hours

Note
The values in this example depend upon additional factors, such as system configuration
and configuration of the WinCC project.

See also
System requirements (Page 7)

WinCC Configuration Tool


124 04/2008, Printout of the Online Help
Tips and tricks
7.3 Changing the worksheet

7.3 Changing the worksheet

Introduction
From a certain number of sheets, it becomes necessary the change between sheets. Excel
provides a useful tool for this.

Procedure
Use the pop-up menu accessible at the left bottom corner of the window to switch between
worksheets.

WinCC Configuration Tool


04/2008, Printout of the Online Help 125
Tips and tricks
7.4 Row limitation

7.4 Row limitation

Introduction
During configuration in Excel, you should not use the maximum number of available rows,
which is 65536. The number of rows used should thus be restricted, as the performance is
greatly affected if Excel sheets are filled to the limit. The configuration tool provides you with
the option to distribute the data to several worksheets.
The relevant default value for row limitation in the configuration tool is 16,000 rows per
sheet. We recommend using this row limitation.

7.5 Address generation

Introduction
In the configuration tool, you can use standard functions provided by Excel to generate
addresses for external tags.
The following example illustrates the generation of the address string of a SIMATIC S7
Protocol Suite with the "Signed 8-bit value" data type.

Procedure
The address string of the example is structured as follows:
DB50,DBB0,QC
The data block number 50 and byte number 0 are editable components of the address string.
The QC string is optional and is used to define the quality code.
1. Define a column in the user-defined area of the tag table for each editable component of
the address string. Complete the first and second row.

WinCC Configuration Tool


126 04/2008, Printout of the Online Help
Tips and tricks
7.5 Address generation

2. Highlight the first two addresses. Generate the remaining addresses automatically using
the autofill function.

3. In the address column, enter the formula shown below. The column labels AJ3, AK3 and
AL3 depend on where the address string components were set up in the user-defined
area.

WinCC Configuration Tool


04/2008, Printout of the Online Help 127
Tips and tricks
7.6 VBA macros

4. Click the first address. The remaining address strings are generated automatically using
the autofill function.

7.6 VBA macros

Introduction
Since the data in the configuration tool are available in an Excel folder, they can be
addressed via VBA macros. This means, for example, that objects can be automatically
created by means of a macro.
However, VBA macros should only be used by experienced users because the operational
procedures for using the configuration tool differ from those for normal Excel folders.

7.7 Special characters

Introduction
Microsoft Excel interprets texts which begin with, or include, certain special characters as
equations. This can cause problems when working with the configuration tool.
These special characters are "=", "+" and "-". Therefore, these characters should not be used
as a part of object names (group names, tag names, texts, etc.).

WinCC Configuration Tool


128 04/2008, Printout of the Online Help
Tips and tricks
7.8 Address strings for Simatic S7 Protocol Suite

7.8 Address strings for Simatic S7 Protocol Suite

Introduction
The address strings are not automatically generated in the configuration tool. You must enter
them manually in the configuration tool. The table below lists all address strings for the
Simatic S7 Protocol Suite.

Address strings

Table 7-1 Binary tag

Data area Addressing Address string


Bit Bit DB1,D0.0
Flag Bit M0.0
Input Bit E0.0
Output Bit A0.0

Table 7-2 Unsigned 8-bit value/signed 8-bit value

Data area Addressing Address string


DB Byte DB1,DBB0
Flag Byte MB0
Input Byte EB0
Output Byte AB0
DB Word DB1,DBW0
Flag Word MW0
Input Word EW0
Output Word AW0
Counter Word Z0
Timers Word T0
DB Double word DB1,DD0
Flag Double word MD0
Input Double word ED0
Output Double word AD0

WinCC Configuration Tool


04/2008, Printout of the Online Help 129
Tips and tricks
7.8 Address strings for Simatic S7 Protocol Suite

Table 7-3 Unsigned 16-bit value/signed 16-bit value

Data area Addressing Address string


DB Byte DB1,DBB0
Flag Byte MB0
Input Byte EB0
Output Byte AB0
DB Word DB1,DBW0
Flag Word MW0
Input Word EW0
Output Word AW0
Counter Word Z0
Timers Word T0
DB Double word DB1,DD0
Flag Double word MD0
Input Double word ED0
Output Double word AD0

Table 7-4 Unsigned 32-bit value/signed 32-bit value

Data area Addressing Address string


DB Byte DB1,DBB0
Flag Byte MB0
Input Byte EB0
Output Byte AB0
DB Word DB1,DBW0
Flag Word MW0
Input Word EW0
Output Word AW0
Counter Word Z0
Timers Word T0
DB Double word DB1,DD0
Flag Double word MD0
Input Double word ED0
Output Double word AD0

WinCC Configuration Tool


130 04/2008, Printout of the Online Help
Tips and tricks
7.8 Address strings for Simatic S7 Protocol Suite

Table 7-5 Floating point number 32-bit IEEE 754/floating point number 64-bit IEEE 754

Data area Addressing Address string


DB Byte DB1,DBB0
Flag Byte MB0
Input Byte EB0
Output Byte AB0
DB Word DB1,DBW0
Flag Word MW0
Input Word EW0
Output Word AW0
Counter Word Z0
Timers Word T0
DB Double word DB1,DD0
Flag Double word MD0
Input Double word ED0
Output Double word AD0

Table 7-6 Text tag 8-bit character set/text tag 16-bit character set

Data area Addressing Address string


DB Byte DB1,DBB0
Flag Byte MB0
Input Byte EB0
Output Byte AB0
DB Word DB1,DBW0
Flag Word MW0
Input Word EW0
Output Word AW0
Counter Word Z0
Timers Word T0

WinCC Configuration Tool


04/2008, Printout of the Online Help 131
Tips and tricks
7.9 Packages

Table 7-7 Raw data type

Data area Addressing Address string


DB Byte RAW_BSEND(DB1,DBB0)
Flag Byte RAW_BSEND(MB0)
Input Byte RAW_BSEND(EB0)
Output Byte RAW_BSEND(AB0)
DB Word RAW_BSEND(DB1,DBW0)
Flag Word RAW_BSEND(MW0)
Input Word RAW_BSEND(EW0)
Output Word RAW_BSEND(AW0)
DB Double word RAW_BSEND(DB1,DD0)
Flag Double word RAW_BSEND(MD0)
Input Double word RAW_BSEND(ED0)
Output Double word RAW_BSEND(AD0)

7.9 Packages

Introduction
The configuration tool can also be used to work with tags loaded from packages. To do this,
create a new WinCC project in WinCC Explorer (multi-user project) and load the required
packages. Read this WinCC project with the configuration tool. The tags provided in the
package are then available for selection in the tag dialog.

Creating a New WinCC Project


A new WinCC project can be created from a project folder in which packages are used. The
packages used, however, must be loaded into the new WinCC project (multi-user project)
after it has been created.

WinCC Configuration Tool


132 04/2008, Printout of the Online Help
Index
Dropdown menu, 12

A
E
Address strings, 129
Alarm logging, 47 Excel, 5, 7
Worksheets, 52, 54, 58, 60, 63
Archive tag, 74
Archive Tag dialog, 89 G
Group Messages, 58
Groups, 36
C
Compressed archive tag, 78
Compressed archives, 78 I
Configuration Tool, 5
Interface, 12, 15, 16
Diagnosis, 119
Menu, 12, 15
Dropdown menu, 12
Fundamentals, 5
Insert Project Folder, 19
L
Interface, 11
Menu, 12 Limit, 63
Operating system, 7 Limit Value Monitoring, 63
Operation, 17 Limit value monitoring/Limit, 63
Quantity structure, 123
Requirements, 7
System Requirements, 7 M
Tips, 123
Memory location, 116
Worksheets, 28
Project folder, 117
Connections, 36
WinCC Project, 117
Connections/Groups, 36
Menu, 12, 15
Dropdown menu, 12
Shortcut Menu, 15
D
toolbar, 12
Data manager, 32 Message blocks, 52
Worksheets, 33, 35, 38, 41, 44 Message classes, 55
Default values, 33, 68 Message classes/Message types, 55
Data manager, 34 Message types, 55
Diagnosis Microsoft Excel, 5, 7
Error column, 119
Reading error, 84
WinCC Configuration Tool, 119 O
Write error, 83
Operate
Dialogs, 85
WinCC Configuration Tool, 17
Archive Tag dialog, 89
Operating system
Tag dialog, 86

WinCC Configuration Tool


04/2008, Printout of the Online Help 133
Index

WinCC Configuration Tool, 7 T


Operation
Tag dialog, 87
Applying a filter, 100
Tag Logging, 67
Copying data, 98
Worksheets, 68, 72, 74, 78
Cutting data, 98
Tag Logging Default Values, 68
Deleting data, 95
Tags, 38
Sorting data, 99
Text Library, 81
Writing data, 91
Worksheets, 81
Texts, 81
Timers, 72
P
Tips
Process value archive tag, 74 Address generation, 126
Process value archives, 74 Adress strings Simatic S7 ProtocolSuite, 129
Processing data, 90 Changing the Spreadsheet, 125
Project folder, 19 Excel Performance, 126
With connection, 22, 24 Load tag, 132
Without connection, 21 Packages, 132
Project Properties, 30 Permitted characters, 128
Row limitation, 126
Special characters, 128
Q VBA Macros, 128
toolbar, 12
Quantity structure
WinCC Configuration Tool, 123
V
R Variable table
Generate objects, 103
Reading error, 84
Shortcut Menu, 103
Requirements
WinCC Configuration Tool, 7
W
S WinCC Configuration Tool, 5
Alarm logging, 47
Shortcut Menu
Archive Tag dialog, 89
Creating objects, 105, 107, 111
Compressed archive, 78
Deleting data, 95
Compressed archive tag, 78
Generate archive tags, 105
Connections/Groups, 36
Generate limit monitors, 111
Data manager, 32
Generate single messages, 107
Diagnosis, 119
Writing data, 93
Dialogs, 85
Single messages., 60
Dropdown menu, 12
Spreadsheet, 28
Fundamentals, 5
Status Bar, 16
Group Messages, 58
Structure instance elements, 38
Insert Project Folder, 19
Structure tags, 41
Interface, 11, 16
Structure type elements, 44
Memory location, 116
Structure types, 44
Menu, 12
System requirements
Message blocks, 52
WinCC Configuration Tool, 7
Operating system, 7
Operation, 17
Process value archive tag, 74

WinCC Configuration Tool


134 04/2008, Printout of the Online Help
Index

Process value archives, 74


Processing data, 90
Project folder, 21, 22, 24
Project Properties, 30
Quantity structure, 123
Requirements, 7
Shortcut Menu, 15
Single messages., 60
Status Bar, 16
Structure tags, 41
Structure type elements, 44
Structure types, 44
System requirements, 7
Tag dialog, 88
Tag Logging, 67
Tag Logging Default Values, 68
Tags, 38
Text Library, 81
Texts, 81
Timers, 72
Tips, 123
Worksheets, 28
WinCC Project, 22, 24
Creating, 26
Worksheets
Alarm logging, 47
Data manager, 32
Project Properties, 30
Reading error, 84
Tag Logging, 67
Text Library, 81
Write error, 83
Write error, 83

WinCC Configuration Tool


04/2008, Printout of the Online Help 135
Index

WinCC Configuration Tool


136 04/2008, Printout of the Online Help

You might also like