IMDTouchKnowledge BaseShop main store

Troubleshooting

Why some OPC UA tags disappear on a Comfort Panel server

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

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.

On this page
  1. What the failure looks like
  2. Read the image build before touching the project
  3. Keep one session inside the per-session ceiling
  4. Set every published tag to Cyclic continuous
  5. Match the symbolic name character for character
  6. Timing the acquisition cycle for a MES that reads one tag per second
  7. Work the checks in this order
  8. The decision for each case
  9. Questions asked

Tags that drop out of a Comfort Panel's OPC UA address space are not a flaky network and not a lost project. Four causes produce exactly this symptom: a panel image that predates the tag-serving corrections, a client subscription above the per-session ceiling, exposed tags left on On-demand acquisition, and a case-sensitive mismatch in the symbolic tag name. Work them in that order — image build first, client session second, acquisition mode third, name match last — and every tag the project contains comes back and stays.

What the failure looks like #

On a TP1200 Comfort or TP900 Comfort running as the OPC UA server, the pattern is consistent: part of the WinCC RT Comfort Panel.Tags folder serves values all day and the rest reports missing. A tag reads correctly on one call and returns Bad_NodeIdUnknown — the OPC UA status code from IEC 62541 for a NodeId the server does not recognize — on the next. The client log puts a name on it:

The tag "DbLog_LogData_Datum" doesn't exist on folder "WinCC RT Comfort Panel.Tags"

The same tag sits in the TIA Portal tag table and browses fine against the physical panel and against the simulator on the engineering station. One day it works, the next it does not, with no project change in between. The four causes stack: an old image makes the browse tree itself unreliable, the ceiling cuts off whatever the client subscribes beyond it, On-demand tags serve stale or empty values, and a case difference makes the client ask for a tag the server never published. If your tags never vanish but the values stand still, that is a different fault — see when WinCC OPC UA browsing works but runtime gets no values.

Read the image build before touching the project #

The panel image and the project load separately. A project compiled in TIA Portal V15.1 Update 3 runs on a panel that still carries image V15.1.0.0, because the download writes the compiled project only — the image build moves when you run an OS update and at no other time.

Read the build string on the panel under Control Panel > System > About; the V15.01.00.03_01.01 string read off a symptomatic panel sits in the same camp. TIA Portal V15.1 Update 4, released in December 2019, delivers image V15.1.0.4, which carries the OPC UA and tag-handling corrections for this exact behavior: browse results that differ between calls, tags present in the project missing from the tree, reads that succeed once and return Bad_NodeIdUnknown the next time. Any build older than that is the first suspect, and the OS update is the fix for the shedding browse tree. The update reimages the panel and wipes its settings, so back up the project archive and panel configuration and run it in a planned stop with the machine at a safe state. What you compile and what the panel runs are two separate versions to reconcile — matching an HMI panel image to its TIA Portal project version covers that pairing.

Keep one session inside the per-session ceiling #

The panel's OPC UA server accepts at most 30 tags accessed simultaneously per session. The limit is documented for the panel's server, enforced inside the runtime and not a setting — no project value raises it. A client that opens one subscription across the whole Tags folder trips it immediately, and the signature matches the field symptom: the first items serve values, the surplus reports missing.

Two rules keep a client clear: split the tag list into subscriptions of 30 items or fewer, with 25 as the working size so later additions fit, and keep one session to the panel rather than several parallel ones, so the count you measured is the count in force. A client that reads serially, one tag at a time, stays far under the ceiling; tags that still vanish under that pattern point at the image or the acquisition mode instead.

Set every published tag to Cyclic continuous #

The acquisition mode is relevant; that was the open question, and the answer is yes. The server publishes what the tag list holds. An On-demand tag is fetched from the PLC only when a screen element needs it, so between screen updates the server has nothing fresh to serve and an external read returns stale or empty data even though the tag exists and the name matches. Cyclic on use polls only while its screen is open, no better for a client reading around the clock. Cyclic continuous polls the PLC at the configured cycle and keeps the value current, which is what an external client needs.

Acquisition mode What WinCC does What an OPC UA read gets For an external client
On demand Fetches the PLC value only when a screen element calls for the tag Stale or empty between screen updates Never
Cyclic continuous Polls the PLC at the set cycle and keeps the value current The latest cycle's value, every read Required
Cyclic on use Polls only while its screen is active Nothing fresh once the screen closes Never

Set it in the tag's properties: Acquisition mode to Cyclic continuous and the acquisition cycle per the worked example below. The same cached-value mechanics bite scripts on the panel, which is its own debugging story — why SmartTags returns the cached value in a Comfort panel script.

Match the symbolic name character for character #

The fourth cause is the cheapest to miss. The server publishes tags by their symbolic names, and some client stacks compare NodeIds case-sensitively. To such a client, DbLog_LogData_Datum, dbLog_LogData_Datum and DBLOG_LOGDATA_DATUM are three different tags while the panel publishes one, so requests for the other two come back missing. A MES driver that loaded tag names from an earlier project revision or a spreadsheet export mismatches this way with no change on the panel at all.

