Top Banner
Automation Technology > Operator control and monitoring systems > HMI Software > SCADA system SIMATIC WinCC > SIMATIC WinCC > Tag Logging WinCC -- Configuring Tag Logging -- Configuring Archives How do you use the "Selected ID" property in the WinCC V7.0 control "WinCC User Archive"? How do you configure the size of Alarm Logging archives in SIMATIC WinCC? Why does SIMATIC WinCC save the backup files in the "Alternative destination path" even though a destination path is specified and the backup medium has sufficient memory space? Which license do the archive servers require? How are "Alarm Logging" and "Tag Logging" selected during client startup? What should you watch out for when doing a backup configuration in WinCC V6.0 and higher in combination with a redundant server pair? What is the meaning of the setting options "Time of the segment change" in the "Archive Configuration" dialog? How are backup files aligned in the target path and alternative target path? How do you use the "Selected ID" property in the WinCC V7.0 control "WinCC User Archive"? Introduction A new "WinCC UserArchiveControl" has been developed for WinCC version V7.0. Here, you can no longer select and define "Selected ID" as known from the old control under the option "Properties" > "Control Properties". Solution As from WinCC V7.0 SP1, the "Selected ID" property is also included in the new "WinCC UserArchiveControl". You can download the Service Pack in Entry ID: 34896004. 1. You can continue to use the OCX of WinCC version V6.x under the designation "WinCC User Archive - Table Element (Classic)". For this, you add an element of the "Control" type from "Smart Objects" in the Object Palette. If OCX is not available for selection in the controls, you must register the OCX. For this, please proceed as instructed below. 2. Registering the "WinCC User Archive - Table Element (Classic)" No. Procedure 1 Add/Remove "Control" Open the "Graphics Designer". Select the "Controls" tab in "Object Palette". Now right-click on the "ActiveX Controls" column and click on "Add/Remove..." Fig. 01 2 "Register OCX..." Now click on the "Register OCX..." button. Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId... 1 -> 12 08.04.2013 17:56
12
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: UAControl

Automation Technology > Operator control and monitoring systems > HMI Software > SCADA

system SIMATIC WinCC > SIMATIC WinCC > Tag Logging

WinCC -- Configuring Tag Logging -- Configuring Archives

How do you use the "Selected ID" property in the WinCC V7.0 control "WinCC User Archive"?

How do you configure the size of Alarm Logging archives in SIMATIC WinCC?

Why does SIMATIC WinCC save the backup files in the "Alternative destination path" even

though a destination path is specified and the backup medium has sufficient memory space?

Which license do the archive servers require?

How are "Alarm Logging" and "Tag Logging" selected during client startup?

What should you watch out for when doing a backup configuration in WinCC V6.0 and higher in

combination with a redundant server pair?

What is the meaning of the setting options "Time of the segment change" in the "Archive

Configuration" dialog?

How are backup files aligned in the target path and alternative target path?

How do you use the "Selected ID" property in the WinCC V7.0 control "WinCC User Archive"?

Introduction

A new "WinCC UserArchiveControl" has been developed for WinCC version V7.0. Here, you can no

longer select and define "Selected ID" as known from the old control under the option "Properties" >

"Control Properties".

Solution

As from WinCC V7.0 SP1, the "Selected ID" property is also included in the new "WinCC

UserArchiveControl". You can download the Service Pack in Entry ID: 34896004.

1.

You can continue to use the OCX of WinCC version V6.x under the designation "WinCC User

Archive - Table Element (Classic)". For this, you add an element of the "Control" type from

"Smart Objects" in the Object Palette. If OCX is not available for selection in the controls, you

must register the OCX. For this, please proceed as instructed below.

2.

Registering the "WinCC User Archive - Table Element (Classic)"

No. Procedure

1 Add/Remove "Control"

Open the "Graphics Designer". Select the "Controls" tab in "Object Palette". Now right-click on

the "ActiveX Controls" column and click on "Add/Remove..."

Fig. 01

2 "Register OCX..."

Now click on the "Register OCX..." button.

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

1 -> 12 08.04.2013 17:56

Page 2: UAControl

Fig. 02

3 OCX path

Select the path for the OCX. The path is: X:\Program Files\ Common Files\Siemens

\bin\CCUACtls.ocx.

Fig. 03

Acknowledge with "Open". "WinCC User Archive - Table Element (Classic)" is now registered.

The OCX is selected automatically with the registration. Acknowledge the subsequent selection

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

2 -> 12 08.04.2013 17:56

Page 3: UAControl

with "OK".

4 OCX inserted in Controls

