Troubleshooting
Fix SIMATIC NET OPC DA to an S7-1500 after a PLC swap
Short answer
Yes, SIMATIC NET v16 keeps serving OPC DA to the CPU 1511-1 PN; nothing new is bought on the PC side. The fix is PLC-side: enable PUT/GET in the CPU, clear optimized block access on the DBs you address absolutely, and load an XDB compiled from a TIA Portal PC station. OPC UA only needs the CPU's own server enabled and certificates trusted from firmware V2.9.
On this page
- Does SIMATIC NET OPC DA still work with an S7-1500?
- Why does the connection enable but serve nothing?
- How do you permit PUT/GET on the CPU 1511-1 PN?
- Why does DB10,W35 return bad quality on the new program?
- Where does the XDB come from when COML S7 no longer suffices?
- Is the OPC UA route simpler than OPC DA here?
- Do you need to buy new software or licenses?
- Questions asked
SIMATIC NET v16 keeps serving OPC DA after the swap: the CPU 1511-1 PN (6ES7 511-1AK02-0AB0) is a supported partner, and nothing new is bought on the PC side. What broke is PLC-side. The S7-300 accepted the classic S7 protocol with no opt-in; the S7-1500 ships with its protections on, its new data blocks hide the byte offsets your item addresses use, and the COML S7 connection you defined locally no longer suffices as the configuration source. Three CPU settings and one XDB file put the data back on your desktop.
Does SIMATIC NET OPC DA still work with an S7-1500? #
Yes. Siemens documents SIMATIC NET as the OPC DA server in front of an S7-1500, so your v16 license and desktop client stay; the CPU never speaks OPC DA itself, it only answers the classic S7 communication underneath.
What you are seeing after the swap — connection defined, Enable succeeding, OPC Scout showing nothing to browse and no message why — is the CPU refusing those S7 jobs, not the server failing. The OPC DA server starts regardless of what sits behind it, so a running server proves nothing about the PLC link. Two terms carry the rest of this article. PUT/GET is the CPU permission that lets a remote partner read and write CPU memory over classic S7. Optimized block access is the data block attribute under which TIA Portal rearranges block contents, so fixed byte offsets stop existing.
Why does the connection enable but serve nothing? #
Because three PLC-side things changed with the swap: the CPU now refuses classic S7 jobs without the PUT/GET permission, optimized data blocks hide the byte offsets, and the old COML S7 local config no longer reaches the new station.
Take one reading to split the fault: does SIMATIC NET report the S7 connection to the 1511-1 PN as established, or did only the OPC server start? If the connection never establishes, work the permission first and the configuration second. If it establishes and items come back bad, work the block access and the addresses.
| Symptom in OPC Scout | Probable cause | Where the fix is |
|---|---|---|
| Enable succeeds, nothing to browse | PUT/GET not permitted, or the station missing from the loaded XDB | CPU permission, then the XDB import |
| Connection good, items bad quality | Optimized block access, or S7-300 addresses reused on the new program | Block attribute and item addresses |
| Values read but look wrong | New program uses a different DB layout than the S7-300 | Confirm layout with the integrator |
| OPC UA client will not connect | UA server not enabled, or certificates untrusted | CPU properties and certificate exchange |
How do you permit PUT/GET on the CPU 1511-1 PN? #
In TIA Portal, open the CPU properties, go to the protection and connection-mechanism settings, and activate the option that permits access with PUT/GET communication from a remote partner, then compile and download the hardware configuration.
- The integrator opens the CPU properties and reads the state of the PUT/GET option — you need no TIA Portal license to look at that screen, only to change it.
- They activate the option permitting access with PUT/GET communication from a remote partner.
- They compile and download the hardware configuration.
- You retest in OPC Scout: the connection should now establish.
Siemens publishes the activation procedure for S7-1500 CPUs from firmware V3.1 (S7-1200 from firmware V4.7), so the integrator confirms the setting's location for the installed firmware. PUT/GET opens unencrypted read and write access to CPU memory for whatever can reach the subnet, so it gets enabled knowingly, on a segregated cell network, and no wider than the reporting PC requires.
Why does DB10,W35 return bad quality on the new program? #
Because absolute S7 addresses only read data blocks whose optimized block access attribute is off, and TIA Portal creates new S7-1500 blocks with it on, so fixed byte offsets no longer exist on the blocks you are addressing.
Under the attribute the compiler reorders and packs the block, collecting BOOLs together eight to a byte. An illustrative layout shows why your offsets die: 22 BOOL variables occupy 22 bytes under standard access, one byte each; optimized access packs them at eight per byte, 22 ÷ 8 = 2.75, rounded up to 3 bytes. Every variable after them shifts, so the word your client polls at a fixed offset has no fixed home, and the read returns bad quality or the wrong value.
- Ask the integrator which DBs hold your values — scale data, motor hourmeters.
- In each block's attributes they clear optimized block access and recompile.
- A download that changes the block structure re-initializes it, so counters and hourmeters can reset; the integrator schedules that download with the process owner.
- You read the compiled offsets and rebuild every item address. Reusing S7-300 addresses is wrong regardless: the new program's DB numbers and layout are the integrator's, not carried over.
Verify with a known-live value: operators confirm which equipment runs, and a hourmeter item counting up every second proves the path end to end. Anything else that assumes fixed offsets breaks the same way, down to the S7-1500 GATHER function failing with optimized DBs on the instruction side.
Where does the XDB come from when COML S7 no longer suffices? #
From a SIMATIC PC station built inside the TIA Portal project: the integrator adds the station, connects it to the CPU on the same subnet, compiles, and TIA writes the XDB into the project folder under \XDB for you to import.
SIMATIC NET learns which partners exist from that XDB configuration database. With the S7-300 you created it locally with COML S7 and that was enough; for the S7-1500 the supported source is a PC station compiled by TIA Portal. SIMATIC NET itself operates identically either way — the partner type and the configuration source are what changed.
- The integrator adds a SIMATIC PC station to the TIA project and connects it to the 1511-1 PN on the same subnet.
- They compile; the XDB lands in the project folder under \XDB (the SIMATIC NET PC Stations manual documents the location).
- You import the file into SIMATIC NET on your PC and enable the configuration.
- You browse again in OPC Scout, then finish the block-access checks for item quality.
There is no supported local-only equivalent of the old COML S7 setup for this CPU, and importing the file needs no TIA Portal license on your side — your deployment stays offline; only the file's origin is TIA-built.
Is the OPC UA route simpler than OPC DA here? #
It trades your OPC DA client for a UA client, but it removes absolute addressing entirely: the CPU 1511-1 PN has its own OPC UA server, it serves optimized and standard blocks alike, and the configuration lives in the CPU properties.
The integrator selects the CPU, opens "OPC UA > Server" in its properties and activates the server, in the same project as the other settings. On certificates, commit to this line: treat any CPU at firmware V2.9 or later as requiring certificate exchange — some units around V2.8 already do — and read the CPU's actual version through online diagnostics or its display before trusting a shortcut. The integrator generates the certificate in the PLC program and hands it to you; your client's certificate must be trusted by the CPU in return, and the S7-1500 server uses application certificates even with the security policy set to None.
The CPU-side procedure is covered end to end in connecting an S7-1500 to SCADA over OPC UA from TIA Portal. Decision: if your desktop app can host an OPC UA client, this route skips PUT/GET, the attribute changes and the XDB entirely; if the app must stay OPC DA, fix the three items above and stay on the server you own.
Do you need to buy new software or licenses? #
No, not for the OPC DA path: the SIMATIC NET v16 license you run already covers serving OPC DA to an S7-1500, and the missing pieces — PUT/GET, block attributes, the XDB — are configuration work in the integrator's TIA Portal project, not products.
The only new artifact is a TIA-built configuration, and the integrator already owns the tooling for it. Replacing the OPC server with another vendor buys nothing here: every client that speaks classic S7 to this CPU needs the same PUT/GET permission and the same non-optimized blocks, so that integrator work follows you to the new product. Only the OPC UA path sidesteps those settings. Decision: stay on SIMATIC NET, hand the integrator the three-item list, and the connection that enables but serves nothing comes back.
Questions asked
Does the CPU 1511-1 PN have a built-in OPC server?
It has an OPC UA server and an OPC UA client, so it can serve UA clients directly and pull data from other UA servers. It does not speak OPC DA at all, which is why a PC-side server such as SIMATIC NET stays in the picture for your desktop OPC DA client.
Will a different OPC server avoid the PLC-side settings?
No. Any product that talks classic S7 to the CPU, commercial OPC servers and open-source drivers such as S7Net+ alike, needs PUT/GET permitted and non-optimized data blocks for absolute addresses. Only OPC UA browsing avoids both, because the CPU's own server publishes variables symbolically. Switching vendors repeats the same integrator work.
Does clearing optimized block access wipe the current values?
A download that changes the block structure re-initializes it, so counter and hourmeter values can reset. The integrator schedules that download with the process owner, then hands you the compiled offsets to rebuild item addresses. Reading the attribute state itself changes nothing; only the download does.
Which S7-1500 firmware versions force certificate exchange for OPC UA?
Treat firmware V2.9 and later as requiring it; some units around V2.8 already behave that way, so read the CPU's actual version through online diagnostics or the front display before deciding. The server uses application certificates even with the security policy set to None, so trust is never optional on these CPUs.
Does the CPU's OPC UA server also need optimized access off?
No. The S7-1500 OPC UA server works with optimized and non-optimized blocks, because you publish the variables to the server and browse them by name. The attribute only decides whether classic absolute addressing, such as DB10,W35, can reach the data.