Explainer
Why an OPC DA viewer can't be a bridge endpoint: WinCC tag access
Short answer
A bridge copies values between OPC servers, and a client-only viewer exposes no server interface, so it can never be selected as provider or consumer. Restrict the viewer at the server instead: from WinCC V7.5, per-tag OPC write protection and OPC read protection bind every client of the WinCC OPC server, and a SIMATIC NET OPC server offers variable selection, aliases and per-item read and write rights for controller data.

On this page
- Client and server roles decide the endpoints
- What a direct connection exposes
- Two ways to restrict what an OPC DA client reaches
- Tag protection is one policy for every client
- Working the case: a read-and-write viewer on three computers
- Configuring and proving the restriction
- The decision for each case
- Questions asked
Your OPC DA viewer will never appear in the bridge's provider or consumer lists, and no setting changes that. A bridge copies values between two OPC servers by connecting to each as a client, and a viewer that is only a client offers nothing to connect to. What you are actually after — a client that reaches only certain WinCC tags — is a restriction on the server side, and there are two documented ways to build it: per-tag OPC write protection and OPC read protection in the WinCC tag database, available from WinCC V7.5, or a SIMATIC NET OPC server that exposes only selected controller variables with per-item read and write rights. The bridge survives only as a read-only fallback on runtimes older than V7.5.
Client and server roles decide the endpoints #
The OPC Data Access specification defines two roles, and they settle the selection problem before any configuration. A server exposes a namespace of items and executes reads, subscriptions and writes on request. A client initiates everything: it connects, browses, subscribes, reads and writes. Nothing ever connects to a client.
Provider and consumer describe the direction of a transfer between server endpoints, and the bridge attaches to each endpoint as a client. That is why its endpoint lists contain only OPC servers, and why the identical arrangement worked the moment you replaced the viewer with another server. A client-only viewer registers no server interface, so there is nothing to select — a role mismatch, not a fault to troubleshoot.
The one server your viewer can attach to is the bridge's internal IDB OPC server, which publishes the items the bridge transfers. Your test showed its shape: the connection worked and values arrived, but the viewer had no way to send. The missing link between that internal server and the WinCC OPC server is an ordinary bridge connection with the WinCC OPC server as source. Build it only if the rest of this article leaves you no alternative.
What a direct connection exposes #
Connected directly, the WinCC OPC server exposes the project's tags. Before V7.5 it exposes all of them with read and write access; no per-tag restriction exists there. From WinCC V7.5, the documented properties of a tag include two settings that bind the WinCC OPC server:
| Tag property | Effect on every OPC client of that server |
|---|---|
| OPC write protection enabled | The value can be read; writes are refused. |
| OPC read protection enabled | The value can be neither read nor written; enabling it also enables OPC write protection. |
| OPC read protection disabled again | OPC write protection remains enabled; clear it separately to allow writes again. |
The coupling carries the practical weight: read protection switches write protection on, and switching read protection off leaves write protection on, so a tag returns from hidden to read-only, never straight to read and write. Restoring writes is a second, deliberate change.
Keep value access and browsing apart. These properties govern reads and writes of the value; whether a protected tag's name still appears when a client browses is separate behavior, so run a browse if names matter — a refused value read is no proof the name is hidden.
One boundary to respect: OPC write protection is a data-integrity setting, not a safety function — a write that could cause hazardous motion must be made impossible in the controller or the safety circuit, never by an HMI tag property.
Two ways to restrict what an OPC DA client reaches #
Both mechanisms filter at the server; they differ in what they can serve.
| WinCC OPC server with tag protection | SIMATIC NET OPC server | |
|---|---|---|
| Serves | The WinCC tag database: controller tags and WinCC-internal values | Controller data read directly from the PLC |
| Exposed to clients | Every tag not read-protected | Only the variables you select |
| Rights | Read protection or write protection per tag | Read and write rights per item |
| Aliases | No; items keep their WinCC names | Yes; items can be published under another name |
| Requires | WinCC V7.5 or later | SIMATIC NET PC software; rights set in the OPC server properties in STEP 7 or NCM |
Choose by data origin. If every value the viewer needs is controller data, the SIMATIC NET server gives the finer filter — selection, per-item rights, aliases for stable client names — with no dependency on the WinCC version. If any needed value exists only inside WinCC, such as an internal tag or a calculated result, SIMATIC NET cannot serve it because it never reads the WinCC project; then the direct WinCC connection with tag protection is the path, and V7.5 or later is the price of admission. An alias is a naming convenience, not a restriction: the restriction comes from leaving variables unselected and setting each item's rights.
Tag protection is one policy for every client #
The protections belong to the tag, so every OPC client connected to that WinCC OPC server meets the same restriction; there is no per-client list. Write the policy as a matrix first — for each tag, what each client gets: nothing, read, or read and write — then check whether one policy satisfies every client. When two clients need different rights on the same tag, one server cannot express it, and you split the paths instead of stacking exceptions.
Working the case: a read-and-write viewer on three computers #
Inputs, with their origin:
- The viewer is a client-only OPC DA application that must read and write — your setup, where read-only access through the internal server was the complaint.
- Three computers, each on Windows 7 Ultimate: WinCC server, bridge machine, viewer — also your setup.
- WinCC V7.5 or later — confirm this first; the two properties exist only from that version, per the WinCC documentation.
- An example policy, to be replaced with your own list: a project that would expose 25 tags, of which the viewer must read 6 and write 2.
The rule in words: OPC read protection removes a tag from OPC entirely; write protection alone leaves it readable; both bind every client; a direct viewer-to-WinCC connection is one DCOM hop, while the bridge route needs two.
The arithmetic:
- Hidden from OPC: 25 − 6 = 19 tags with OPC read protection enabled.
- Read-only: 6 − 2 = 4 tags with OPC write protection only.
- Writable: 2 tags with no protection.
- Check: 19 + 4 + 2 = 25.
- Connections: direct path = 1 DCOM connection, viewer to WinCC OPC server. Bridge path = 2, bridge to WinCC plus viewer to the internal IDB OPC server — and still no write path, since your test showed the internal server serving reads only.
Result: the viewer reads 6 tags, writes 2, and the other 19 do not exist for it; the bridge machine drops out of the data path.
Decision: when every needed tag lives in the WinCC tag database and one policy fits all clients, tag protection on the direct connection is the whole fix — retire the bridge. Keep the bridge only when the runtime is older than V7.5 and the viewer is read-only, and split the paths the moment a second client needs different rights on the same tag.
Configuring and proving the restriction #
- Confirm the runtime is V7.5 or later. On anything older the properties do not exist; use the decision table below.
- Write the tag-by-client matrix: nothing, read, or read and write for each pairing.
- In the tag database, open each tag's properties and set OPC read protection or OPC write protection to match the matrix. Respect the coupling: a tag taken out of read protection stays write-protected until you clear that as well.
- Apply the change to the running system and connect the viewer straight to the WinCC OPC server. Across the three computers that is one DCOM connection, and the permission work with its failure patterns is collected in why a remote OPC DA client fails to reach a LAN OPC server. DCOM decides who can reach the server application; the tag properties decide what a connected client can touch. Both layers must match the policy — a filtered server is worth nothing if the viewer's account can also connect to an unrestricted one.
- Prove it with the viewer: read a writable tag and write it; then attempt a write on a write-protected tag and a read on a read-protected tag, both of which must be refused. Browse last and record whether protected names still appear; that result stands apart from the value tests.
The decision for each case #
| Your case | Decision |
|---|---|
| Viewer reads only; every value is controller data | SIMATIC NET OPC server: select the variables, set read rights, alias the names if useful. No bridge, no version dependency. |
| Viewer must write controller data | SIMATIC NET with read and write rights on exactly those items. |
| A needed value exists only in WinCC; runtime V7.5 or later | Direct connection to the WinCC OPC server with per-tag protection. No bridge. |
| WinCC-only values; runtime older than V7.5; viewer read-only | Bridge connection with the WinCC OPC server as source feeding the internal IDB OPC server; the viewer as a plain client of the internal server. |
| Same runtime, but the viewer must write | Upgrade to V7.5 or later; the old server has no per-tag filter. |
| Two clients need different rights on one tag | Split paths: controller data through SIMATIC NET with the rights each client needs; the WinCC-side tag set to the stricter state. |
Your instinct — filter at the server, not at the client — was the right one. From V7.5 the filter is built into the tags, and the bridge stops being part of the answer.
Questions asked
Does OPC read protection also hide the tag name when the viewer browses?
The documented effect is on the value: reads and writes are refused. Browse visibility is separate behavior, so run a browse and record what appears. If protected names still show and the names themselves are sensitive, these properties do not meet that requirement; serve the data through the SIMATIC NET server with only chosen variables exposed, or keep the sensitive names out of the client's configuration.
Can another OPC client keep write access to a tag the viewer must only read?
Not through the same WinCC OPC server: the protections are tag properties, so every client of that server meets them. When the value originates in the controller, give the writing client its own path through the SIMATIC NET OPC server with read and write rights on that item, and leave the WinCC-side tag write-protected so the viewer stays read-only.
Is the SIMATIC NET OPC server just another name for the WinCC OPC server?
No. It is a separate product that reads the controller directly and never sees WinCC-internal tags, and its variable selection, aliases and per-item rights live outside the WinCC project, in the OPC server properties in STEP 7 or NCM. Running both side by side is normal: one serves filtered controller data, the other serves WinCC values.
Is the bridge useless once WinCC runs on V7.5 or later?
No, but only for its real job: moving data between servers and databases, for example into a WinCC user archive, which its consumer configuration supports. As a filter for a single client it is redundant from V7.5, because the tag properties already restrict the WinCC OPC server without a middleman and without a second DCOM connection.

