IMDHMIControls LibraryShop main store

Comparison

When an S7-1500R/H can serve OPC UA directly

SCADA and data logging Published 7 min read

Short answer

From CPU firmware V3.1 an S7-1500R/H runs its own OPC UA server, redundant per the OPC UA redundancy concept; at the October 2022 state of TIA Portal V17 with firmware V2.9 it cannot, and an intermediate system must serve the data. Read the firmware online from both CPUs, compare it with the boundary, and configure the native server above it or an intermediate route below it.

On this page
  1. The boundary the firmware sets
  2. Read the version online, then do the arithmetic
  3. Controller redundancy is not data redundancy
  4. The routes below the boundary
  5. Commission the route you picked
  6. The decision, case by case
  7. Questions asked

An S7-1500R/H runs its own OPC UA server from CPU firmware V3.1, and the redundant system presents that server according to the redundancy concept of the OPC UA specification. On the October 2022 state — TIA Portal V17 with CPU firmware V2.9 — the pair could not act as an OPC UA server at all, and every client needed an intermediate system between itself and the pair. The decision is mechanical: read the firmware online from each CPU, compare the reading with the boundary, and configure the native server above it or an intermediate route below it.

The boundary the firmware sets #

Siemens added the OPC UA server function to the redundant S7-1500R and S7-1500H systems with CPU firmware V3.1; the change is documented in the release notice for those CPUs and in the TIA Portal communication documentation for the redundant system. From that release the pair exchanges data as an OPC UA server according to the redundancy concept defined in the OPC UA specification: the redundant arrangement is presented the way that concept describes, not as two servers you juggle by hand.

Two limits decide how you use it. It is a server function only — an OPC UA client on the CPUs is not supported, so a job that needs the plant to originate OPC UA reads stays outside the pair. And support begins with that release, so the October 2022 answer — TIA Portal V17, firmware V2.9, intermediate system mandatory — still governs every pair that has not been moved.

Read the version online, then do the arithmetic #

Go online with each CPU and read the firmware from its online identification. The pair decides as a pair: it is ready for native service when both members read at or above the server release, and a mixed reading — the server release beside V2.9 — is not a native case, it is the upgrade case below. The project archive and the TIA Portal version are not inputs; a project can carry a version the CPUs stopped running long ago.

Worked example. Pair A reads V2.9.1 on both CPUs. Compare major versions first: 2 < 3, so the pair sits below the boundary — the native server does not exist on those CPUs and no amount of configuration creates it, so take an intermediate route or schedule the upgrade. Pair B reads V3.1.0 on both CPUs: 3 ≥ 3 with the minor 1 ≥ 1, so the pair is at the documented server release — configure the native server. The arithmetic is the whole decision; nothing about the plant, the panel or the client moves that boundary.

Controller redundancy is not data redundancy #

The pair keeps control running through a switchover; that is what the R and the H are bought for. Serving data is a second promise. From the server release the OPC UA side follows that redundancy concept, but whether a session or a subscription rides out a switchover depends on the client as much as on the pair — answer the client question before you build the SCADA side on it. Point the client at the endpoint the redundant system documents, never at one CPU's own address: the thing being served is the pair, not an individual CPU. Accept the configuration only after a controlled switchover test with a known variable and an active subscription.

The routes below the boundary #

Below the boundary the pair cannot serve anything itself, so a system between client and pair acquires the controller data and republishes it as OPC UA.

Route Pair serves itself? What it is Confirm before you commit
Native OPC UA server, firmware V3.1 or later Yes the CPUs run the server, redundant per the OPC UA redundancy concept both CPUs at the release, client supports the redundancy behaviour
PC station with OPC server No STEP 7 PC station, OPC server application, one-sided configured S7 connection to the system IP address SIMATIC NET licence for the S7 connection — SOFTNET-IE S7 is the example named for it — plus a host computer beside the controller
SIMATIC CloudConnect 7 No IoT gateway in SCALANCE router format with built-in cloud protocols acquisition and capacity for your point count
SIMATIC HMI integrated server No an HMI already attached to the pair republishes its points the installed HMI supports the server function and your variables
IOT 2050 with Node-RED No application-based acquisition and republishing you own the acquisition, publication and fault handling
Industrial Edge: S7 Connector, Databus and IE OPC UA, or Industrial Information Hub No Edge apps acquire and serve app compatibility, data mapping, licensing

The PC-station route is the classical one, and its details matter. STEP 7 projects the PC station with its OPC server application and a one-sided configured S7 connection to the system IP address of the redundant system — to the system address, not to one CPU's own address. A connection aimed at a single CPU is what produces the failure in troubleshooting a SCADA PC station that reaches only one S7-1500, and it quietly discards the pair's redundancy. That OPC server needs a host beside the controller; for this duty an industrial mini PC in the cabinet is the usual machine.

