IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC Runtime Deactivates When the Alarm Report Fails

HMI and touchscreens Published 7 min read

Short answer

Runtime deactivates because the copied project's Alarm Logging message sequence report job has no valid printer or file output on the new PC, and the stored computer name no longer matches. A missing MPI cable does not shut Runtime down. Fix the print job, set a default printer, correct the computer entry, and run Project Migrator on a copy when moving from 6.0 to 7.0.

On this page
  1. Why does WinCC Runtime deactivate right after activation?
  2. Can a missing MPI cable stop WinCC Runtime?
  3. Why does a new project run on the same PC?
  4. What breaks in the Alarm Logging report on a new PC?
  5. How do I fix the report job and the computer name?
  6. How do I migrate the project from WinCC 6.0 to 7.0?
  7. What checks confirm Runtime stays up?
  8. Questions asked

A WinCC project copied to a replacement PC that deactivates itself right after Activate, while a brand-new project runs normally on the same machine, carries its fault inside the project. The failing component is the Alarm Logging message sequence report: a print job built for the old computer's printer and file paths, with a stored computer name that no longer matches. The missing MPI cable is not the cause, because a lost PLC connection produces channel errors and bad tag quality, not a Runtime shutdown. Fix the report job's output, set a default printer, correct the WinCC computer entry, and run Project Migrator on a copy when the project moves from WinCC 6.0 to 7.0.

Why does WinCC Runtime deactivate right after activation? #

Because the copied project carries an Alarm Logging message sequence report job whose printer or file target no longer exists on the replacement PC; Report Runtime cannot finish the job and takes Runtime down with it. The fault is inside the project, not the installation.

Two WinCC versions on the same copied project produced two different shutdowns, and both end in the report path:

Installed version What happens on Activate What it tells you
WinCC 6.0 Runtime activates, then deactivates on its own; a prompt asks to save the Alarm Logging report file Report Runtime is trying to write the message sequence report and cannot complete the output
WinCC 7.0 Runtime closes without a Deactivate message; the Report Alarm Logging RT Message Sequence window appears and the printer icon keeps running The print job is retrying against an output that does not exist
Either version, new empty project Runtime runs normally Installation, licensing basics and OS are sound; the fault sits in the copied project

Reinstalling WinCC 7.0 over 6.0 did not touch the project contents, which is why the failure followed the project and only its appearance changed.

Can a missing MPI cable stop WinCC Runtime? #

No. With the PLC unreachable over MPI, Runtime stays active and shows channel errors and bad tag quality. A Runtime that exits on its own is a project component failing at startup, and on a copied project that component is the Alarm Logging report job.

Judging the cause by an unplugged cable wastes time. The cable has no part in the shutdown: connect it after Runtime stays active, then read the channel diagnostics separately. The same driver and channel checks come up when running WinCC 7.0 PC runtime over a PROFIBUS card, so use that procedure once Runtime holds.

Why does a new project run on the same PC? #

A newly created project has no message class assigned to the message sequence report, so the print job never starts. The fact that it runs on the same PC proves the installation, license and operating system are sound and pins the fault to the copied project's configuration.

That control test is the fastest localization you have: same PC, same installation, same license, different project, different result. Spend your hours in the copied project, not in reinstalling WinCC.

What breaks in the Alarm Logging report on a new PC? #

Three things break at once: the old PC's printer and driver set is absent, so the job has no valid target; the output path or file named in the job does not exist on the new disk layout; and the stored computer name still points at the old machine.

The mechanism explains all three. Alarm Logging Runtime hands every message flagged for the sequence report to Report Runtime, which renders it as a line of a print job defined under the print jobs of Report Designer. A printer is a Windows object: the project stores a reference to it, and the computer it runs on must resolve that reference through its installed drivers and default printer. Renaming Windows does not update the WinCC computer entry, so runtime components that resolve the local server by name also fail to start cleanly. Siemens product documentation places the assignment itself in Alarm Logging, under Reports with a right-click on Add/Remove, which is where the message sequence report is enabled or cleared for a message class.

The two shutdowns map onto the first two breakages: a save-file prompt is a missing output path, and the Report Alarm Logging RT Message Sequence window with a running printer icon is a job retrying against a printer that does not resolve.

How do I fix the report job and the computer name? #

Work through six steps in order: back up the project, correct the computer entry, verify the startup list, install a default printer, repair the print job's output, and clear the report assignment where no trail is needed. Runtime then activates and stays up.

  1. Close Runtime and the WinCC Explorer, then copy the complete project folder to a backup location before changing anything. Copying while the old Runtime runs or while the local database is attached can leave archive files inconsistent with the project.
  2. In the WinCC Explorer, open Computer > Properties and make the stored computer name match the Windows computer name exactly, character for character. Confirm only one computer entry exists.
  3. On the Startup tab of the computer properties, check that Alarm Logging Runtime and Report Runtime are both in the active runtime components list.
  4. Install a printer driver on the new PC and set a default printer. A virtual file or PDF printer is enough when no physical printer attaches to the station.
  5. In Report Designer, open the print jobs, find the Alarm Logging message sequence job, and set its output to the installed printer or to a file path that exists on the new PC, or deactivate the job.
  6. In Alarm Logging, review which message classes send messages to the sequence report (Reports, right-click, Add/Remove) and clear the assignment where no trail is needed.

