Troubleshooting
When WinCC OPC UA browsing works but runtime gets no values
Short answer
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.
On this page
- Why does WinCC OPC UA browsing work while runtime shows no values?
- What does a successful browse actually prove?
- Which boundaries do you test, and in what order?
- How do you prove the bridge has live upstream values?
- Why does runtime fail when the design-time browse succeeds?
- What must the endpoint URL, security policy and user identity match?
- How do you confirm each tag points at the right node?
- How do you prove live updates actually reach the runtime?
- Questions asked
Browsing the tags through the OPC UA bridge and installing every certificate proved exactly one thing: WinCC could read the bridge's address space. It proves nothing about what happens at runtime, which is why values never appear. In this installation WinCC 8.1 does not support OPC XML-DA, so the Softing dataFEED bridge sits between the XML-DA data source and WinCC, and the link now has four boundaries: upstream data into the bridge, the OPC UA session, the tag mapping, and runtime updates. Test them in order with one known item; the first boundary that fails names the fix.
Why does WinCC OPC UA browsing work while runtime shows no values? #
Browsing proves only that WinCC reached the bridge's address space; it says nothing about whether the runtime session is trusted, whether the identity may read, whether the tag points at the right node, or whether subscriptions deliver — so commission four boundaries separately.
The browse in the engineering tool and the value update in runtime are different operations with different requirements. OPC UA, standardized as IEC 62541, separates address-space access from data access: a browse returns node metadata, a read returns one value now, and a subscription delivers changes later. Success at one operation carries no evidence about the others. The certificates installed for this project satisfied the browse; whether the same trust, permission and identity hold for the runtime session is a separate question, and it is where most of these cases end.
What does a successful browse actually prove? #
A successful browse proves the endpoint URL was reachable, a security policy such as Basic256Sha256 or None was negotiated, both application certificates were exchanged and trusted, and the user identity was accepted — for that one operation, in the process that ran it.
Keep that list short, because it is the whole point. Under the OPC UA security model, trust is granted per application certificate: the server keeps a trust list, and each client application presents its own certificate when the session opens. The certificate trusted for the design-time browse is not automatically the certificate the runtime presents, and the identity accepted for browsing may hold browse rights without read rights on the items. A browse also exercises none of the subscription machinery, so delivery behavior stays untested until you test it.
Which boundaries do you test, and in what order? #
Test four boundaries in a fixed order — upstream data into the bridge, the OPC UA session from WinCC, the tag mapping, then runtime updates — using one known test item, and stop at the first boundary that fails.
Work the list once, in this order, and do not move past a failure:
- Pick one reference item: a read-only measurement or a bench test signal whose change you can see at the source. Never prove a link by writing to a live actuator; a read-only value or an isolated bench signal keeps the test safe.
- Prove upstream: the bridge's own diagnostics must show the XML-DA connection active and the reference item carrying usable quality while its value tracks the source.
- Prove the session: the WinCC connection must establish at runtime under a certificate, security policy and user identity the bridge actually accepts.
- Prove the mapping: one WinCC tag bound to the exact node must return a Good value on a manual read.
- Prove updates: a change at the source must reach the screen within the acquisition delay you measured, not the one you hoped for.
Stop at the first boundary that fails and correct it there. Re-issuing certificates because a screen does not refresh destroys the evidence you have already collected.
How do you prove the bridge has live upstream values? #
Open the bridge's own diagnostics first: the upstream XML-DA connection must be active and the reference item must show usable quality and a value that tracks an approved change at the source before any WinCC-side work makes sense.
dataFEED is two communication boundaries in one box: an upstream connection to the data provider and a downstream OPC UA server that WinCC sees. A fully browsable downstream address space can exist while upstream acquisition is dead, because the tree is a catalog, not a promise of live data.
In the bridge's diagnostic view, check the upstream connection status and the reference item's quality, then trigger an approved change at the source and compare value against value. If the source supplies timestamps, compare clocks first: a fixed offset between source time and wall time is a configuration fact, not a communication fault. Decision: if the bridge itself shows no live upstream value, no WinCC-side change can fix the screen, so fix the upstream boundary first.
Why does runtime fail when the design-time browse succeeds? #
The engineering browse and the runtime client are different sessions with no shared proof: they can present different application certificates, run under different user identities and use different trust stores, so a trust decision made for the design-time browse does not bind the runtime session.
The browse that succeeded ran in the engineering environment, and nothing in it proves the runtime session shares its process, account or certificate store. That asymmetry is the classic shape of this fault: browse works, values never come.
Compare the application certificate the bridge logged for the browse against the certificate the runtime session presents; if they differ, the server must trust the runtime certificate as well. Check the identity the same way: the runtime login needs read access to the item, and an accepted certificate grants no item permissions by itself. If connection establishment fails, record the exact diagnostic text before changing any setting. The text names the condition, whether address, trust, certificate validity or authentication, and one targeted change beats a rebuild.
What must the endpoint URL, security policy and user identity match? #
The WinCC connection must use the endpoint URL the bridge actually serves — including the port when it is not the default 4840 — a security policy the bridge offers, and a user identity that holds read permission on the test item.
| Setting on the WinCC connection | Compare against | Pass condition |
|---|---|---|
| Endpoint URL and port | The endpoint the bridge actually serves | The URL names the bridge's address and real port, for example opc.tcp://192.168.1.50:4840 on the standard port |
| Security policy | The policies that endpoint offers | Both sides accept one common policy, such as Basic256Sha256 or None |
| Application certificate | The bridge's trust list | The runtime client's certificate is present and valid |
| User identity | The permissions on the reference item | The runtime identity can read the test item |
A server moved off the standard port is the quiet failure here: a URL without a port reaches only a server on 4840, and the symptom looks like a dead session rather than a wrong address. Decision: copy the URL, policy and identity from the bridge's endpoint configuration, not from whatever the browse used.
How do you confirm each tag points at the right node? #
Identify the item by its NodeId and namespace, never by its display name: build one test tag through the WinCC connection, read it, and compare the stored item address against the bridge's current identifier after any server reconfiguration.
A display name is a label, not an identity; only the NodeId with its namespace identifies the item. Build the first test around one external WinCC tag rather than a batch import: bind it, read it, and read the quality with it.
If the bridge's address space was reconfigured at any point, compare the tag's stored item address against the server's current identifier. A renumbered node leaves the tag pointing at an address the server no longer serves, and the read returns a bad status instead of a value. The reverse failure, where OPC UA tag browsing fails and manual NodeIds work, shows the same identity rule from the other side.
Sort the read result by its status: an unresolved item points at mapping, a denied read at permissions, a type error at the tag's data type or conversion. A subscription callback carries no label at all, so tracing a delivered change back to its item is the same identity problem; resolving a NodeId from an OPC UA subscription callback walks through it.
How do you prove live updates actually reach the runtime? #
A Good read at startup proves nothing about continuing delivery: toggle the test input and watch the source, the bridge and the WinCC screen in sequence, waiting out the worst-case latency of sampling interval plus publishing interval before you declare the update path failed.
A read is a point-in-time result; continuing updates require active acquisition. In a subscription, the server samples the item at the sampling interval and delivers notifications at the publishing interval, so the publishing interval sets the delivery cadence and slower sampling only limits what there is to deliver.
Worked example with example settings: the bridge samples the reference item every 1000 ms and publishes every 2000 ms, while the WinCC tag cycle is 1 s. A change sampled just after a publish waits one full publishing interval, so the worst-case lag from source to screen is 1000 ms + 2000 ms = 3000 ms, and a faster tag cycle cannot shorten it. Wait out that window before declaring the path failed: a value arriving 2.5 s after the toggle in this configuration is healthy, not broken.
Sort the residue by where the change stops. If the bridge updates but the tag does not, the fault is runtime acquisition: check the item's quality in the bridge and the tag's acquisition status in WinCC. If the tag updates but the screen does not, the fault is display binding, and the split in Is It the Driver, the Tag or the Screen? Diagnosing HMI Values separates acquisition from display cleanly. Subscription delivery has classic fault modes of its own; fixing OPC DA subscription callback faults in a WinCC HMI client covers the DA-side equivalent.
When everything passes, record the endpoint URL, security policy, runtime certificate, user identity, reference item, data type and acquisition settings as the commissioning baseline, and change one setting at a time from then on.
Questions asked
Can I check the OPC UA server without touching WinCC at all?
Yes. Point a generic OPC UA test client at the same endpoint URL and read and subscribe to the reference item. If the test client sees live values, the bridge and its upstream are healthy and the fault sits in the WinCC session, the tag mapping or the acquisition cycle. If the test client also sees nothing, stop working on WinCC entirely and fix the bridge side first.
Does one trusted certificate cover every client application on the same computer?
No. OPC UA trust is granted per application certificate: each client program presents its own application instance certificate, and the server's trust list must accept that exact certificate. A certificate accepted for a design-time tool says nothing about the runtime application on the same computer. Regenerating a certificate changes its identity too, so the server has to trust the new one before any session establishes.
What should the first successful manual read look like?
Usable quality on a Good read means session, permission and item identity all worked at once. An unknown-item status points at the tag mapping, an access-denied status points at identity and permissions, and a type mismatch points at the tag's data type or conversion. Read the exact status text the driver reports before changing any setting, because it names the boundary that failed.
Does the same method apply if the PLC serves OPC UA directly?
Yes, with one boundary removed. A controller's built-in OPC UA server replaces the bridge, so the upstream check disappears, but session trust, tag identity and subscription delivery are proven in the same order with the same single-item method. On controllers with optimized data blocks, items are addressed symbolically rather than by absolute memory addresses, so pick tags from the server's symbolic view.