Now you have inserted the OCX in the Object Palette. You can locate it by selecting "Controls"

> "ActiveX Controls".

Fig. 04

How do you configure the size of Alarm Logging archives in SIMATIC WinCC?

Archive configuration

As from SIMATIC WinCC V6.0, you can configure the size of your Alarm Logging archives. For this,

there is the "Archive Configuration" entry in the Alarm Logging Editor via which you can make the

settings for your archives.

Procedure

For WinCC V6.0 up to and including SP2

For WinCC V6.0 as from SP3

Procedure for WinCC V6.0 up to and including SP2

The archive types that you can configure in the "Properties" dialog are displayed as subitems. For this

you right-click on an archive type and then in the pop-up menu you select the "Properties" item.

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

3 -> 12 08.04.2013 17:56

Page 4: UAControl

Fig. 01

In this dialog, you can define the memory size of your long-term archive and the segment change

times.

Fig. 02

In SIMATIC WinCC V6.0 onwards, you can export your Alarm Logging archives via the Backup

Configuration. This dialog is also in the Properties of the long-term archive.

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

4 -> 12 08.04.2013 17:56

Page 5: UAControl

Fig. 03

In the short-term archive, you can configure the number of messages to be reloaded and displayed

in the short-term archive window after power failure.

Fig. 04

Note

A detailed description of the configurations described above is available in the WinCC Online Help.

Procedure for WinCC V6.0 as from SP3

For configuration, you right-click on the "Message archive" and then in the pop-up menu you select

the "Properties" item.

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

5 -> 12 08.04.2013 17:56

Page 6: UAControl

Fig. 05

In this dialog, you can define the memory size of your message archive and the segment change

times.

Fig. 06

You can also export your Alarm Logging archives via the Backup Configuration. For this, you select

the Backup Configuration tab.

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

6 -> 12 08.04.2013 17:56

Page 7: UAControl

Fig. 07

To configure the number of messages to be displayed again in Runtime after a power failure, you

right-click on "Message archive" and then in the pop-up menu you select the "Reload after power

failure" item.

Fig. 08

Note

A detailed description of the configurations described above is available in the WinCC Online Help.

Why does SIMATIC WinCC save the backup files in the "Alternative destination path" even though a

destination path is specified and the backup medium has sufficient memory space?

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

7 -> 12 08.04.2013 17:56

Page 8: UAControl

Description:

To execute the backup of both the Alarm Logging and the Tag Logging runtime data correctly, in

WinCC you must specify an existing folder in the destination path.

It is not enough just to state the drive name.

Fig. 1: Backup configuration

Note:

The folder for storing the backup files has to be created manually in advance, because WinCC cannot

create it automatically.

Which license do the archive servers require?

Configuration Notes:

Different licenses are required for the different archive servers:

Central archive server:

WinCC RT 128 tags

WinCC server license

WinCC archive power pack (number of tags being archived, e.g. 30K, there are 512 archive

tags in the basic license)

Long-term archive server

