Resolving S7-1500R-2PN X2 PROFINET Port IP Ping Failures

David Krause18 min read
Industrial NetworkingSiemensTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Problem Overview

Engineers deploying the S7-1500R-2PN redundant controller (Siemens part number 6ES7 515-2RM00-0AB0) frequently encounter a situation where the X2 PROFINET port is visible in TIA Portal, accepts a configuration download, and reports its link LED as green, yet the engineering station (ES) or a higher-level DCS cannot reach it with a ping. The 1500R's redundant architecture introduces network behavior that does not exist in the standard (non-redundant) S7-1500 line, and that behavior is the primary source of the disconnect between "TIA Portal says it is OK" and "the network says it is not there."

This reference documents the root cause, the diagnostic workflow, and the configuration that restores X2 reachability on firmware V2.6 through V4.x of the 1500R-2PN. The same logic applies to the ET 200SP R/H stations deployed as redundant IO controllers and to the larger 1518H-2PN/1518HF-2PN CPUs with X3 ports when the engineering scope moves to the X3 interface.

S7-1500R Hardware Architecture

The 1500R-2PN is a redundant controller built around two independent CPUs (CPU 1 and CPU 2) interconnected over a dedicated, point-to-point redundancy link on the W1 port. Each CPU carries the following PROFINET interfaces:

  • X1: a PROFINET interface with two switched RJ45 ports, X1-P1 and X1-P2. The two X1 ports belong to a single logical PROFINET interface, share one MAC address, and form an internal managed switch. Both ports are intended for shopfloor I/O and HMI traffic.
  • X2: a single PROFINET port (X2-P1) with no internal switch. X2 is intended for plant-network integration: SCADA, MES, OPC UA, and DCS connections.
  • W1: a dedicated 1 Gbit/s fiber-or-copper redundancy link between CPU 1 and CPU 2. W1 is not user-accessible and carries only synchronization frames.

Note: the 1500R-2PN does not carry an X3 port. X3 is reserved for the S7-1500H-2PN (full high-availability) variants. If you see a third PROFINET port on a 1500-series CPU, the device is an H-class, not an R-class.

Because the 1500R runs two physical CPUs but presents one logical controller to PROFINET, every PROFINET interface carries three IP addresses: one for CPU 1, one for CPU 2, and one "system IP address" that the active CPU uses at any given moment. This is the behavior that catches first-time users, and the rules around it depend on the firmware version.

System IP Address Concept

The system IP address is the address used by the currently active CPU. When a redundancy event occurs (CPU 1 fails, link to CPU 1 fails, primary-backup switch initiated from TIA Portal), the standby CPU takes over the system IP address and the failed CPU's device IP address is released. The I/O devices, HMI panels, and SCADA systems keep talking to the same address throughout the switchover. The standby CPU was already running the user program in sync, so the network transition is sub-second.

Reference the official Siemens function manual page: System IP addresses for R/H CPUs.

The behavior splits by firmware and is the first item to confirm on a field visit:

Firmware version X1 system IP X2 system IP Note
V2.6 to V2.9 Supported Not supported X2 has only the two device IPs (CPU1 and CPU2)
V3.0 to V3.1 Supported Not supported OPC UA server read-only on X2
V4.0 and later Supported Supported Independent system IPs for X1 and X2; OPC UA server read/write on X2

The complete architecture and address assignment for the redundant system is documented in the official TIA Portal manual collection: System and device IP addresses. The behavior change at V4.0 is also captured in the application note: Switching System IP Address in S7-1500R/H Redundant System (PDF).

If the installed firmware is older than V4.0, the X2 port is reachable only via the two device IP addresses (one per CPU). Any peer that needs to talk to the active CPU has to use the redundancy-aware API of the S7-1500R/H driver, or it must implement an external IP takeover (a managed switch with VRRP/HSRP-style protocol). The 1500R itself does not provide a floating system IP on X2 below V4.0.

Root Cause of the Ping Failure