How do I migrate the project from WinCC 6.0 to 7.0? #

Run Project Migrator from the WinCC tools group on a copy of the project, never on the original, then repeat the report and computer-name fixes: conversion preserves the print jobs and Alarm Logging settings rather than repairing them. Install one WinCC version per PC.

A project created in WinCC 6.0 must be converted before a 7.0 installation runs it reliably, so let the migrator work on the backup copy and apply the six steps to the migrated result. Build the new PC from clean media instead of restoring a disk image from different hardware: an image carries printer, regional and path settings the project silently depends on, which is exactly how this fault starts. If a later version jump is on the roadmap, why WinCC 8.0 runtime deactivates after a V7.5 migration covers a separate cause worth ruling out before you move.

What checks confirm Runtime stays up? #

Confirm five readings: identical computer names, a working default printer, a resolvable report target, equal alarm and report line counts in a counted test, and an OK channel status with the MPI cable connected. Any mismatch tells you which link still fails.

  • Computer name: the WinCC Explorer entry and the Windows computer name read identical, character for character.
  • Default printer: Windows lists one printer as default, and a test page prints or saves.
  • Report job: the message sequence job's output resolves to an existing printer or path, or the job is deactivated.
  • Counted alarm test: equal message and output counts, as in the worked example below.
  • Channel: with the MPI cable connected, the channel diagnostics report the connection OK and tag quality turns good while Runtime stays active.

Illustrative counted test with example numbers: toggle a monitored tag 10 times over 20 s on an isolated bench. The Alarm Logging window should show 10 messages and the sequence report output 10 lines, so 10 logged minus 10 output leaves 0 lost. If the output holds 7 lines, 10 minus 7 leaves 3 messages lost between Alarm Logging and the output, which points at the report job and not at the message configuration.

Run the counted test only when the plant is in a state where test entries in its alarm record are acceptable, and mark the test messages so nobody reads them as furnace events.

Questions asked

Do I need a physical printer for the message sequence report?

No. The print job needs a resolvable target, and a virtual file or PDF printer satisfies that on a PC with no printer attached, as long as Windows has a default printer set. If no paper or file trail is required at all, deactivate the sequence print job in Report Designer, or clear its assignment for the message classes under Reports in Alarm Logging.

What are the .dcf files, and should I delete them?

The project folder can carry .dcf files left over from the previous computer, and they can stall activation while Alarm Logging is loading. The documented recovery is to close the WinCC Explorer, open the project folder in Windows Explorer, and delete the .dcf files if they are present, then open the project again. Test this on your backup copy first.

Will the Project Migrator fix the report job during conversion?

No. Conversion carries the print jobs and Alarm Logging settings over instead of repairing them, so the report output has to be corrected again on the migrated copy. Also note the limit: Project Migrator converts projects only as of WinCC V6, and versions prior to V6.0 are no longer supported for conversion.

Can I install WinCC 6.0 and 7.0 on the same PC while testing?

No. Keep one WinCC version per computer. A 7.0 installation placed over a half-configured 6.0 installation adds a second variable to a fault that already has a clear location, and you lose the one clean comparison you had: the new empty project running normally. Migrate the backup copy on a single-version PC instead.

What if Runtime still deactivates after the report fixes and migration?

Read the log files in the project's diagnostics subfolder and the Windows application event log, and note which component stops first. If an undocumented project cannot be stabilized, rebuild it from the PLC symbol table and the screen exports; a clean rebuild on a working PC is faster than chasing an inherited fault you cannot see. Keep the original copy untouched.

Keep reading

  • How-to

    How to Read WinCC Alarm Text Without the ODK

    The alarm text is already in the project's ODBC-readable databases. Read MsgNr, Date, Time and Status from MSArcLong or MSArcShort in the runtime database, match MsgNr to one record in MsMsgs in the configuration database, then resolve its populated TB references through TXTTable in the language column you need - three staged lookups, no ODK, no MSRText.dll.

    HMI and touchscreens

  • Troubleshooting

    Why WinCC Flexible Logging Fails to Create Oracle Tables

    Oracle is not among the databases tested and released for WinCC flexible, so the table-definition and insert statements the runtime generates were never validated there. The startup message covers only initialization. Archive to a released database and transfer committed records to Oracle with a separate, restart-safe service.

    HMI and touchscreens

  • Troubleshooting

    Why WinCC 7.5 Runtime Fails Under a New Windows User

    Runtime failing under a newly created Windows account while Explorer opens is a Windows security-context problem, not a WinCC project problem. Put the account in the SIMATIC HMI group, sign out fully, verify effective access to the project, and after an Admin password change update the logon identities of services and scheduled tasks.

    HMI and touchscreens