IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC V15 runtime shows gray OPC UA tag values

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

A gray field with a yellow warning symbol means the runtime tag carries bad quality, so WinCC V15 has no usable value for it. Diagnose three separate levels — engineering browsing, channel activity, per-tag acquisition — by reading the quality code, the OPC UA channel log and the rejected certificate folder, then compare endpoint, security and identity against an independent client. In the reported case, setting the server's IP address instead of its hostname in the server configuration restored values.

On this page
  1. What a gray field with a yellow warning symbol means
  2. Work the three levels in order
  3. Read the tag quality and status
  4. Match the channel log to a timed acquisition
  5. Check the certificate folders
  6. Compare an independent client on the same host
  7. Fix the name resolution behind the connection
  8. Worked example: the migrated project
  9. Questions asked

Gray fields with a yellow warning symbol in WinCC V15 runtime mean the tag has bad quality: runtime holds no usable value for that tag, and the screen is displaying exactly what it was given. It is not a graphics fault. Browsing, channel activity and per-tag acquisition are three separate levels, and this symptom fails only the third — engineering browses the OPC UA servers and assigns variables, channel diagnosis shows the connection active, an independent client on the same host reads values, and runtime still shows gray. Work the levels in order: read the tag's quality code and status, match the OPC UA channel log to a timed acquisition, check the certificate folders, then compare endpoint, security and identity against that independent client. In the reported migration from WinCC V7.4, the change that restored values was setting the server's IP address in the server configuration instead of its hostname reference.

What a gray field with a yellow warning symbol means #

Runtime renders a tag as value plus quality. Gray with the yellow exclamation mark is how it displays a value whose quality says unusable; it refuses to draw a stale or doubtful number instead. That makes the quality code the first thing to read, because the code separates a communication or access failure from a display or tag-assignment problem.

The documented quality code reflects the lowest quality present when several conditions occur at the same time, so the single code in front of you points at the dominant fault first. Fix that condition, read the code again, and expect a second one to surface if it was hiding behind the first.

Decision: read quality and status for the exact affected tag before you touch connection security, certificates or tag configuration.

Work the three levels in order #

  • Engineering browsing — TIA Portal browses the server's address space and assigns nodes to variables. A pass proves the engineering client reaches the server; it proves nothing about runtime acquisition. When browsing itself fails, that is a different fault, covered in the article on OPC UA tag browsing that fails while manual NodeIds work.
  • Channel activity — Channel Diagnosis lists the OPC UA server as active. A pass proves the channel holds a connection. It does not prove that individual tag reads succeed: a session can live while single-node operations fail.
  • Per-tag acquisition — the runtime tag's value and quality. This is the level that fails when fields go gray, and every check below works at this level.

A pass at the first two levels with a fail at the third is the signature of this symptom. The server is reachable and the connection exists, so the difference sits in what the runtime client asks for: the node, its identity, the security it offers or the address it resolves.

Read the tag quality and status #

Pick one gray field and find the external tag behind it. Record its connection, its server node and its data type, and confirm the screen object references the migrated external tag rather than a similarly named internal or obsolete one — migrations leave stale tags behind more often than a connection setting changes.

Read value, status and quality together with the StateQS function family; the WinCC help documents one variant per data type under quality codes of HMI tags. Put the readout on a diagnostic display kept separate from the process screen, because a diagnostic that shows only the formatted value hides the quality you are judging.

Decision: a quality reporting failed communication or access sends you to the channel log. Good value and good quality with the field still gray sends you to the object's tag assignment, formatting and display configuration — the OPC UA connection is then not the fault.

Match the channel log to a timed acquisition #

Note the time when a value fails, watch the affected display until the gray field and warning symbol reappear, then open the OPC UA channel log in the WinCC diagnostics directory and match the timestamp. Capture the complete entry with its connection context and any error number; a screenshot of the runtime warning alone omits the operation that failed.

In the reported installations the log gave no more than an unspecific error and an entry saying the server threw an exception. Neither names a root cause. Read the lines before a top-level exception, because a more informative entry often precedes it, and keep the full context for the comparison steps.

Decision: a hostname or endpoint reference in the log sends you to the address checks. A certificate rejection sends you to the trust checks. A node or access refusal sends you to the client comparison.

Check the certificate folders #

OPC UA secures the session with certificates that each side accepts on first contact. A certificate the runtime rejects is stored in the rejected\certs folder, and trusting it means moving it to trusted\certs, the documented handling for OPC UA in RT Professional. Look there before re-creating trust by hand.

This is the same handshake that fails as a trust loop on a Unified Comfort panel when each side rejects the other's certificate.

Decision: the server's certificate sits in rejected\certs — move it to trusted\certs, re-establish the runtime connection and read the tag quality again. The folder is empty and acquisition still fails — move on to the client comparison; do not strip security settings as a fix, because in the reported case lowering them changed nothing.

Compare an independent client on the same host #

Run an independent client such as OPC Scout or UA Expert on the runtime computer and read the exact node the affected HMI tag uses, not a similar one. UA Expert is tolerant in certificate handling and automates much of the connection setup, which strips the comparison down to the settings runtime uses. Diagnose with read operations only: a write from any client, test client included, changes a live process value.