Three independent root causes were identified in the field incident that motivated this reference. Any one of them produces a "no ping reply on X2" symptom, and they are often stacked on the same system.

  1. Subnet overlap between X1 and X2. Both interfaces were placed in 192.168.0.0/16, the X1 device IP was 192.168.0.100/24, the engineering station was at 192.168.1.150/16, and the X2 device IP was 192.168.0.100/16. The ES host route for 192.168.0.0/24 was installed on the X1-side NIC, so traffic for 192.168.0.100 went to the X1 interface. ARP requests for the X2 device IP were generated on the wrong NIC and never reached the X2 physical port.
  2. Device IP only, not system IP. Below firmware V4.0, the X2 port has two device IP addresses (one per CPU). The ES or DCS was pinging the system IP, which simply did not exist on X2. The ES pings the device IP of whichever CPU is currently active, then re-tries when the standby takes over. A DCS driver that does not implement redundancy-aware reconnection will see the X2 link "drop" on every redundancy event.
  3. Router not configured when crossing the subnet boundary. When X1 and X2 are in different IP networks and a host on the X1 side has to reach a device on the X2 side, the host must use a router (gateway). The 1500R-2PN CPU can act as a router if IP forwarding is enabled, but the default is to disable routing between the two PROFINET interfaces for security reasons.

Diagnostic Workflow

Perform the following checks in order before changing any configuration. The intent is to confirm the symptom, isolate the responsible layer, and avoid wasting time on a configuration reset when the actual cause is a cable or a duplicate IP.

  1. Confirm hardware status. Read the LED state of X1-P1, X1-P2, and X2. A steady green LED on the X2 RJ45 indicates link up; an amber LED indicates activity; no LED indicates either a cable fault, a powered-down peer, or a port that has been administratively disabled in TIA Portal. Verify that the X2 cable is plugged into the X2 RJ45 of the active CPU. The active CPU is identified by a steady green "ACT" LED on the front panel; the standby CPU shows a steady green "STBY" LED. A half-up link is a common cause of asymmetric traffic and intermittent ping drops.
  2. Read the firmware version. In TIA Portal: Online -> Right-click CPU -> "Online & diagnostics" -> "Module information" -> "Firmware." Confirm the version is V2.6, V2.8, V2.9, V3.0, V3.1, or V4.x. Note the difference for system IP support on X2 (see the table above).
  3. Read the active CPU identifier. In the same online diagnostics, open the "Redundancy" tab. The active CPU is the one whose MAC address currently serves the system IP. The standby CPU is reachable only on its own device IP.
  4. Verify the routing table on the ES. On Windows, run route print and look for the X1 and X2 subnets. If a more specific subnet exists (e.g., 192.168.0.0/24), the host routes traffic to that interface and ignores the 192.168.0.0/16 range set on X2. On Linux, use ip route show.
  5. Ping both device IPs and the system IP of X2. From the ES, run:
    ping -S 192.168.1.150 192.168.1.1
    The -S option forces the source IP of the ES's X2-side interface. If the system IP is missing, only one of the two device IPs will answer, depending on which CPU is active. If neither device IP answers, the problem is at layer 1 or layer 2 (cable, switch port, IP conflict).
  6. Capture ARP traffic with Wireshark on the X2 segment. A broadcast ARP for 192.168.1.150 that goes unanswered is a sign the CPU is not responding on that interface. An ARP reply from a different MAC address indicates a duplicate IP elsewhere on the segment. Look for ARP "Gratuitous" frames from the CPU; these confirm the CPU is announcing the IP on the X2 port. If no gratuitous ARP is observed on the X2 segment, the IP is not bound to X2.
  7. Read the diagnostic buffer of both CPUs. Look for entries with the text "IP address conflict," "Duplicate IP address detected," or "PROFINET interface down." These messages are generated by the CPU itself and identify the exact cause. Note the timestamp; a duplicate IP detected at 02:14:33 local time points to a scheduled task on another device.

Subnet Planning for the X2 Port

The X2 port and the X1 port must live in different IP subnets. Pick a subnet for X2 that is not part of the corporate network, has at least 1024 free addresses, and is documented in the plant's IP address plan. Typical choices in industrial environments are:

Interface IP address Subnet mask Use case
X1 (device IP, CPU1) 192.168.0.1 255.255.255.0 IO devices and HMI on the shopfloor
X1 (device IP, CPU2) 192.168.0.2 255.255.255.0 Standby CPU on the same shopfloor network
X1 (system IP, optional) 192.168.0.100 255.255.255.0 Active CPU's "floating" address for shopfloor traffic
X2 (device IP, CPU1) 10.1.1.1 255.0.0.0 Plant network integration, DCS, MES
X2 (device IP, CPU2) 10.1.1.2 255.0.0.0 Standby CPU on the plant network
X2 (system IP, V4.0+) 10.1.1.100 255.0.0.0 Active CPU's "floating" address for plant network traffic

The /8 mask on X2 is fine when the plant network is a single /8. If the plant network is split into /16 or /24 subnets, the X2 device and system IPs should be in the same /16 or /24 to keep them reachable from the DCS without router hops. For example, with a 10.1.0.0/16 plant network, configure X2 with 10.1.1.1 and 10.1.1.2 as device IPs, mask 255.255.0.0, and the system IP on 10.1.1.100.

If the DCS engineer requests a specific IP (e.g., 192.168.0.150), use the device IP of the active CPU for the connection. The DCS driver must support CPU redundancy and re-connect to the standby's device IP when the active fails. Most modern drivers (SIMATIC NET OPC, PCS 7, the S7-1500R/H OPC UA server, and the S7 communication driver in WinCC) handle this automatically.

TIA Portal Configuration

Open the project, navigate to the CPU's "Device view," and select the X2 interface. The following parameters must be set:

  1. IP address tab: enter the device IP of CPU1. Click "Add" to add a second device IP for CPU2. On firmware V4.0+, click "Add system IP" and enter the system IP. TIA Portal validates that all three addresses belong to the same subnet; if validation fails, the system IP will be flagged with a yellow warning triangle and the configuration cannot be compiled.
  2. IP forwarding: leave disabled unless the 1500R is explicitly acting as a router between X1 and X2. Enabling IP forwarding on a 1500R exposes the shopfloor network to the plant network and is rarely appropriate.
  3. PROFINET interface options: on the X2 port of the 1500R, "PROFINET IO" is greyed out. The X2 port supports only S7 communication (PUT/GET, S7 connection), Open User Communication (OUC, ISO-on-TCP, TCP, UDP), and OPC UA. The DCS protocol selection is therefore limited to one of these. PROFINET IO controller is only on X1.
  4. Security: under "Properties > Security," enable "Permit S7 communication" and "Permit OUC" if either is required. By default, both are disabled in firmware V4.0+ and must be explicitly turned on. Disabling both produces a ping response (because ICMP is handled below the security layer) but blocks all S7 traffic, which leads to the confusing symptom of "ping works, SCADA does not."
  5. Time synchronization: configure the time source. If the plant network has an NTP server, point X2 to it. If the shopfloor has a different NTP source, point X1 to that one. The 1500R will accept time from either interface as long as the security level permits the NTP traffic.

The project must be compiled and downloaded to both CPUs. After the download, the redundancy state is "Primary-Backup" with the CPU you targeted as "Primary" in the redundancy configuration. Use the SIMATIC Automation Tool or the "Online & diagnostics" page to verify the active CPU. The CPU assigned as "Primary" in the project is the one that boots as active on power-up; the other is standby. The assignment can be reversed at runtime from TIA Portal.

Inline Topology Diagram

The following inline SVG diagram illustrates the intended X1 / X2 / DCS / HMI topology for a 1500R-2PN with system IP on X2 (firmware V4.0+):

S7-1500R-2PN redundant system network CPU 1 (active) CPU 2 (standby) W1 redundancy link X1-P1: 192.168.0.1 / 24 X1-P2: 192.168.0.2 / 24 X1 sys: 192.168.0.100 / 24 X2: 10.1.1.1 / 8 (CPU1) X2: 10.1.1.2 / 8 (CPU2) X2 sys: 10.1.1.100 / 8 X1-P1: 192.168.0.1 / 24 (offline) X2: 10.1.1.2 / 8 (offline) Shopfloor switch Plant switch TP900 HMI 192.168.0.150/24 S7 to X1 sys DCS / OPC UA 10.1.1.50 / 8 S7 or OPC UA to X2 sys X1-P1, X1-P2 X2

Verification

