IMDTouchKnowledge BaseShop main store

Explainer

Why WinCC Downtime Monitor results do not reach internal tags

HMI and touchscreens Published 6 min read By IMDTouch engineering team

Short answer

Downtime Monitor, the WinCC V6.2 option derived from SIMATIC IT OEE DTM, stores its results in a database and has no direct writeback into WinCC internal tags. To use the results on a WinCC screen you read them back through a documented interface at a defined poll rate, and you prove that path with a staged test before building screens on it.

On this page
  1. What is Downtime Monitor and where does it keep its results?
  2. Why does the calculated value never arrive in the internal tag?
  3. Which output paths can carry the results back into WinCC?
  4. How do you decide which path to build?
  5. How do you prove the path works before building screens on it?
  6. What if the option offers no usable output at all?
  7. Questions asked

A calculated availability that never appears in the tag you connected to your screen is one of the quietest failures in a WinCC project: no alarm, no red quality flag, just a value that sits at zero while the Downtime Monitor display next to it shows the truth. The cause is architectural. Downtime Monitor, the option introduced for WinCC V6.2 and derived from the SIMATIC IT OEE DTM system, gathers data from WinCC directly and stores its results in a database. Nothing in that design writes calculated values back into WinCC internal tags, so a tag you map by hand stays empty unless you build and verify a return path. This article separates what is confirmed from what is assumed, and gives the sequence that proves or kills each candidate path.

What is Downtime Monitor and where does it keep its results? #

Downtime Monitor is a WinCC V6.2 option derived from the SIMATIC IT OEE DTM system, and it stores gathered and calculated data in a database, not in the WinCC tag database. That single fact explains your empty internal tags: the option reads from WinCC, computes downtime and OEE figures, and parks them in its own store. The data flow is one-directional by design. A screen object bound to an internal tag will show that tag's last written value, and since nothing writes it, it shows its initial value forever.

Treat three statements as confirmed and one as unconfirmed. Confirmed: the option exists for WinCC V6.2, it comes from SIMATIC IT OEE DTM, and its results live in a database. Unconfirmed: that the WinCC option exposes every interface the full SIMATIC IT product family has. Do not build an integration on the fourth statement. If your screens need OEE-style figures and you want the underlying math clear, the definitions in calculating OEE correctly: downtime vs speed losses are worth reading before you pick which results to transfer.

Why does the calculated value never arrive in the internal tag? #

Because there is no direct writeback: the option was never documented to write its calculations into WinCC internal tags. The misunderstanding usually starts with the data-gathering direction. Downtime Monitor reads WinCC data directly, so engineers assume the pipe works both ways. It does not. The confirmed write target of the option is its database, and a WinCC internal tag is only updated by something that explicitly writes it: a script, a driver connection, an OPC read configured in WinCC, or operator input.

So the symptom is not a fault to repair but a missing link to build. Chasing the tag configuration, the tag group cycle or the screen binding wastes time, because those parts are healthy; they simply have no source. The general method of separating driver, tag and screen faults is covered in is it the driver, the tag or the screen, but in this case the diagnosis is already settled: the source does not exist yet.

Which output paths can carry the results back into WinCC? #

Three candidate paths exist, and only the option's own documentation can confirm which ones your installation actually provides. The candidates, in order of preference:

  1. An OPC interface on the option. SIMATIC IT software usually communicates through OPC, and your IT group likely already handles that data elsewhere. If the WinCC Downtime Monitor option exposes an OPC server with its calculated values as readable items, WinCC connects to it as an OPC client and maps those items to internal or external tags with a defined acquisition cycle.
  2. A documented database read. The results are stored in a database; if the option's documentation names a supported access method and schema, a WinCC script or a small connector can poll the result tables on a timer and write the values into internal tags.
  3. Rebuild the math in WinCC. The option consumes raw signals that originate in WinCC anyway. When downtime and availability are computed from machine-run signals, the same computation can run in WinCC scripting on the original tags, with no cross-software transfer at all.

The one path that does not exist is the direct writeback you were looking for. There is no tag-mapping function and no command that pushes a Downtime Monitor result into a WinCC tag, because no documentation describes one.

How do you decide which path to build? #

Decide with two numbers you set yourself: how many values you need on screen, and how fresh they must be. Write down the list of results WinCC must receive and the required update rate for each; these requirements determine whether periodic transfer is acceptable at all. As a worked example, take a line where you want availability and downtime minutes for 4 machine states on one overview screen: that is 8 values, and an update every 10 seconds is acceptable because an operator reacts in minutes, not milliseconds. Polling 8 items on a 10-second cycle is a trivial load for either an OPC read or a database query, so both paths 1 and 2 stay open on capacity grounds. Had the requirement been 500 values at 1-second updates, the database path would be ruled out by query load and the choice would narrow to OPC or path 3.