If the independent client fails too, the fault is shared — the server, the network path or the endpoint itself — and no WinCC setting will repair it. If it reads, compare five things between that client and runtime: the endpoint address each actually connects to, the security policy and message security, the certificate store, the user identity, and the name resolution path behind the address. Match the node and data type as well; a successful read of a different node proves nothing about the failing tag.

Decision: an independent client reading the same node on the same host while runtime stays gray puts the whole difference inside the runtime client's connection settings. The server is healthy; stop testing it.

Fix the name resolution behind the connection #

An OPC UA client meets the server address twice: once in the connection it configured and once in the endpoint description the server returns, and a client can accept one while failing on the other. That is why a ping or a single address test looks clean while acquisition fails. The endpoint-hostname form of this failure and its resolution on a controller's server are worked through in page on resolving OPC UA endpoint URL hostname errors on an S7-1500.

In the reported case the Siemens OPC client blocked on resolving the server's name: the server configuration referenced the server by hostname rather than by IP address. Setting the IP address in the server configuration instead of the name reference restored values in runtime, while OPC Scout had read correctly throughout because it reached the server by a different resolution path.

Decision: browse passes, the channel is active, an independent client reads the same node on the same host, the quality code stays bad and the log stays generic — replace the server's hostname reference with its IP address in the server configuration and retest. Any change to name resolution on the host, the server or the network moves this result; keep one address form as the reference.

Worked example: the migrated project #

  1. Environment: two WinCC V15 Professional runtime servers on Windows Server 2016 with SIMATIC NET installed, several controllers with OPC UA servers enabled, and a project migrated from WinCC V7.4, where the same OPC UA values read correctly.
  2. Level 1: TIA Portal browsed both servers and assigned variables without error — the engineering path was intact.
  3. Level 2: Channel Diagnosis listed the polled server as active — the channel held its connection.
  4. Independent client: OPC Scout read values from the server computer — the server and its value path worked.
  5. Level 3: runtime fields displayed gray with the yellow warning symbol — per-tag acquisition returned bad quality.
  6. Comparison: the only failing client was the runtime client, and its channel log held nothing beyond an unspecific error and an entry reporting the server threw an exception.
  7. Address check: the server configuration referenced the server by hostname, and the runtime client stalled on that name resolution.
  8. Fix and verification: with the IP address set in the server configuration instead of the name reference, the runtime fields displayed values with good quality, confirmed on the diagnostic display and again after a runtime restart.

Questions asked

Does gray with a yellow warning symbol mean the screen object is faulty?

No. Runtime renders a tag as value plus quality, and it refuses to draw a value whose quality says unusable rather than showing a stale number. The object, its formatting and its animations are usually intact. Read the tag's quality code and status first; only when quality reads good while the field stays gray does the object's tag assignment or formatting become the suspect.

Why can OPC Scout or UA Expert read values that runtime cannot?

Each client brings its own endpoint address, security policy, certificate store, user identity and name-resolution path. A test client reading the same node proves the server and its value path work; it does not validate the runtime configuration. Compare those five settings between the working client and runtime, and expect the difference — not the server — to be the fault.

Should I disable the firewall or lower OPC UA security to get values back?

In the reported case none of that worked: disabling the firewall, lowering the security settings and inserting certificates manually all left the same gray fields. Lower the security policy only as a controlled test to prove or clear the security layer, then restore the original settings. The change that restored values was in the server's address configuration, not in security.

Does this apply only to a project migrated from WinCC V7.4?

No. The three diagnostic levels, the quality codes and the certificate folders behave the same on a project created directly in TIA Portal V15. Migration matters only because the earlier project proves the servers were reachable with a working value path before. On any project, the same gray fields appear whenever the runtime client's address, security or identity differs from the client that succeeds. Verify the result after a runtime restart, because certificates and addresses apply when the connection is established.

Keep reading

  • Troubleshooting

    When WinCC OPC UA browsing works but runtime gets no values

    Successful tag browsing and installed certificates prove only that WinCC reached the bridge's address space. Commission the link as four boundaries — upstream data into the bridge, the OPC UA session, the tag mapping, runtime updates — with one known test item, and stop at the first boundary that fails; it names the fix.

    HMI and touchscreens

  • Explainer

    Why WinCC Runtime Advanced reaches an FX5U only through OPC

    WinCC Runtime Advanced has no Mitsubishi driver, so an FX5U is reached in two legs: an OPC server reads the PLC and Runtime Advanced connects as an OPC client. The deciding check is that the server's exact interface, OPC DA or OPC UA, is one the installed Runtime release supports; the FX5-OPC CPU module serves UA only.

    HMI and touchscreens

  • Troubleshooting

    Why some OPC UA tags disappear on a Comfort Panel server

    When a Comfort Panel runs as an OPC UA server, tags that vanish from the address space trace to four causes: a panel image older than V15.1.0.4, a client subscription over the documented 30-tag per-session ceiling, exposed tags left on On-demand acquisition, and a case-sensitive mismatch in the symbolic tag name. Read the image build, split the subscription, set Cyclic continuous and match names character for character.

    HMI and touchscreens

Why WinCC Shows ### on a SIMOTION C240 OPC Link