After applying the corrected configuration, perform the following sequence of checks. Each step is a single failure point and is the only test that proves the corresponding layer is correct.

  1. Layer 1/2 (cable, link): confirm the X2 LED is steady green on both CPUs and on the peer switch port.
  2. Layer 3 (IP reachability): from the ES, ping all three addresses on X2 (CPU1 device IP, CPU2 device IP, system IP if V4.0+). All three should respond when the respective CPU is active. The CPU1 and CPU2 device IPs respond only when the matching CPU is the active one; the system IP responds whenever any CPU is active.
  3. Layer 4 (TCP/UDP reachability): from the DCS, ping the agreed address. If the DCS uses the system IP, the system IP must be configured on the CPU. If the DCS uses a single device IP, the DCS driver must handle the redundancy takeover. Then run an S7 connection test or an OPC UA browse request against the same address.
  4. Redundancy event: force a redundancy switchover. In TIA Portal: "Online & diagnostics" -> "Redundancy" -> "Run primary-backup switchover." The ping should drop for at most the switchover time (typically <100 ms) and resume when the standby takes over. A drop longer than 1 second indicates that the system IP is not configured and the DCS is bound to a single device IP.
  5. Diagnostic buffer: read the diagnostic buffer of both CPUs. No entries related to "IP conflict," "Duplicate IP," or "PROFINET interface down" should appear.
  6. Web server: open the Web server of the CPU (port 80 for HTTP, 443 for HTTPS). The Web server is bound to the system IP by default on firmware V4.0+. If the Web server is reachable, the system IP is correctly assigned. If the Web server is reachable on the device IPs but not on the system IP, the system IP is not bound to the Web server and must be added in TIA Portal under "Web server > Access."

Firmware-Specific Behavior and Upgrade Caveats

The 1500R-2PN ships with V2.6 as the initial release. The most common firmware versions in production are V2.8, V2.9, V3.0, V3.1, and V4.x. The behavior of the X2 port across these versions is summarized below.

  • V2.6 to V2.9: PROFINET IO is not supported on X2. Only S7 and OUC are available. The X2 port is reachable only on the two device IPs.
  • V3.0 to V3.1: same restrictions as V2.6-V2.9. Adds OPC UA server (read-only) on X2. Adds SNMPv3 support.
  • V4.0+: adds system IP address support on X2. OPC UA server on X2 supports read/write. The X1 system IP behavior is unchanged. Security model is tightened: S7 communication, OUC, and OPC UA server must each be explicitly enabled.

When upgrading a system from below V4.0 to V4.0+, the system IP for X2 is not created automatically. The user has to add it manually in TIA Portal after the upgrade. Forgetting this step leaves the system with no floating IP on X2, and the DCS will see the active CPU only. The same applies to the S7 communication, OUC, and OPC UA enable flags, which were implicit in older firmware and become explicit gates in V4.0+.

Related Configuration Items

The following items affect X2 reachability and are frequently missed during commissioning.

  • Time synchronization: set the time source on the 1500R. If a third-party NTP server is on the X1 side and the DCS uses a different NTP source on the X2 side, configure both. The 1500R's time protocol (NTP or SIMATIC) must agree with the DCS, otherwise the DCS will reject certificates and time-stamped events.
  • Firewall: the 1500R-2PN does not have a stateful firewall. The plant network on X2 must be protected by an external firewall (typically a SCALANCE S or a hardened Linux box) if it carries S7-1500 traffic to a higher-level network.
  • SNMP: the 1500R exposes an SNMP agent on both X1 and X2. Disable SNMP on the side that faces the plant network if SNMP is not required. Default community string is "public" and must be changed.
  • PROFINET security class: set the security class to "Do not secure" only on isolated test networks. On production networks, set to "Authorize with password" or higher. The CPU will reject connections from unauthorized engineering stations at the security layer, which appears as a "connection refused" in the DCS driver.
  • Switch port configuration: the X2 port must be set to auto-negotiate or to 100 Mbit/s full-duplex. If the peer switch port is hard-coded to 10 Mbit/s half-duplex, the X2 link LED will be off or the link will flap every 30 seconds.

Troubleshooting Matrix

