IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC Professional OPC Data Access Fails Despite DCOM Settings

HMI and touchscreens Published 7 min read

Short answer

Your PLC reads prove only that WinCC Professional acts as an OPC client. Matrikon reading WinCC needs the opposite direction: the WinCC OPC server activated and covered by the Runtime Professional license, live tags over OPC DA and archives over OPC HDA, verified locally before any DCOM change.

On this page
  1. The working connection proves the wrong role
  2. DA carries live values, HDA carries stored records
  3. License and activation on the WinCC side
  4. Prove the server locally before touching DCOM
  5. Classify the failure by the operation that fails
  6. Remote test: identity, permissions and callbacks
  7. Read the archive, or start collecting a new one
  8. The decision for your case
  9. Questions asked

Matrikon cannot read your WinCC Professional 15.1 runtime because the connection that works and the connection that fails are two different OPC roles. Pulling live values from the PLC proves WinCC Professional is a working OPC client toward the PLC; it says nothing about the server side that Matrikon has to connect to. Work the failure in this order: confirm the WinCC OPC server is installed, started and covered by the WinCC Runtime Professional license; decide whether Matrikon consumes live tags over OPC Data Access (DA) or stored records over OPC Historical Data Access (HDA); prove the read with a client on the WinCC computer itself; then repeat it from the Matrikon computer and tune DCOM last.

The working connection proves the wrong role #

An OPC server exposes data; an OPC client requests it. Your PLC link runs client-side inside WinCC Professional, the same pattern as reading raw PLC tags as diagnostics in WinCC over OPC. The missing Matrikon link runs the other way: WinCC must expose, Matrikon must request. Adding HMI connections in the project configures WinCC as a client toward other data sources; it publishes nothing to anyone. Who owns the data decides the direction, the same question that settles UA links between panels and controllers in HMI OPC UA server vs client: which direction works.

Result you need Arrangement Proof that it works
Live PLC values in WinCC WinCC as OPC client to the PLC server Value arrives with good quality and tracks the process
Live WinCC tags in Matrikon Matrikon client to the WinCC DA server A known runtime tag resolves and returns its value
WinCC writing to another server WinCC as client to that server The configured item accepts the write
Stored WinCC records in Matrikon History-capable client to a history-capable WinCC interface Timestamped records return for a chosen interval

Write down the exact Matrikon product, the interface it speaks (DA, HDA or UA), the target computer and the data owner before changing either application again.

DA carries live values, HDA carries stored records #

OPC Data Access exchanges the current value of an item together with a quality code and a timestamp. OPC Historical Data Access returns values that were already stored, over a requested time interval. A DA timestamp tells you when the current value was produced; it does not turn the tag into an archive. Both classic interfaces ride on Windows COM/DCOM, which is why DCOM appears in every guide, but DCOM only makes an installed interface reachable from another computer. It cannot add history capability to a live-data interface, and it cannot carry a server that was never started. Where history rides on COM, interface and security are proven together: PI OPC HDA failover works through validated direct DCOM, and the same pairing governs any HDA client you point at a WinCC archive.

License and activation on the WinCC side #

Siemens' WinCC OPC checklist settles the license question in one sentence: "If you want to use OPC with WinCC Professional, you only need the WinCC Runtime Professional license." That means zero OPC-specific licenses for the supported WinCC OPC servers, but the WinCC Runtime Professional license must be installed on the runtime machine, which is a separate check from the engineering station where you built the project.

The OPC UA server ships with the runtime and starts with it; its settings sit under the runtime settings of the station, in the OPC settings area, where at least one of the "Security guidelines" must be active before it accepts client connections. For the classic DA server, confirm the component and its startup as documented for your version. The older WinCC V7 line shows the pattern plainly: its built-in DA server needs no license either, and it runs only when "OPC Server" is checked under Computer Properties → Startup in WinCC Explorer, the starting point of checking WinCC OPC registrations after a 7.0 setup. A configured project that is not running exposes nothing: these servers live and die with the runtime.

Prove the server locally before touching DCOM #

A local test separates configuration faults from remote-security faults. If a client on the WinCC computer cannot read the tag, no DCOM change on the network will fix it. Run this sequence:

  1. Start the WinCC Professional runtime and watch one known tag change in the runtime picture.
  2. On the same computer, connect an OPC DA test client to the local WinCC server by its registered server identity, not by an IP address.
  3. Browse the server namespace and resolve the tag by the item ID the server publishes, not by translating a PLC address or reusing the engineering display name.
  4. Read the item and compare value and quality against the runtime display.
  5. Change the process value and confirm the client reports the update. A browse that resolves the item is not a pass; only a value that follows the process is.

Worked example: write the test tag from the PLC side 20 times at one write per second. One write per second over 20 writes spans a 20-second window, so a working subscription must report 20 of 20 updates inside it. If the local client counts 20 of 20 and the Matrikon computer counts 0 of 20 on the same item, the server, the item ID and the license are proven, and the whole fault sits in remote activation permissions, access permissions or callbacks. That one comparison replaces hours of DCOM guesswork.