Verify by browsing the folder in OPC Scout V10, copying the published NodeId and comparing it character for character against the name in the TIA Portal tag table, case included; correct whichever side is wrong and redeploy. Keep names to ASCII letters, digits and underscore, start them with a letter, avoid spaces and special characters because clients URL-encode those differently, and stay well inside the documented 128-character address length. When browsing fails outright while manual NodeIds still work, that variant is its own fault — when OPC UA tag browsing fails and manual NodeIds work.

Timing the acquisition cycle for a MES that reads one tag per second #

Inputs. The client interval: one tag read each second, so a tag is revisited every 1 s — the production rate in the failure case. The margin: two refreshes per client interval, the serving margin this article commits to for a cached value feeding a polling reader.

Rule. The tag's acquisition cycle must expire at least twice between two reads of the same tag, so the panel never serves a value older than one cycle when the read arrives.

Arithmetic. 1 s / 2 = 0.5 s = 500 ms. Check: at a 500 ms cycle, 1 s / 0.5 s = 2 refreshes land in every client interval.

Result. Set Acquisition mode to Cyclic continuous with an acquisition cycle of 500 ms, a selectable cycle in the tag's properties.

Decision. Any tag an external client reads runs Cyclic continuous with a cycle of at most half that client's read interval — 500 ms for the one-second case. If the client reads faster, halve the cycle with it; a slower client can run a slower cycle by the same rule.

Work the checks in this order #

  1. Read the image build on the panel under Control Panel > System > About. Anything below the corrected build gets the OS update first, with the archive and panel settings backed up.
  2. Note the TIA Portal service pack and update level on the engineering station, so you know which image your update level delivers.
  3. Count the items the client monitors in one session. Above the per-session ceiling, split the list into smaller subscriptions and drop parallel sessions.
  4. Filter the tag table by acquisition mode, convert every On-demand tag an external client reads to Cyclic continuous, and set the cycle from the worked example.
  5. Browse the failing tags in OPC Scout V10 and compare each published name with the tag table, character for character.
  6. Rebuild all and redeploy after each change, then watch one full read cycle from the client before the machine returns to production.

The decision for each case #

  • Browse tree sheds tags and reads come and go on a build below V15.1.0.4: run the OS update; the tree stabilizes.
  • Some tags serve and the rest report missing while the client monitors above the per-session ceiling: split the subscriptions and keep one session.
  • Tag exists, name matches, value stale or empty: set Cyclic continuous with the cycle from the worked example.
  • OPC Scout V10 shows the tag and the client insists it does not exist: fix the name match case for case on whichever side carries the error, and redeploy.

Questions asked

How many tags can one OPC UA session read from a Comfort Panel at once?

Thirty, accessed simultaneously per session. The ceiling is enforced inside the panel runtime and is not a configurable setting, so no project value raises it. A client that subscribes to more items sees the surplus report as missing, which reads exactly like tags vanishing from the address space. Split the tag list into subscriptions at or below the ceiling and keep one session to the panel.

Does downloading a new project update the panel image too?

No. A download writes only your compiled project; the image build stays at whatever the panel already runs until you perform an OS update from the engineering station. Check the build string on the panel first, because a current project can sit on an image older than V15.1.0.4 that carries the tag-serving defects. Back up the archive and panel settings before the update, since the update wipes them.

OPC Scout V10 shows the tag but the MES still reports it missing. Why?

That points at the name comparison. Some client stacks match symbolic names case-sensitively, so DbLog_LogData_Datum and dbLog_LogData_Datum are different tags to the client while the panel publishes one of them. Copy the NodeId from OPC Scout V10 and compare it character for character with the name in the TIA Portal tag table, then correct whichever side carries the mismatch.

Can certificate problems make tags disappear from the address space?

No. The failure case ran the server without any certificate at all and the tags still came and went, so certificate handling is not what removes nodes from the browse tree. Leave certificates out of the diagnosis and check the image build, the per-session item count, the acquisition mode and the symbolic-name match, in that order.

Keep reading

  • 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

  • How-to

    Collecting Serial PLC Data Through Weintek Remote HMI Panels

    Yes. Keep each MT8051iP or MT8071iP on its serial PLC, add every panel by IP in the cMT EasyBuilder Pro project as a remote HMI with a remote PLC behind it, read the Omron or Modbus addresses in their native notation, and expose those tags through the cMT OPC UA server to the MES. Debug the four hops outward from the machine.

    HMI and touchscreens

  • Troubleshooting

    When OPC UA tag browsing fails and manual NodeIds work

    A connected OPC UA endpoint and a populated browse tree are different results. When a server exposes process data only through explicit addressing, browse returns nothing while the tags remain readable: enter the NodeId by hand with the string identifier designator and the server's own namespace URI, then verify value, quality and update rate on the client.

    HMI and touchscreens

What USB stick size and file system a TP1500 Comfort panel accepts