With the requirement fixed, check the installed option's documentation on the delivery DVD for an output interface. If it documents OPC items, choose path 1: your IT group's existing OPC skills apply directly. If it documents only database storage with a supported access method, choose path 2. If it documents neither usable output, choose path 3 and raise the missing interface with the vendor, quoting the WinCC version, the option, your value list, the data volume and the poll rate.

How do you prove the path works before building screens on it? #

Verify in three stages, each with a pass condition, on a test setup rather than the production line:

  1. Source test: change one known Downtime Monitor result, for example by forcing a test machine state, and confirm the exposed value changes at the chosen interface, whether that is an OPC item read with a client browser or a query against the documented tables. If the value does not change there, stop: the problem is inside the option, not in WinCC.
  2. Transfer test: confirm the corresponding WinCC tag receives the same value within your required update interval. With the 8-value, 10-second example, watch the tag in the WinCC tag diagnostics and time the delay from source change to tag change; anything under 10 seconds passes, anything over fails the requirement even though data flows.
  3. Staleness test: interrupt the interface, for example by stopping the OPC server or blocking the database connection, and watch the screen. WinCC must not present the old value as current: either the quality goes bad or your script writes a defined invalid marker on timeout. A screen that keeps showing a plausible stale availability after the source dies is worse than a blank field.

Only after all three pass do you bind screen objects to the tags and release the change.

What if the option offers no usable output at all? #

Then the honest answer to your original question is that the direct route does not exist, and you commit to path 3 or to escalation. Escalate through official support with the WinCC version, the Downtime Monitor option details, the list of required values, the data volume and the polling requirement; that package turns a vague question into an answerable one. In parallel, evaluate rebuilding the figures in WinCC: the machine-run signals the option consumes are already WinCC data, and downtime accumulation in a script with timestamps per state gives you results that live in internal tags natively, with no transfer to verify at all. For many lines that is the cleaner architecture, and it removes the database-in-the-middle problem permanently.

Questions asked

Does WinCC V6.2 Downtime Monitor write its calculations directly into internal tags?

No documented writeback function exists. The option stores gathered and calculated data in its own database, and the supported route into WinCC tags is a read through whatever interface the installed option documents, configured at a poll rate you define.

Can our IT team take the results through OPC because SIMATIC IT usually uses OPC?

Only if the installed WinCC Downtime Monitor option actually exposes an OPC server with the calculated values as readable items. The SIMATIC IT family's use of OPC is not proof that this option exposes one, so confirm with an OPC client browser before designing around it.

Can WinCC read the Downtime Monitor database tables directly?

Only through the access method the option's documentation names. The fact that data is stored in a database gives you no schema and no supported read path; direct table access without documentation works until a version changes the schema.

What do we do when the option exposes no usable output at all?

Raise it with the vendor with the WinCC version, option name, the list of values you need, their data volume and the required poll rate. In parallel, check whether the raw signals Downtime Monitor consumes are available as ordinary WinCC tags, because downtime math can then be rebuilt in WinCC scripting.

Keep reading

  • Explainer

    Connecting WinCC to an external database: direct options

    Yes — classic WinCC on a PC runtime reaches an external database by itself: a VBScript or C script over ODBC, the C-API, or OPC when the source publishes tags. Add a second application only when the runtime cannot open the connection or a measured retrieval misses the required cycle.

    HMI and touchscreens

  • How-to

    Monitoring a PLC Lifebit Heartbeat in WinCC With an Alarm

    Build the stale-data alarm as a cyclic watchdog script: a 5 s low / 5 s high lifebit gives an edge every 5 s, so alarm when no edge is seen for 15 s. Evaluate on a time trigger, because a change-triggered script stops exactly when the data stops, and require a good-quality edge to clear.

    HMI and touchscreens

  • Explainer

    Unified Comfort panel OPC UA client and server roles in V17

    From V17, a Unified Comfort Panel offers both an OPC UA server and an OPC UA Data Access client, so it exchanges process data with a third-party controller in either direction. Each connection pairs one server endpoint with one client; two clients cannot talk to each other. Unified PC Runtime adds the connection to OPC UA servers in V17; pick the panel's role from what the controller's specification says it provides.

    HMI and touchscreens

Getting the HMIGXO Family Into the Vijeo Designer Catalog