Classify the failure by the operation that fails #

Discovery, activation, browsing, reading, subscriptions and historical queries are different stages, and each fails for different reasons. Name the stage before changing anything:

Failing operation First area to inspect Working result
Server discovery or activation Installed component, registration, runtime started, license present Client establishes a session
Item browse or resolution Published namespace and item ID The known runtime item resolves
Read or subscription Item access rights, source link, quality, update rate Valid value, then updates that track the process
Historical query History interface, archive contents, requested interval Stored, timestamped records return

Keep the full error text from the client and the matching server-side entry: a discovery failure with a reachable server and a browse failure with a readable item are different repairs.

Remote test: identity, permissions and callbacks #

Once the local read passes, repeat the identical test from the Matrikon computer. Classic OPC across a network needs three things at once: permission to activate the server, permission to access it, and working callback communication for subscription updates. A blocked callback looks exactly like a half-working setup, with the client connecting but never receiving an update. Check which Windows account each application actually runs under, because an interactive engineering session and a service use different identities, and the grant must match the one in use on the specific OPC components. One rule while you work: do not set Everyone to full control on the whole computer to force a pass; that converts a diagnosable DCOM fault into an open one.

Read the archive, or start collecting a new one #

Split the history requirement in two, because the halves have different answers. Records already stored in WinCC can only come out through a history-capable interface on both ends, an HDA-capable client against a WinCC archive interface; OPC DA cannot return them under any configuration. If your installed WinCC edition exposes no history interface to the Matrikon product, the committed answer is the second path: start a collector now, store incoming DA samples with their timestamps in your own database, and accept that nothing recovers the archive from before the collector existed. For the storage side, connecting WinCC to an external database: direct options lays out the routes worth comparing.

The decision for your case #

  • Live WinCC tags into Matrikon: enable and verify the server side, with the component installed, the runtime started and the WinCC Runtime Professional license on the runtime machine, then pass the local DA read, then fix remote DCOM identity and callbacks. In that order.
  • History data: an HDA interface on both ends, or a new DA collection into your own storage. A DA-only client gets the second path.
  • Local read passes, remote fails: the fault is activation permissions, access permissions or callbacks for the accounts in use, nowhere else.
  • Local read fails: the fault is the server component, the item namespace or the license, and DCOM work is wasted until it passes.

Questions asked

Does the WinCC OPC server need its own license?

No. Siemens' WinCC OPC checklist states it in one sentence: using OPC with WinCC Professional requires only the WinCC Runtime Professional license, and the UA server ships with the runtime. One reported symptom of a missing license is a server that never shows up in a browsing client, so verify the license on the runtime machine itself, not only on the engineering station.

Why can I read PLC values while Matrikon sees nothing from WinCC?

Because those are two different roles. Reading the PLC makes WinCC Professional an OPC client, and that path is proven working. Matrikon reading WinCC needs the opposite direction: the WinCC OPC server exposed, started and licensed, with a client pointed at its published namespace. DCOM settings cannot create that server; they only carry it across the network once it exists.

Can archived WinCC values be read through OPC DA?

No. DA returns the current value of an item with a quality code and a timestamp, nothing stored. Records already in the WinCC archive need OPC HDA, or another documented archive-access route, on both the client and the WinCC side. A DA-only client can start collecting new samples with timestamps, but it cannot query history that already exists.

Where is the OPC server switched on for a WinCC Professional project?

In the TIA Portal project, the server configuration sits in the runtime settings of the HMI station, in the OPC settings area, where at least one of the "Security guidelines" has to be active for the UA server before it accepts connections; the runtime then starts the server with the project. Confirm the classic DA server component and its startup for your exact version in that version's documentation, since 15.1 wording can differ.

The local client reads the tag but the remote computer gets nothing. What now?

Treat it as a remote-security fault, not a server fault. Repeat the identical read from the remote machine, verify which Windows account each application runs under, because a service and an interactive session differ, and grant that account launch and access permissions on the specific OPC components. If the client connects but receives no updates, callbacks are blocked. Do not grant Everyone full control machine-wide to force it through.

Keep reading

  • How-to

    Connecting an Omron CV1000 PLC to WinCC over an OPC server

    Classic WinCC has no Omron CV-series channel, so the working route is an OPC server that speaks Host Link to the CV1000 and OPC DA to WinCC. Configure the server against the PLC first, prove one read, then build WinCC tags from the server's item addresses. Use the documented CV1000-CPU01-EV1 Host Link reference values: ASCII, 7 data bits, even parity, 2 stop bits, unit 00, 9600 or 19200 bps.

    HMI and touchscreens

  • Explainer

    HMI OPC UA Server vs Client: Which Direction Works

    OPC UA support on an HMI spec sheet almost always means the panel runs a server that serves its tags to external clients. Reading PLC symbols by name needs an OPC UA client driver, a separate capability you verify in the driver list for your exact software release, target and license.

    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