×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 109766432, Entry date: 05/15/2019
(2)
Rate

Why does enabling of the Runtime (WinCC V7 and WinCC Professional) freeze with "Alarm Logging Runtime" or "Tag Logging Runtime"?

  • Entry
  • Associated product(s)
When you start the Runtime, different WinCC processes are enabled depending on the application. There may be diverse reasons why enabling stops with the process for Alarm Logging or Tag Logging and does not continue. In the following we list known reasons for this and possible remedies.

In any case, make a backup of the project of the Operating Station (OS) concerned.
The procedure for this is described in Entry ID 109766573.

1. The Windows service "Message Queuing" is not started.

This can happen after a Windows update, for example.

Remedy
In the operating system, under "Control Panel > Administrative Tools > Services" the "Message Queuing" service must be started and "Automatic" set for "Startup Type".
If this behavior occurs repeatedly, go to "Control Panel > Programs and Features > Turn Windows Features on or off" and disable the entry "Microsoft Message Queue Server Core Components" under "Microsoft Message Queue Server". Then restart the computer and enable it again.

2. A WinCC template database is damaged.

Remedy
a) With WinCC V7:

  • Close the project.
  • Delete the file with the following name structure from the project folder:
    • [Project name]Alg.ldf
    • [Project name]Alg.mdf
    • [Project name]Tlg.ldf
    • [Project name]Tlg.mdf

For example, if the project has the name SampleProject (see the file with the extension "MCP"), you delete the files "SampleProjectAlg.ldf", etc.
These files do not contain any Runtime data but are used only as templates for generating the Runtime databases.
The next time you start the Runtime these databases are generated again automatically.

b) With WinCC Runtime Professional the folder name generally starts with "HMI_" like HMI_H4SL, for example.

The files to be deleted are also named corresponding to the folder name; in this example:

  • HMI#H4SLAlg.ldf
  • HMI#H4SLAlg.mdf
  • HMI#H4SLTlg.ldf
  • HMI#H4SLTlg.mdf

3. The configuration file of the project (DCF) is inconsistent.

Remedy
a) With WinCC V7:

Delete the DCF file of the project.
How to delete and regenerate the DCF file is described in Entry ID 109763043.

b) With WinCC Runtime Professional:

Save the Engineering project in the TIA Portal via "Project > Archive…" and then close that project.
Delete the IM folder from the Engineering project and reload the project from the Engineering Station to the OS.

4. The OS project has defective archive segments in the "Archive Manager" folder.

An archive segment consists of two files with the same name and the extensions .ldf and .mdf.

Remedy
Reset the archives.
This deletes all archive Runtime data.
This is why it is highly recommended to make a backup of the project.

a) With WinCC V7 it is easiest to use the "Project Duplicator" with the "Save as..." function. The procedure for this is described in the manual:

How to copy a project: WinCC V7.5

b) With WinCC Runtime Professional you reload the project from the Engineering Station to the OS.
For this in the "Load preview" you enable the action "Reset" under "Data to be reset":



Fig. 01

Note
If the Runtime can now be started in full, you can presume that there are defective segments in the original project.
If you want to find out which archive segments are working and which are defective, you connect them separately in Runtime in the Control (Alarm Control or message display, Online Trend Control or f(t) trend display) via the "Connect Backup" button.
If a segment cannot be connected, it is probably damaged.

Additional Keywords
Runtime hangs at Start


Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.