No WinCC license (WinCC isn't installed)

The WinCC/Dat@Monitor or the WinCC/connectivity pack can be used to view the data. These

licenses should be installed during use.

File server:

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

8 -> 12 08.04.2013 17:56

Page 9: UAControl

No WinCC license

How are "Alarm Logging" and "Tag Logging" selected during client startup?

Instructions:

A client does not have its own alarm / tag-logging system. It is supplied with the data from the server

- therefore, the entries for alarm / tag logging cannot be selected in the startup list either.

In order to display the data from the server, the package only has to be generated under "Server

Data" on the server. It contains the alarm / tag-logging information for the client and displays the data

on the client.

What should you watch out for when doing a backup configuration in WinCC V6.0 and higher in

combination with a redundant server pair?

Configuration Notes

Automatic backup of the WinCC Runtime data is integrated in the standard WinCC as from WinCC

V6.0. In the "Backup Configuration" tab you can make special settings in the archive configuration for

the archives "TagLoggingFast", "TagLoggingSlow" and "Message archive". Click the "Help" button for

a brief description of the setting options.

You can define two paths, a "Destination path" and an "Alternative destination path", to which the

archive segments of the archives "TagLoggingFast", "TagLoggingSlow" and "Message archive" are

exported.

Fig. 01

The "Destination path" input field is for defining the path in which the archive backup files are to be

stored. The "Alternative destination path" input field is for defining an alternative destination path. The

"Alternative destination path" can be used if it is not possible to export to the regular destination path,

for example, because there is not enough space on the backup medium or the network path is not

available for the backup (network failure).

Note:

You should make sure that the destination path and the alternative destination path are not

exclusively accessible via the network, because there is no data backup if there are network

problems. If the alternative destination path is local and the "Backup on both paths" setting is

disabled, then you only have to regularly move the alternative destination path to the destination path

in the network. This ensures that there is always a data backup even if there are network problems.

After duplicating or loading the WinCC project on the standby server, the archive configuration

settings are then identical on the server and the standby server. You must not make any changes to

the destination paths of the standby server. Depending on the version of WinCC V6.x, there are

differences in the backup behavior with regard to the WinCC redundancy option.

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

9 -> 12 08.04.2013 17:56

Page 10: UAControl

No. WinCC version V6.x

1 Up to and including WinCC V6.0 SP2

The archive backup is made not only on the active server but also on the standby server.

Both servers store their exported segments in the appropriately configured paths. There is no

name conflict, because the name of the computer concerned (server name) prefixes the file

name of the export segment in each case.

2 As from WinCC V6.0 SP3

The archive backup is made only on the active server. No archive backup is made on the

standby server.

Important

Only if the destination paths are identical on both servers will the data be complete in the

backup directory concerned in each case.

Note:

If you are working with English as user interface language in WinCC, please note that the selection

"signing off activated" is a translation error. It should read "signature activated".

Fig. 01

What is the meaning of the setting options "Time of the segment change" in the "Archive

Configuration" dialog?

Instructions

You can set each cyclic storage separately (TagLoggingFast, TagLoggingSlow and AlarmArchive)

with regard to size of the single elements and the size of all segments. Furthermore, you have the

option of specifying when a segment is to be made. The following figure shows the mask for entering

the archive configuration for the "TagLoggingFast" cyclic storage.

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

10 -> 12 08.04.2013 17:56

Page 11: UAControl

Figure 01

A description of the parameters to be set is given if you press the "Help" button in the Archive

Configuration dialog. More information is available in the WinCC Online Help under:

"WinCC Information System > Working with WinCC > Setting Up an Alarm System > Archiving

Messages > Configuring Message Archiving > Configuring Message Archive"

"WinCC Information System > Working with WinCC > Archiving Process Values >

Configuration of Process Value Archiving > Configuring the Process Value Archive"

"WinCC Information System > Working with WinCC > Archiving Process Values > Basics of

Archiving Process Values > Swapping Out Process Values"

This entry provides additional information on the meaning of the entries in the "Time of the segment

change" group. Depending on the time base used for the "Time period covered by a single segment"

inputs, not all of the default values of the "Time of the segment change" group effective. The only

input values of the "Time of the segment change" group that are active at Runtime are those that

cover a shorter period than the time base for the "Time period covered by a single segment" values.

The table below helps to illustrate the interrelations.

"Time period covered by a single segment" Active inputs fields of the "Time of the

segment change" group

"Hour(s)" "Minute"

"Day(s)" "Hour", "Minute"

"Week(s)" "Weekday", "Hour", "Minute"

"Month(s)" "Day of the month", "Hour", "Minute"

"Year(s)" "Month", "Day of the month", "Hour", "Minute"

Examples

If you specify the value "1 hour" for "Time period covered by a single segment", then only the

"Minute" input field is active in the "Time of the segment change" group.

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

11 -> 12 08.04.2013 17:56

Page 12: UAControl

My tags : Create new bookmark/tag

If you specify the value "8 hours" for "Time period covered by a single segment", then only the

"Minute" input field is active in the "Time of the segment change" group.

If you specify the value "1 month" for "Time period covered by a single segment", then only the

"Day of the month", "Hour" and "Minute" input fields are active in the "Time of the segment

change" group.

Changes in the Archive Configuration dialog only become effective after the next segment change.

More information on the topic of segment change is also available in Entry ID 22273427.

How are backup files aligned in the target path and alternative target path?

Instructions:

The target path and an alternative target path can be configured in the course of the backup

configuration. If the target path is not available at the time of backup (export) (e.g. if the disk is full or

the network drive is inaccessible), the data can be archived on an alternative target path.

Once both paths are available again, WinCC doesn't automatically align the data in the target path

and alternative target path. The corresponding archive backup files can be copied manually or by

script to another path. Make sure that you transfer the two files belonging to an archive backup

(*.LDF and *.MDF).

Entry ID:29443389 Date:2011-03-07

© Siemens AG 2013 - Corporate Information - Privacy Policy - Terms of Use

Siemens Industry Online Support - Automation Service, Automation Su... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

12 -> 12 08.04.2013 17:56