One thing no row of the table changes: a single intermediate host is a new single point between the pair and the client. If the data must survive that host failing as well, run the serving function on redundant hosts and accept the extra engineering — control availability and data availability are two separate designs.

Commission the route you picked #

  1. Record the installed state: online firmware from both CPUs, the engineering-software version, and the data direction — a supervisory reader needs the pair to serve.
  2. Pick the route from the table using that reading.
  3. Native: enable the server, publish a server interface with only the variables the client needs, separate read from write permissions, then exchange and trust the certificates. The enable-and-configure sequence is the one walked through for a standard S7-1500 in Connect an S7-1500 to SCADA over OPC UA from TIA Portal; the redundant server follows the same shape. If a secure session refuses to come up, work the CPU clock and the certificate trust before the network — the pairing behind S7-1500 MQTT TLS error 8089: check CPU clock and certificate trust is those two checks seen in another protocol.
  4. Intermediate: commission the two connections separately. Prove the upstream S7 connection to the system address first, then the downstream OPC UA session; the upstream can fail while the downstream session stays established, so the client has to judge data quality and freshness, not just its own connection state.
  5. On the Industrial Edge route the S7 Connector is the upstream half; if its status turns bad after about a minute of quiet, why an S7 Connector status turns bad after one minute covers exactly that symptom — read it before you misread the drop as a data fault.
  6. Accept the route after a controlled switchover: read a known variable, run a subscription, switch the pair over, and compare the value and the subscription's behaviour on the far side.

The decision, case by case #

  • Both CPUs online-read at the server release or later: configure the native server. It presents the pair per that redundancy concept; choose a client that supports the behaviour and prove a controlled switchover before the SCADA side depends on it.
  • Below the boundary with a maintenance window: move both CPUs to V3.1, then configure native. Do the move with both members together in one stopped-plant window: a redundant pair is engineered on matching versions, and it cannot hold redundancy while its members run different releases.
  • Below the boundary, no upgrade: intermediate system. PC station with an OPC server and a one-sided S7 connection to the system address when you engineer in STEP 7; CloudConnect 7 when a gateway fits the cabinet; IOT 2050 with Node-RED or the Industrial Edge apps when that is your platform — with the single-host limit from the route section standing as written.
  • Below the boundary with a SIMATIC HMI already attached: its integrated OPC UA server is the fastest intermediate route, provided the installed HMI supports the server function and your variables.

Questions asked

Where do I read the firmware version that decides the route?

Go online with each CPU of the pair and read the version from its online identification. A native deployment needs both members at the server release, so a single reading decides nothing. If the two readings differ, treat the pair as below the boundary until both members carry the same release.

What does my SCADA client have to do at a switchover?

The pair presents its OPC UA server per the redundancy concept of the OPC UA specification, and the client has to support that arrangement. A client without redundancy support keeps its session only while the serving endpoint stays up; at a switchover it reconnects, and the tags stay stale for that reconnect time. Check the client's redundancy capability before you build the SCADA side on the native route.

Can an intermediate system stay after the CPUs move to the server release?

Yes. Nothing forces you to retire a working intermediate host the day the CPUs reach the server release. Keep it while its clients depend on its data model, move the clients over one at a time to the native server, and shut the intermediate host down last so a working data path exists through the whole migration.

Does the boundary here also stop ordinary S7-1500 CPUs from serving OPC UA?

No. The boundary in this article is specific to the redundant S7-1500R and S7-1500H systems. A standard, non-redundant S7-1500 has served OPC UA on its own firmware line for years, independently of this decision. If the machine runs one, configure its server directly; none of the intermediate routes here applies to it.

Keep reading

  • How-to

    Connect an S7-1500 to SCADA over OPC UA from TIA Portal

    The S7-1500 has a built-in OPC UA server from firmware V2.0, deactivated by default. Enable it in the CPU device properties in TIA Portal, select the installed server license, copy the endpoint URL, and download. Paste the opc.tcp address into any OPC UA SCADA client, trust the certificates on both sides, then browse the PLC variables and map them to SCADA tags.

    SCADA and data logging

  • How-to

    Connecting a CODESYS HMI on Windows to an S7-1500 PLC

    Yes, it works. Use OPC UA with the S7-1500 as server and the CODESYS HMI as client when the PC only supervises; use a CODESYS Control Win runtime with target visualization over a PROFINET controller/device link when the PC must also run logic. The PROFINET path adds one single-device license on top of the runtime; the OPC UA path adds none.

    SCADA and data logging

  • Explainer

    Where an OPC UA server sits when Python reads PLC data

    No IEC 61131 function block transports data by itself: OPC UA (IEC 62541) needs a server that maps PLC variables into an address space, and a classic S7-300 has none, so the endpoint comes from a server or gateway on a computer beside the CPU. Point Python at that server's opc.tcp endpoint, keep actuator control and the comm-loss fallback in the PLC, and accept Python's results as requested setpoints.

    SCADA and data logging