CCWin CCArchive
CCWin CCArchive
2
______________
System requirements
4
WinCC V7.0 ______________
Quick start
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.
SIMATIC HMI
04/2008, Printout of the Online Help 3
Table of contents
SIMATIC HMI
4 04/2008, Printout of the Online Help
Introduction 1
Introduction
The WinCC Archive ConfigurationTool is an Excel add-in. The tool enables simple high-
performance configuration of bulk data for archiving WinCC process values.
It enables the handling of quantity structures for which the tag logging editor provides
insufficient support.
Comparison
SIMATIC HMI
04/2008, Printout of the Online Help 5
Introduction
See also
Quick start (Page 11)
System requirements (Page 7)
SIMATIC HMI
6 04/2008, Printout of the Online Help
System requirements 2
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.
SIMATIC HMI
04/2008, Printout of the Online Help 7
System requirements
SIMATIC HMI
8 04/2008, Printout of the Online Help
Installation of the Archive ConfigurationTool
The WinCC Archive 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 Archive ConfigurationTool by selecting "SIMATIC" > "WinCC" > "Tools".
Alternative procedure
It is also possible to install the WinCC Archive ConfigurationTool from the WinCC DVD.
1. Switch to the WinCC DVD directory "InstData\WinCC\setup\Products\WinCCArchive".
2. Double-click setup.exe.
3. Follow the instructions in the dialog boxes.
The WinCC Archive ConfigurationTool is installed.
SIMATIC HMI
04/2008, Printout of the Online Help 9
Installation of the Archive ConfigurationTool
SIMATIC HMI
10 04/2008, Printout of the Online Help
Quick start 4
Introduction
This description enables a quick start for using the Excel add-in WinCC Archive. The most
important available functions are introduced briefly.
Procedure
1. Open Excel. The Excel add-in WinCC Archive is automatically started at the same time.
The Excel menu contains the "WinCC Archive" item. Select "New Archive" from this menu
item.
SIMATIC HMI
04/2008, Printout of the Online Help 11
Quick start
2. A dialog opens in which to define the basic properties of the archive to be created. Enter
a name for the archive. Select the desired archive type. This description explains the
creation of a process value archive. Click the "OK" button.
3. A new Excel sheet is created which serves to configure the new archive. The new Excel
sheet contains the following list of tables:
– "Archive": Table to define the properties of the archive.
– "Archive tags (1)": Table to configure binary and analog archive tags.
– "Archive tags (2)": Table to configure process controlled archive tags.
SIMATIC HMI
12 04/2008, Printout of the Online Help
Quick start
4. Define the archive properties in the "Archive" table. All the cells can be edited as
required. In the case of several parameters, input is simplified by the availability of a
combo box. Double-click in the cell, for example, to enter the "Archiving at system start"
parameter. A combo box appears containing the possible values for this parameter.
SIMATIC HMI
04/2008, Printout of the Online Help 13
Quick start
5. Change to the "Archive tags (1)" table. Up to 65634 binary and analog archive tags can
be configured in this table. All the cells can be edited as required. In the case of several
parameters, input is simplified by the availability of a combo box. If a WinCC project is
already open, a further dialog is available in which to select the WinCC tags. Open this
dialog by double-clicking in the data area of the "Tag" column.
6. The dialog for selecting WinCC tags includes the multiple selection function. When the
dialog is open, it is still possible to work in the Excel table. Select the tags required from
the dialog. Select the cells in the Excel table from which the name of the selected tags
are to be inserted. Click the "Paste" button in the dialog. The dialog remains open. The
names of the selected tags are inserted in the Excel table. Click "Close" to close the
dialog.
7. Specify the names of the new archive tags in the "Archive tag name" column. These
names must be unique within the archive. Define the correct type of the new archive tags
in the "Archive tag type" column. The input for this parameter is supported by a combo
box. Define the remaining properties of the new archive tags.
SIMATIC HMI
14 04/2008, Printout of the Online Help
Quick start
8. No checks are made when entering the data in the Excel table. Select the menu items
"WinCC archive" > "Check archive". A dialog opens to check the entire archive. It is
possible to restrict the archive properties to be checked. Activate all the relevant
checkboxes and click the "OK" button.
Note: If no configuration has yet been carried out for the WinCC project in the tag logging
editor, the necessary cycle times are not available yet. They are displayed in the Tag
Logging editor but are only stored in the database following a change in the configuration
data. To trigger the tag logging editor to store the cycle times, simply rename the cycle
time "500 ms" into "_500 ms" and save the project. Of course, you can then reset the
name of the cycle time to the original value.
SIMATIC HMI
04/2008, Printout of the Online Help 15
Quick start
9. The test result is displayed. If faults are found, the user is prompted to state whether a list
of the faults should be displayed. Confirm the prompt with "Yes". A dialog opens
containing a list of the faulty objects together with the respective cause of the fault. By
double-clicking an entry in the list, the system skips directly to the faulty object in the
Excel table and the fault is cleared. The "Error text" column of the corresponding object
also contains the cause of the fault. The cause of the fault has the following structure:
"Column: Error". Clear all the errors found and run the test again.
10.Select the menu items "WinCC archive -> Create archive". A dialog opens for creating the
entire archive. Click the "OK" button. If an archive with the same name as the one to be
created already exists, it must be deleted. For this reason, a corresponding prompt
appears. Confirm the prompt by clicking "OK". The archive is created in the WinCC
project. Close the Excel sheet.
SIMATIC HMI
16 04/2008, Printout of the Online Help
Quick start
11.The newly created archive cannot be opened in the tag logging editor. The only possibility
to edit the archive is to read it back into an Excel table. Select the menu items "WinCC
archive -> Read archive". A dialog opens containing a list of all the archives available in
the WinCC project. Select the archive to be read and click the "OK" button. A new Excel
sheet is created. The data is read into it from the selected archive.
SIMATIC HMI
04/2008, Printout of the Online Help 17
Quick start
12.The properties of the archive or properties of the individual archive tags can then be
modified. The modifications carried out can be transferred to the WinCC project
selectively. Select the relevant objects which have been modified. Open the context menu
by clicking the right mouse button and select the menu item "WinCC - write selection".
Before the archive tags are written, a dialog opens in which to define the test criteria.
Confirm the dialog by clicking "OK".
SIMATIC HMI
18 04/2008, Printout of the Online Help
Operating WinCC Archive 5
5.1 Operating WinCC Archive
Introduction
This section provides details of all the aspects of operating WinCC Archive.
See also
Creating, modifying and deleting (Page 53)
Checking the archive data (Page 47)
Configuring a compressed archive (Page 40)
Configuring a process value archive (Page 24)
Creating an archive folder (Page 19)
Introduction
This section describes general procedures for creating and operating archive folders. The
archive folder relates to an Excel sheet which is created by WinCC Archive. An archive
folder serves to configure the properties of an archive and the associated archive tags.
See also
How to add a new table (Page 23)
Reading an existing archive (Page 21)
Creating a new archive folder (Page 20)
SIMATIC HMI
04/2008, Printout of the Online Help 19
Operating WinCC Archive
5.2 Creating an archive folder
Introduction
This description explains the procedure for creating a new archive folder.
Procedure
1. Open Excel. The Excel add-in WinCC Archive is automatically started at the same time.
The Excel menu contains the "WinCC Archive" item. Select "New archive" from this menu
item.
2. A dialog opens in which to define the basic properties of the archive to be created. Enter
a name for the archive. Select the desired archive type.
Two different types of archives can be configured using WinCC Archive. These are
process value archives and compressed archives. he archive folder created is dependent
on the archive type selected. Archive folders for process value archives and for
compressed archives differ as to the structure of the tables contained.
3. Click the "OK" button.
SIMATIC HMI
20 04/2008, Printout of the Online Help
Operating WinCC Archive
5.2 Creating an archive folder
4. A new Excel sheet is created which serves to configure the desired archive type.
An archive folder, by default, contains a table with the name "Archive". The archive
properties are defined in it. Definition of the archive properties occurs in the first line of
the table data area (Line 3).
An archive folder contains at least one table named "Archive tags" and a consecutive
number. These tables serve to configure the archive tags associated to the archive. The
entire data area (from the third line) of the table can be used for configuring the archive
tags. It is possible to add further archive tag tables to the archive folder.
Note
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.).
See also
How to add a new table (Page 23)
Reading an existing archive (Page 21)
Introduction
This description explains the procedures for reading an archive from the WinCC project.
Procedure
1. Open Excel. The Excel add-in WinCC Archive is automatically started at the same time.
The Excel menu contains the "WinCC Archive" item. Select "Read archive" from this
menu item.
SIMATIC HMI
04/2008, Printout of the Online Help 21
Operating WinCC Archive
5.2 Creating an archive folder
2. A dialog opens containing a list of all the archives available in the WinCC project. Select
the archive to be read and click the "OK" button.
3. A new archive folder is created. The data is read into it from the selected archive. The
type of the archive folder to be created is dependent on the type of the archive being
read. WinCC Archive can be used to edit process value archives and compressed
archives.
An archive folder contains a table with the name "Archive". This contains the archive's
properties. The archive folder also contains at least one table named "Archive tags" and a
consecutive number. These tables contain the archive tags associated to the archive.
See also
How to add a new table (Page 23)
Creating a new archive folder (Page 20)
SIMATIC HMI
22 04/2008, Printout of the Online Help
Operating WinCC Archive
5.2 Creating an archive folder
Introduction
This description explains the procedure for adding a new table to an archive folder.
Procedure
1. Open the archive folder to which a new table is to be added. Select the menu items
"WinCC Archive -> New table".
2. A dialog opens in which the type of the new table can be selected. The following table
types are available.
– Standard table: Normal Excel table.
– Archive table: Table to define the properties of the archive. This type is only available
for selection when the existing archive table has been deleted.
– Archive Tag table: Table to configure archive tags. In the case of process value
archives, there are two different types of archive tag tables available for selection. In
the case of compressing archives, only one type is available for selection.
SIMATIC HMI
04/2008, Printout of the Online Help 23
Operating WinCC Archive
5.3 Configuring a process value archive
3. A new table has been added to the archive folder. This can be renamed, if so required.
See also
Reading an existing archive (Page 21)
Creating a new archive folder (Page 20)
Introduction
This section describes the general procedure for configuring a process value archive using
WinCC Archive.
See also
Using the dialog for tag selection (Page 38)
Configuring archive tag parameters (process-controlled) (Page 35)
Configuring the archive tag parameters (binary and analog) (Page 28)
Configuring the archive parameters (Page 25)
SIMATIC HMI
24 04/2008, Printout of the Online Help
Operating WinCC Archive
5.3 Configuring a process value archive
Introduction
This section describes the configuration of the archive parameters. The archive parameters
are explained individually.
Procedure
1. Activate the archive table. It normally has the name "Archive". The name of the table can
be changed.
2. The archive parameters must be defined in the first line of the archive table's data area.
Only the content from this line is evaluated by WinCC Archive.
Archive parameter
The following table lists all the parameters which must be entered for the process value
archive.
SIMATIC HMI
04/2008, Printout of the Online Help 25
Operating WinCC Archive
5.3 Configuring a process value archive
SIMATIC HMI
26 04/2008, Printout of the Online Help
Operating WinCC Archive
5.3 Configuring a process value archive
2. The following diagram illustrates the "Process value archive properties" dialog. The
"Memory location" tab has been selected. The corresponding column in the table
structure of WinCC Archive is displayed for each parameter.
See also
Configuring archive tag parameters (process-controlled) (Page 35)
Configuring the archive tag parameters (binary and analog) (Page 28)
SIMATIC HMI
04/2008, Printout of the Online Help 27
Operating WinCC Archive
5.3 Configuring a process value archive
Introduction
This description explains the configuration of binary and analog archive tags. The
parameters which must be defined for binary and analog archive tags are explained
individually.
Procedure
1. Activate the table for configuring the binary and analog archive tags. This normally has
the name "Archive Tags (1)". The name of the table can be changed. Since the
parameters of binary and analog archive tags are very similar, both are configured within
the same table structure.
2. The entire data area of the table is available for configuring the archive tags. As a result,
up to 65534 archive tags can be configured on the table. If this is insufficient, further
tables can be added.
SIMATIC HMI
28 04/2008, Printout of the Online Help
Operating WinCC Archive
5.3 Configuring a process value archive
SIMATIC HMI
04/2008, Printout of the Online Help 29
Operating WinCC Archive
5.3 Configuring a process value archive
SIMATIC HMI
30 04/2008, Printout of the Online Help
Operating WinCC Archive
5.3 Configuring a process value archive
SIMATIC HMI
04/2008, Printout of the Online Help 31
Operating WinCC Archive
5.3 Configuring a process value archive
2. The following figure shows the parameters of the "Archiving" tab. The corresponding
column in the table structure of WinCC Archive is displayed for each parameter.
SIMATIC HMI
32 04/2008, Printout of the Online Help
Operating WinCC Archive
5.3 Configuring a process value archive
3. The organization of the "Parameters" tab differs for binary as compared to analog archive
tags. The structure with respect to analog archive tags is depicted. In the case of binary
archive tags, the "Processing", "Unit" and "Archiving on change" areas are not available.
The corresponding columns in the WinCC Archive table structure must be left empty for
binary archive tags. In the case of binary archive tags, on the other hand, an area named
"Archiving on" exists. This area is assigned to column "R" in the WinCC Archive table
structure. This column is irrelevant in the case of analog archive tags and must remain
empty then.
SIMATIC HMI
04/2008, Printout of the Online Help 33
Operating WinCC Archive
5.3 Configuring a process value archive
4. The following figure shows the parameters of the "Display" tab. The corresponding
column in the table structure of WinCC Archive is displayed for each parameter. The
"Display" tab is not available for binary archive tags. The corresponding columns in the
WinCC Archive table structure must be left empty for binary archive tags.
See also
Configuring the archive parameters (Page 25)
Using the dialog for tag selection (Page 38)
Configuring archive tag parameters (process-controlled) (Page 35)
SIMATIC HMI
34 04/2008, Printout of the Online Help
Operating WinCC Archive
5.3 Configuring a process value archive
Introduction
This description explains the configuration of process controlled archive tags. The
parameters which must be defined for process controlled archive tags are explained
individually.
Procedure
1. Activate the table for configuring the process controlled archive tags. By default, it has the
name "Archive tags (2)". The name of the table can be changed.
2. The entire data area of the table is available for configuring the archive tags. As a result,
up to 65534 archive tags can be configured on the table. If this is insufficient, further
tables can be added.
When configuring process controlled archive tags, the format DLL to be used must be
specified. WinCC Archive only supports the configuration of process controlled archive
tags for the format DLL "nrms7pmc.nll".
SIMATIC HMI
04/2008, Printout of the Online Help 35
Operating WinCC Archive
5.3 Configuring a process value archive
4 Format DLL Set here the format DLL to be used. Only the format
DLL "nrms7pmc.nll" is supported.
5 Format DLL With "nrms7pmc.nll": AR_ID
parameter 1
6 Format DLL With "nrms7pmc.nll": AR_ID Subnumber
parameter 2
The following section explains the significance of the symbols used in the "List" column.
SIMATIC HMI
36 04/2008, Printout of the Online Help
Operating WinCC Archive
5.3 Configuring a process value archive
Tab
1 The following diagram illustrates the "Properties of process controlled tag" dialog. The
corresponding column in the table structure of WinCC Archive is displayed for each parameter.
SIMATIC HMI
04/2008, Printout of the Online Help 37
Operating WinCC Archive
5.3 Configuring a process value archive
Tab
2 The following diagram depicts the "nrms7pmc.nll" dialog. It can be opened by clicking the
"Options" button in the "Properties of process controlled tag" dialog. A condition for this,
however, is that "nrms7pmc.nll" is defined as the "Format DLL" (refer to Step 1). The
corresponding column in the table structure of WinCC Archive is displayed for each parameter.
See also
Using the dialog for tag selection (Page 38)
Configuring the archive tag parameters (binary and analog) (Page 28)
Configuring the archive parameters (Page 25)
Introduction
The first parameter to enter when configuring an archive tag is the name of the WinCC tag to
be archived. This parameter can be entered directly in the corresponding cell, as can all the
other parameters. In addition, WinCC Excel provides the option of using a special dialog to
select tags. It offers all the tags in the WinCC project currently open for selection. If no
WinCC project is open, the dialog is not available.
SIMATIC HMI
38 04/2008, Printout of the Online Help
Operating WinCC Archive
5.3 Configuring a process value archive
Procedure
1. Ensure that a WinCC project is open. Open or create an archive folder to configure a
process value archive. Activate any archive tag table. Double-click the data area in a cell
of the "Tag" column. The Tag selection dialog opens.
2. The Tag selection dialog does not inhibit the operation of Excel. This means that work in
the archive folder can continue even when the Tag selection dialog is open.
Select the cell in the archive tag table in which to insert the name of a WinCC tag. Select
the desired WinCC tag in the Tag selection dialog. Click the "Paste" button in the Tag
selection dialog. The name of the WinCC tag selected is inserted in the archive tag table.
The Tag selection dialog remains open.
Pasting individual WinCC tags can also be performed by double-clicking the desired tag
in the selection list.
3. The Tag selection dialog supports multiple selection. This means several WinCC tags
can be selected at a time by simultaneously holding the Ctrl or Shift keys.
Select the cell in the archive tag table from which to insert the names of the WinCC tags.
Select the desired WinCC tag in the Tag selection dialog. Click the "Paste" button in the
Tag selection dialog. The names of the WinCC tags selected are pasted in the archive
tag table. The Tag selection dialog remains open.
4. The number of WinCC tags displayed in the Tag selection dialog can be restricted by
entering filter criteria.
Enter the required filter criterion in the "Filter" input field. For example, when entering "B*"
as a filter criterion, only those tags are displayed whose name begins with the letter B.
Click the button to apply the filter criteria. Only WinCC tags, the names of which
match the selected filter criteria, are shown.
Enter "*" as the filter criterion to display all available WinCC tags again.
5. Click the "Close" button to terminate work using the Tag selection dialog.
SIMATIC HMI
04/2008, Printout of the Online Help 39
Operating WinCC Archive
5.4 Configuring a compressed archive
See also
Configuring archive tag parameters (process-controlled) (Page 35)
Configuring the archive tag parameters (binary and analog) (Page 28)
Introduction
This section describes the general procedures for configuring a compressed archive using
WinCC Archive.
See also
Configuring the archive tag parameters (Page 43)
Configuring the archive parameters (Page 40)
Introduction
This section describes the configuration of the archive parameters. The archive parameters
are explained individually.
Procedure
1. Activate the archive table. It normally has the name "Archive". The name of the table can
be changed.
SIMATIC HMI
40 04/2008, Printout of the Online Help
Operating WinCC Archive
5.4 Configuring a compressed archive
2. The archive parameters must be defined in the first line of the archive table's data area.
Only the content from this line is evaluated by WinCC Archive.
Archive parameters
The following table lists all the parameters which must be entered for the process value
archive.
SIMATIC HMI
04/2008, Printout of the Online Help 41
Operating WinCC Archive
5.4 Configuring a compressed archive
SIMATIC HMI
42 04/2008, Printout of the Online Help
Operating WinCC Archive
5.4 Configuring a compressed archive
2. The following diagram illustrates the "Properties of compressed archive" dialog. The
"Compression" tab has been selected. The corresponding column in the table structure of
WinCC Archive is displayed for each parameter.
See also
Configuring the archive tag parameters (Page 43)
Introduction
This description explains the configuration of compressed archive tags. The parameters
which must be defined for compressed archive tags are explained individually.
SIMATIC HMI
04/2008, Printout of the Online Help 43
Operating WinCC Archive
5.4 Configuring a compressed archive
Procedure
1. Activate the table for configuring the compressed archive tags. By default, it has the
name "Archive tags (1)". The name of the table can be changed.
2. The entire data area of the table is available for configuring the archive tags. As a result,
up to 65534 archive tags can be configured on the table. If this is insufficient, further
tables can be added.
SIMATIC HMI
44 04/2008, Printout of the Online Help
Operating WinCC Archive
5.4 Configuring a compressed archive
The following section explains the significance of the symbols used in the "List" column.
Tab
1 The following diagram illustrates the "Properties of compressed tag" dialog. The "Archive tag"
tab has been selected. The corresponding column in the table structure of WinCC Archive is
displayed for each parameter.
SIMATIC HMI
04/2008, Printout of the Online Help 45
Operating WinCC Archive
5.4 Configuring a compressed archive
Tab
2 The following diagram illustrates the "Properties of compressed tag" dialog. The "Parameters"
tab has been selected. The corresponding column in the table structure of WinCC Archive is
displayed for each parameter.
See also
Configuring the archive parameters (Page 40)
SIMATIC HMI
46 04/2008, Printout of the Online Help
Operating WinCC Archive
5.5 Checking the archive data
Introduction
This section describes the procedures for checking the configured data.
During the configuration, WinCC Archive does not carry out any tests with respect to the
data. As a result, the user can use all the options to enter data. Before transferring an
archive to the WinCC project, it is essential to ensure that the configuration is correct. For
this purpose, WinCC Archive offers special options to check the archive data.
See also
Error list (Page 51)
Using the error dialog (Page 50)
Checking the archive data (Page 47)
Introduction
This description explains the options provided by WinCC Archive to check the archive data.
Procedure
1. Open the archive folder to be checked. Select the menu items "WinCC archive" > "Check
archive". The "Check archive" dialog is opened.
The "Check archive" dialog provides options for subjecting the archive data to various
checks. The checks available are explained in brief in the following section.
– Check archive parameters: The settings defined in the archive table are checked. The
check does not involve the archive tag tables.
– Check archive tag parameters: The settings defined in the archive tag tables are
checked. A check is made whether all necessary parameters have been set and have
a value which can be interpreted properly.
– Check object names: The names of the archive tags are checked for uniqueness
within the archive. In addition, a check is made that the names comply to the archive
tag name conventions.
– Check cycle times: A check is made whether the set cycle times are available in the
WinCC project. Another check is made as to whether the values set are valid for the
required use.
SIMATIC HMI
04/2008, Printout of the Online Help 47
Operating WinCC Archive
5.5 Checking the archive data
– Check tags: A check is made whether the set tags are available in the WinCC project.
Another check is made as to whether their data types are valid for the required use.
– Check archive tags: This check is offered for compressed archives instead of the
"Check tags" test. A check is made whether all the set archive tags are available in the
WinCC project.
2. Select the required checks by activating the corresponding check boxes. By default, all
the checks are selected. Click the "OK" button.
The checks "Check cycle times" and "Check tags" (or "Check archive tags") can only be
performed if a WinCC project has been opened. A corresponding error message appears
indicating this following incorrect input.
SIMATIC HMI
48 04/2008, Printout of the Online Help
Operating WinCC Archive
5.5 Checking the archive data
3. The selected checks are executed in succession. A check is only performed when the
previous one has been completed without error. Every object which is checked and found
to be free of errors is identified in the "Error text" column by "OK". Each erroneous object
is identified in the "Status" column by the value "1". More detailed descriptions of the
errors found appear in the "Error text" column.
If errors are detected during a check, this is indicated by a corresponding message. An
option is provided to open a list of all faults found. This is a particular advantage in the
case of large archives.
4. Clear all the errors found and run the test again. Repeat the procedure until no more
errors are detected. In this case, the following message appears.
See also
Error list (Page 51)
Using the error dialog (Page 50)
SIMATIC HMI
04/2008, Printout of the Online Help 49
Operating WinCC Archive
5.5 Checking the archive data
Introduction
WinCC Archive provides users with a help function in the form of an overview of all the errors
found in the archive data during the tests. The help is provided in the error dialog. This
section describes the error dialog and how it is used.
Procedure
1. A message appears after the archive data has been checked. It provides information on
the result of the test. If errors were found, the message below appears. Click the "Yes"
button to open the error dialog.
2. The error dialog is opened. The error dialog contains a list of all faulty objects. This list
displays each object with its name, the name of the associated table and the associated
row number as well as with the error text.
3. Double-click an object in the list to skip directly to the erroneous object. The object is
marked in the Excel table, the error can be cleared. The error dialog need not be closed
to do this. When the error dialog is open, it is still possible to work in the Excel table.
4. If the error dialog has been closed, it can be reopened by double-clicking in the "Status"
or "Error text" columns. This only applies, however, when the archive folder contains
errors.
See also
Error list (Page 51)
Checking the archive data (Page 47)
SIMATIC HMI
50 04/2008, Printout of the Online Help
Operating WinCC Archive
5.5 Checking the archive data
Introduction
This section contains a list of all errors which could possibly be detected when the archive
data are checked. There is a description of each error and instructions on clearing it.
Status column
The "Status" column may contain the contents listed below.
Status Description
1 The cell is empty. The object in this row has not been checked yet or
the checks were completed successfully.
3 1 The cell contains the value 1. The object in this row was checked. An
error was detected.
The Status column serves to locate erroneous objects quicker. Select any cell, for example,
in the Status column. Press the "End" button. Then press one of the cursor keys, up or
down. The selection skips to the next cell containing the value 1, i.e. to the next erroneous
object.
Error list
Error Description
1 Unknown error An error has occurred which cannot be located more accurately.
2 Wrong data type A different data type is required for this parameter. A text has been
entered, for example, but a numeric value is required.
3 The text is too long The length of the specified text exceeds the permissible value for
this parameter.
4 The value is outside the The specified value is outside the permissible value range for this
permitted limits parameter.
SIMATIC HMI
04/2008, Printout of the Online Help 51
Operating WinCC Archive
5.5 Checking the archive data
Error Description
5 Invalid ratio of cycle The ratio between acquisition cycle and archiving cycle is not
times correct. The archiving cycle must be a whole number multiple of the
acquisition cycle.
6 No cycle time specified A cycle time must be specified for this parameter.
7 Unknown value The specified text does not comply to any selectable options for this
parameter. Parameter entry is supported by a combo box.
8 Tag was not found The tag specified was not found in the WinCC project.
9 Cycle time was not found The cycle time specified was not found in the WinCC project.
10 Tag is not analog An analog tag must be specified for this parameter. This is
necessary for the tag parameter, for example, when the archive tag
type is defined as analog.
11 Tag is not binary An binary tag must be specified for this parameter. This is
necessary for the tag parameter, for example, when the archive tag
type is defined as binary.
12 Invalid name The name of the object does not comply with the required
conventions. It may contain e.g. invalid special characters.
13 Name is not unique The name of the object is not unique. It is used several times within
the archive.
14 No name specified No name has been assigned to the object.
15 No raw data tag A raw data tag must be specified for this parameter. This is the
case for the tag parameter concerning process controlled archive
tags.
16 Configuration already in The configuration of this process controlled archive tag is already in
use use. It must be unique, however, within the archive. An internal
archive tag name is generated from the configuration.
17 Invalid source The source of the specified compressed archive tag is not correct. It
is missing completely or partly, for example.
18 Source does not exist The source specified for the compressed archive tag was not found
in the WinCC project. The inherent archive must not be specified as
the source archive.
19 Time value under one A time of greater than or equal to one minute must be specified as
minute the compressing period.
See also
Using the error dialog (Page 50)
Checking the archive data (Page 47)
SIMATIC HMI
52 04/2008, Printout of the Online Help
Operating WinCC Archive
5.6 Creating, modifying and deleting
Introduction
This section explains the general procedures for creating, modifying and deleting entire
archives as well as individual archive tags.
See also
Deleting archives (Page 55)
Deleting individual archive tags (Page 59)
Creating and modifying individual archive tags (Page 56)
Creating a complete archive (Page 53)
Introduction
This description explains the procedures to create the archive configured in an archive
folder. Only complete archives can be created using the options described. If the
corresponding archive already exists, it is deleted.
SIMATIC HMI
04/2008, Printout of the Online Help 53
Operating WinCC Archive
5.6 Creating, modifying and deleting
Procedure
1. Open the archive folder which contains the archive to be created. The configured data
should be checked beforehand. Select the menu items "WinCC archive -> Create
archive". The "Create archive" dialog is opened.
The "Create archive" dialog displays all checks performed during archive creation. A
major part of the tests is always executed and cannot be deactivated. This concerns all
the checks requiring a comparatively small amount of time.
Checking the tags, or in the case of compressed archives checking the archive tags, can
be deactivated. These checks may be very time-consuming in the case of larger WinCC
projects. If the check was made prior to creating the archive, it is not longer necessary
during writing. It can be deactivated in this case.
2. Define the required settings in the dialog. Click the "OK" button.
3. Before the archive is created, a message appears. It points out that an existing archive of
the same name is deleted. Click the "OK" button to create the archive.
SIMATIC HMI
54 04/2008, Printout of the Online Help
Operating WinCC Archive
5.6 Creating, modifying and deleting
4. The archive is created. The archive tags are written to the WinCC project in blocks of up
to 256 objects. When the creating process is completed, a message appears. It provides
information as to whether errors have occurred or not. If errors have occurred, use the
error dialog to locate the erroneous objects.
See also
Deleting archives (Page 55)
Deleting individual archive tags (Page 59)
Creating and modifying individual archive tags (Page 56)
Introduction
This description explains the procedures for deleting any archive from the WinCC project.
Procedure
1. Open Excel. The Excel add-in WinCC Archive is automatically started at the same time.
The Excel menu contains the "WinCC Archive" item. Select "Delete archive" from this
menu item.
SIMATIC HMI
04/2008, Printout of the Online Help 55
Operating WinCC Archive
5.6 Creating, modifying and deleting
2. A dialog opens containing a list of all the archives available in the WinCC project. Select
the archive to be deleted and click "Delete". The archive is deleted from the WinCC
project. The dialog remains open. Click "Close" to close the dialog.
See also
Deleting individual archive tags (Page 59)
Creating and modifying individual archive tags (Page 56)
Creating a complete archive (Page 53)
Introduction
This description explains the procedures for adding individual archive tags to an existing
archive and the procedures for modifying existing archive tags.
Procedure
1. Open the archive folder which contains the archive to be edited. The archive to be edited
can also be read in from the WinCC project using the menu items "WinCC archive ->
Read archive".
SIMATIC HMI
56 04/2008, Printout of the Online Help
Operating WinCC Archive
5.6 Creating, modifying and deleting
2. Carry out the necessary modifications to the archive. Add new archive tags or modify
existing archive tags. Select the newly added or modified objects. Open the pop-up menu
and select "WinCC - write selection".
3. The "Write archive tags" dialog is opened. The dialog displays all the checks executed
while the archive tags are being written. A major part of the tests is always executed and
cannot be deactivated. This concerns all the checks requiring a comparatively small
amount of time.
Checking the tags, or in the case of compressed archives checking the archive tags, can
be deactivated. These checks may be very time-consuming in the case of larger WinCC
projects. If the check was executed beforehand, it need not be executed again during the
write process. It can be deactivated in this case.
SIMATIC HMI
04/2008, Printout of the Online Help 57
Operating WinCC Archive
5.6 Creating, modifying and deleting
4. Define the required settings in the dialog. Click the "OK" button.
5. The archive tags are written. When the writing process is completed, a message appears.
It provides information as to whether errors have occurred or not. If errors have occurred,
use the error dialog to locate the erroneous objects.
See also
Deleting archives (Page 55)
Deleting individual archive tags (Page 59)
Creating a complete archive (Page 53)
SIMATIC HMI
58 04/2008, Printout of the Online Help
Operating WinCC Archive
5.6 Creating, modifying and deleting
Introduction
This description explains the procedures for deleting individual archive tags from an existing
archive.
Procedure
1. Open the archive folder which contains the archive to be edited. The archive to be edited
can also be read in from the WinCC project using the menu items "WinCC archive ->
Read archive".
2. Select the archive tags to be deleted. Open the pop-up menu and select "WinCC - delete
selection".
3. The archive tags are deleted. When the deleting process is completed, a message
appears.
SIMATIC HMI
04/2008, Printout of the Online Help 59
Operating WinCC Archive
5.6 Creating, modifying and deleting
4. The archive tags deleted from the WinCC project are not deleted from the Excel table. To
delete archive tags from the Excel table, press the "Del" button or open the pop-up menu
and select the menu item "Delete content".
See also
Creating and modifying individual archive tags (Page 56)
Deleting archives (Page 55)
Creating a complete archive (Page 53)
SIMATIC HMI
60 04/2008, Printout of the Online Help
Index
Process-controlled archive tag parameters, 35
Quick start, 11
A Reading archives, 21
Status, 51
Archive ConfigurationTool, 5
System requirements, 7
Tag logging editor, 25, 28, 35, 40, 43
Tag selection, 38
S Using the error dialog, 50
System requirements, 7 Working with WinCC Archive, 5
Working without WinCC, 7
WinCC Configuration Tool, 5
T
Tag logging, 5
Tag logging editor, 5
W
WinCC archive, 5
WinCC Archive ConfigurationTool, 5
Adding tables, 23
analog archive tag parameters, 28
Archive parameter, 25, 40
Archive tag parameters, 28, 35, 43
Archive tags, 53
Binary archive tag parameters, 28
Changing archive tags, 56
Changing archives, 53
Checking, 47
Checking archive data, 47, 53
Configuring a process value archive, 24
Configuring archive parameters, 25, 40
Configuring archive tag parameters, 28, 35, 43
Configuring compressed archives, 40
Configuring parameters, 25, 28, 35, 40, 43
Creating an archive folder, 19, 20
Creating archive tags, 56
Creating archives, 11, 53
Deleting archive tags, 59
Deleting archives, 53, 55
Dialog for tag selection, 38
Error list, 51
Error text, 51
Inserting tables, 23
Operation, 19
SIMATIC HMI
04/2008, Printout of the Online Help 61
Index
SIMATIC HMI
62 04/2008, Printout of the Online Help