Symptom Most likely cause Action
Ping to X2 system IP fails, ping to X2 device IP of active CPU succeeds System IP not assigned (firmware < V4.0) or not added after upgrade Add system IP in TIA Portal; download to both CPUs
Ping to all X2 IPs fails, X2 LED shows link up Subnet mismatch between ES and X2, or duplicate IP on the segment Verify subnet mask on ES, capture ARP with Wireshark, scan the segment for duplicate MACs
Ping to all X2 IPs fails, X2 LED off Cable or port failure Swap cable, swap to the partner CPU's X2 port
Ping succeeds for 30 s, then fails for 2 s, then succeeds Redundancy switchover, no system IP configured Add system IP, configure redundancy-aware client
Ping from X1 side to X2 device IP fails IP forwarding disabled, no router Enable IP forwarding on the CPU or add an external router
Ping from DCS works, but S7 connection fails S7 communication not enabled on X2 in TIA Portal (firmware V4.0+) Enable "Permit S7 communication" and "Permit OUC" on the X2 interface
Ping works, OPC UA browse returns "Bad Communication Error" OPC UA server not enabled on X2, or certificate not trusted Enable OPC UA server on X2, exchange certificates with the DCS
Ping works, TIA Portal online goes offline after a few minutes Online route uses the device IP, not the system IP, and the active CPU changed Set the online route to the system IP; recompile and re-download

Verification Checklist

  • Firmware version recorded and confirmed against the system IP support table.
  • Subnet plan for X1 and X2 documented and not overlapping.
  • Device IP for CPU1 and CPU2 on X2 configured.
  • System IP on X2 added if firmware V4.0 or later.
  • TIA Portal project compiled and downloaded to both CPUs.
  • Ping test from ES to all three X2 IPs successful.
  • Ping test from DCS to the agreed address successful.
  • Forced redundancy switchover executed; ping resumes within 1 second.
  • Diagnostic buffer clean on both CPUs (no IP conflict, no link-down entries).
  • Web server reachable on the system IP and on both device IPs.

FAQ

Why can TIA Portal see the X2 port of the 1500R-2PN, but the engineering station cannot ping it?

TIA Portal communicates with the CPU over the active online route, which is the IP you configured as the "Online access" target. The X2 port of a 1500R-2PN has two device IPs (one per CPU) and, on firmware V4.0+, a system IP. If the engineering station is on a different subnet from the device IPs, ICMP echoes are routed out the wrong NIC. Set the engineering station's source IP to the X2-side NIC with ping -S to confirm.

Does the X2 port of the 1500R-2PN support a system IP address?

Yes, but only on firmware V4.0 and later. Below V4.0, the X2 port has only the two device IPs (one per CPU). The system IP support on X2 is a V4.0 firmware feature, and it is not added automatically when you upgrade from V2.x or V3.x. You must add the system IP manually in TIA Portal and re-download to both CPUs.

Can I run PROFINET IO on the X2 port of the 1500R-2PN?

No. The X2 port of the 1500R-2PN supports S7 communication, Open User Communication (OUC: ISO-on-TCP, TCP, UDP), and OPC UA. PROFINET IO controller is available only on X1. If the DCS requires PROFINET, it must connect to a PROFINET IO device on the X1 segment, not to the CPU on X2.

My ping works, but the S7 connection from the DCS fails on firmware V4.0. What changed?

Firmware V4.0 introduced explicit security gates. "Permit S7 communication," "Permit OUC," and "Permit OPC UA server" are disabled by default on every interface. Enable the required gate under the X2 interface properties, recompile, and re-download to both CPUs. ICMP is handled below the security layer, which is why ping keeps working while S7 and OPC UA are blocked.

How long does the ping drop during a redundancy switchover?

With the system IP configured, the drop is under 100 ms in the field. Without the system IP, the drop equals the time it takes the DCS driver to detect the connection loss, re-resolve the partner, and re-establish the S7 connection — typically 2 to 30 seconds. Always configure the system IP on V4.0+ and use a redundancy-aware driver on the DCS side.

Can the 1500R-2PN route traffic between X1 and X2?

Yes, but IP forwarding is disabled by default. Enable it under the X2 interface properties in TIA Portal. Be aware that enabling IP forwarding exposes the shopfloor network to the plant network and is rarely appropriate; the standard practice is to use an external router or firewall between the two subnets.

Back to blog