Resolving S7-400 CPU 416-3 PN/DP Ethernet Upload Failures

David Krause13 min read
S7-400SiemensTroubleshooting
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

1. Problem Overview and Symptoms

An engineer trying to retrieve an existing automation project from a Siemens SIMATIC S7-400 station equipped with a CPU 416-3 PN/DP using STEP 7 V5.4 SP5 over Ethernet can hit one of three failure modes. None of them are catastrophic and every one of them has a deterministic recovery path that does not require erasing the CPU.

The failure modes observed in the field collapse into the following categories:

  1. Silent Layer 2/3 — no node discovery. The "Edit Ethernet Node → Browse" dialog returns zero reachable nodes even though the PG link LED is lit. Common causes are the wrong PG/PC interface assignment and broadcast filtering on a managed switch.
  2. Node visible but Upload Station to PG aborts. The CPU appears in the online dialog with rack/slot and IP, but the upload stalls or fails with a transport fault. Common causes are subnet overlap, firewall TCP/102 drop, or access protection on the CPU.
  3. Connection opens but read fails. STEP 7 negotiates ISO-on-TCP, opens the connection, then fails mid-stream. Common causes are exhausted connection resources, password re-prompt, or firmware incompatibility on the CPU.

Resolving the upload requires a layered approach: solve L1 (link LED) → L3 (ping) → S7 transport (TCP 102 / ISO-on-TCP) → application (STEP 7 upload). This guide walks through each layer in order.

2. CPU 416-3 PN/DP Hardware Interface Reference

The "416-3 PN/DP" naming follows the Siemens interface-count convention. The "3" means the CPU exposes three physically separate fieldbus interfaces. The "PN/DP" suffix tells you that interface 2 is PROFINET and interface 3 is PROFIBUS DP.

Connector (front) Interface Type Default Function
X1 IF1 RS-485 combined MPI/DP master MPI programming / DP master for legacy DP slaves
X2 P1 IF2 port 1 10/100 Mbit/s RJ-45 (PROFINET) PROFINET IO controller, S7 communication, Web server
X2 P2 IF2 port 2 10/100 Mbit/s RJ-45 (PROFINET) PROFINET IO controller — internal switch to P1
X3 IF3 RS-485 PROFIBUS DP Second DP master on selected firmware revisions

The two X2 ports form an integrated 2-port Ethernet switch — both ports are equivalent. Connecting to X2 P1 or X2 P2 brings up the same IP, and the integrated switch enables line topologies with PROFINET devices daisy-chained behind the CPU.

Common MLFB part numbers (Siemens ordering data, 6ES7 family) and the maximum firmware each MLFB ships with. STEP 7 V5.4 SP5 supports the older firmware revisions natively; newer firmware revisions may need updated STEP 7 Hotfixes.

MLFB Maximum FW STEP 7 V5.4 SP5 Compatible?
6ES7 416-3ES06-0AB0 V6.x Yes, full function
6ES7 416-3ES07-0AB0 V7.x Yes, with Hotfix HF11 or later
6ES7 416-3ES08-0AB0 V8.x No — STEP 7 V5.5 SP4 or V5.6 required
6ES7 416-3FR05-0AB0 V5.x (F) Yes with Distributed Safety V5.4 SP5
6ES7 416-3ES05-0AB0 V5.x Yes

If the firmware revision on the actual CPU exceeds V7.x, install STEP 7 V5.5 SP4 or later on a separate PG, or apply the relevant Hotfix to V5.4 SP5. Mixing a newer CPU with old STEP 7 V5.4 SP5 manifests as "Unknown module type" during HW Config online read or as a 33:4940 (resource) error during upload.

Confirm the firmware revision in front of the CPU under Settings → Module Information → Firmware Version, or by selecting the CPU in PLC → Accessible Nodes after the PG/PC interface is set up (see Section 4). Reference data is published on Siemens Industry Online Support.

3. Prerequisites and Network Requirements

Stack the following prerequisites before configuring STEP 7.

  • STEP 7 V5.4 SP5 installed and activated; verify via Start → SIMATIC → Information → "About". The build number typically has SP5 baked into the binary (e.g., V5.4.5.6).
  • Ethernet adapter on the PG/PC: onboard NIC or certified USB-to-Ethernet (e.g., Siemens CP 5711, USB 3.0 Ethernet). Avoid virtual adapters; they confuse S7ONLINE.
  • Patch cable (Cat 5e or higher) up to 100 m. With direct PG↔CPU and modern 10/100 Mbit/s interfaces, either straight-through or crossover works thanks to MDI/MDIX auto-crossover.
  • Admin rights on the PG/PC to allow firewall changes and STEP 7 service starts.
  • CPU power — confirm the green DC 5V LED on the front is steady; red SF/BF LEDs blink during boot and clear within 30-60 s.
  • Subnet plan — keep the PG/PC on the same /24 subnet as the CPU before any upload. The default for non-routed S7-400 PROFINET setups is 192.168.0.x / 255.255.255.0.

Confirm the IP picture before launching STEP 7:

CPU 416-3 PN/DP target IP : 192.168.0.1
CPU subnet mask           : 255.255.255.0
PG/PC Ethernet adapter IP : 192.168.0.10
PG/PC subnet mask         : 255.255.255.0
Note: Disable any Windows VPN client and the SmartScreen/HTTP proxy. VPN adapters appear as physical NICs in Windows and confuse S7ONLINE selection. If the CPU is on a routed subnet, the PG/PC needs a route such as route ADD 192.168.0.0 MASK 255.255.255.0 <gateway_IP> before ping will succeed.

4. STEP 7 V5.4 SP5 PG/PC Interface Configuration

The S7ONLINE access point selects which physical adapter STEP 7 uses for both Browse and Upload. Mis-binding the access point is the single most common cause of "Cannot find node" errors at this stage.

  1. Close SIMATIC Manager if open.
  2. Open Start → SIMATIC → STEP 7 → Set PG/PC Interface. Alternatively run SetPgPcInterface.exe from %ProgramFiles%\Siemens\Automation\SIMATIC Manager\S7BIN.
  3. From the "Application Access Point" dropdown select S7ONLINE (STEP 7) → TCP/IP → [your NIC]. Replace [your NIC] with the physical Ethernet NIC name (e.g., "Intel I219-V Gigabit Network Connection"). Do not bind to a virtual/TAP adapter.
  4. Click Properties. Under the "TCP/IP" tab confirm Windows-managed DNS is disabled for the access point (otherwise the access point may try to register with DNS and slow discovery).
  5. Under the "Ethernet Address" or "Network" tab set the link speed to "Auto" (the default). Do not force 100 Mbit/full-duplex unless the CPU side is forced to match.
  6. Click OK on both dialogs. Restart SIMATIC Manager to load the new binding.
Tip: On Windows 10/11 run SetPgPcInterface as administrator (right-click → Run as Administrator). Without elevation the dialog appears to accept changes but does not persist them.

The S7ONLINE access point may coexist with other entries (e.g., S7ONLINE (DCP)) used by different tools. Editing S7ONLINE (STEP 7) does not affect them; verify all points that list your NIC share the right one.

5. Online Node Discovery and IP Recovery

Discover the CPU through DCP and ensure the IP is correct before attempting an upload.

5.1 Browse the segment

  1. Open a fresh STEP 7 project (File → New → Project).
  2. Open SIMATIC Manager; in the menu select PLC → Edit Ethernet Nodes.
  3. In the dialog, click Browse. A list of reachable PROFINET nodes populates after a few seconds. Each node displays its MAC address and current IP. If the CPU shows IP = 0.0.0.0, it has never been assigned an IP.
  4. Compare the MAC printed on the CPU front (under the lower door) against each entry in the list to confirm the right device.

5.2 Assign an IP if missing

  1. Select the node in the list.
  2. Enter the desired IP (192.168.0.1), subnet mask (255.255.255.0), and gateway (0.0.0.0 for direct connection).
  3. Click Assign IP Configuration. STEP 7 writes the IP through a DCP-Set request. The CPU stores the IP in non-volatile memory after the next store-to-flash cycle, which happens on STOP→RUN transition or power cycle.

5.3 Read the IP from the CPU display

The CPU 416-3 PN/DP includes a 2-line x 16-character LC display and a 4-direction rocker switch under the front door.

  1. Unlock the lower door. Press the rocker downward to enter the menu.
  2. Drill into Settings → Address → PN-IO.
  3. Read IP, SnMask, and Router.
  4. To set a new IP from the display: navigate to Settings → Address → PN-IO → Set IP; enter each of the four octets separated by dot; confirm with OK. Persist the change with Settings → Save on firmware revisions that do not auto-persist.
Caution: Some firmware versions require the front key switch in "RUN-P" position to permit IP edits from the display. The display PIN, if active, is configured in HW Config under CPU properties (Protection tab), and is project-specific. Resetting the PIN requires a full memory reset of the CPU.

For broader communication-function background, see the Siemens documentation on Instructions for Communication Tasks S7-300/S7-400/S7-1500 (TIA Portal V21 reference; concepts apply equivalently to STEP 7 V5.x).

6. Upload Station to PG — Step-by-Step Procedure

  1. Open (or create) a STEP 7 project to receive the uploaded data. A new empty project is fine — STEP 7 will fill it from the CPU's SDO data.
  2. Menu: PLC → Upload Station to PG.
  3. In the dialog "Upload to Project":
    • Choose the target directory (e.g., D:\PLC_Backups\S7400_Rack0).
    • Set the project name.
  4. Click OK.
  5. In the next dialog Select Node Address:
    • Click View. STEP 7 broadcasts an online search through the S7ONLINE adapter for reachable CPUs. Found CPUs appear with rack, slot, and assigned IP.
    • If the target is not visible, fill in the address fields manually:
      • Rack: 0
      • Slot: 3
      • Or enter the IP directly in the "Address" field if Browse was filtered out by a router.
    • Confirm with OK.
  6. STEP 7 reads system data, block containers (OB, FB, FC, DB), HW Config, and the optional symbol/comment source. The status bar in SIMATIC Manager reports percentage progress.
  7. On completion, the reconstructed S7 program opens under the offline project tree. Save the project with File → Save As to confirm persistence.

If the upload errors out, capture the message format. Common ones include:

  • "Online: Connection to partner not established" → ping the IP first; Section 8.
  • "Error 33:4711" or "33:4940" → CPU access protection active; consult the access list under HW Config.
  • "The station address is invalid" → wrong rack/slot; CPU slot 3 in rack 0 is the default; Section 7.

7. Rack and Slot Mapping Reference

S7-400 online functions always address the CPU via rack and slot. The CPU is fixed at rack 0, slot 3 in the central configuration, regardless of how many sub-racks are installed.

Slot Module Type Hot-swap?
0 Power Supply (PS 405 / PS 407) Yes
0 (send IM in extension rack) IM 460/461-3 or IM 461-1 No
1-2 Reserved (some CPs permitted in V8 firmware)
3 CPU
4-8 CPs (CP 443-1, CP 443-5, etc.) Yes
9-18 SM (signal modules), FM (function modules) Yes

For multi-rack UR1 configurations, only the central rack hosts the CPU. PG connections always target rack 0 / slot 3 even when HMIs or remote IO are connected to the CPU. ET200 PROFINET device slots are addressed differently — by PROFINET device name and slot within the IO device — but PG-to-CPU traffic still goes through rack 0 / slot 3.

If you operate a CP 443-1 in slot 6 to extend Ethernet capability on a different VLAN, the CP itself has its own IP, but PG-to-CPU functions still address rack 0 / slot 3 (and may be routed through the CP if needed).

8. Layer-3 and Transport Layer Diagnostics

8.1 Ping the PLC

ping 192.168.0.1 -t

Expect a reply under 2 ms on a direct cable. If Request timed out:

  • Check both link LEDs (green on PC port and CPU X2 P1 or P2).
  • Try a different patch cable.
  • Confirm Windows subnet mask (ncpa.cpl → properties → IPv4).
  • Disable Windows Firewall temporarily; if ping recovers, add a firewall rule to allow TCP 102 inbound and outbound.
  • Clear stale ARP with arp -d *.

8.2 Verify TCP 102 is open

Test-NetConnection -ComputerName 192.168.0.1 -Port 102

Expected result: TcpTestSucceeded : True. A False result on a successful ping confirms a firewall or routing block on TCP 102.

8.3 Port map

Port Protocol STEP 7 Use
102/tcp ISO-on-TCP (RFC 1006) S7 communication — Upload/Download/Monitor
34964/udp DCP Edit Ethernet Node discovery
161/udp SNMP Topology diagnostics, STEP 7 Network View
80/tcp HTTP CPU Web diagnostics (firmware ≥ V6)
443/tcp HTTPS CPU Web diagnostics (firmware ≥ V8)

8.4 TSAP pairing

Side TSAP Meaning
PG local 01.01 Any SIMATIC program slot 1 (the PG)
CPU partner 01.03 Slot 3 — the central CPU

The S7-400 has up to 16 PG connection resources (varies by firmware). Upload Station to PG opens one; subsequent download or monitor opens another. If the Online → Connections list reports zero free connections, restart the CPU or close other PG/OP sessions, then retry.

9. Common Root Causes and Corrective Actions Matrix

Symptom Likely Root Cause Corrective Action
Edit Ethernet Node lists zero nodes S7ONLINE bound to wrong NIC Re-open Set PG/PC Interface; bind to wired NIC
Edit Ethernet Node lists zero nodes after fix Firewall blocks DCP Allow UDP 34964 inbound
Edit Ethernet Node lists zero nodes — switch in middle PROFINET multicast filtered Configure switch to allow DCP multicast (01:0E:CF:00:00:00) untagged
CPU appears with IP = 0.0.0.0 CPU never assigned IP Use Edit Ethernet Node → Assign IP Configuration
Upload aborts with 33:4940 CPU access protection active Right-click CPU in project → Authorise; enter CPU password
Upload aborts with 33:3305 No free connection resource Close other PG/OP sessions or reset CPU
Upload aborts with timeout, ping OK TCP 102 blocked on PG/PC Disable firewall briefly; add rule for TCP 102
Upload aborts with "station address invalid" Wrong slot/rack entered Use rack 0 / slot 3
PG sees MAC only and upload aborts IP assignment not stored Power-cycle CPU; reassign IP via DCP
Repeat "Connection aborted by partner" CPU in STOP with diagnostic buffer overflow Clear buffer; restart CPU; retry
STEP 7 V5.4 SP5 does not see newer CPU Firmware incompatibility Install HF11 or use STEP 7 V5.5 SP4

10. Verification After Upload

  1. Open the reconstructed project; switch to the Online view in SIMATIC Manager.
  2. Menu: Online → Online Partners. The CPU should appear at rack 0 / slot 3 with its assigned IP.
  3. Menu: Online → Go Online. STEP 7 opens the live session and refreshes blocks.
  4. Menu: Online → Compare with Offline. Identify deltas — offset blocks usually indicate the active CPU has been edited since the last offline save.
  5. Open PLC → Diagnostic Buffer. Read the most recent entries; many upload failures leave a trace here.
  6. Sanity-check online blocks with Online → Monitor/Modify. A simple I32 tag read confirms end-to-end connectivity.
  7. Document the CPU firmware revision under PLC → Module Information — record this to prevent future compatibility issues.

11. Diagnostic Decision Flowchart

Start: Upload Problem Link LED on PC & CPU? Replace cable / NIC Ping CPU IP Subnet mismatch / firewall Edit Ethernet Node OK? Bind S7ONLINE; allow UDP 34964 Upload Station to PG Open TCP 102 / Rack 0 Slot 3 Project uploaded successfully

12. Frequently Asked Questions (FAQ)

What TCP port does STEP 7 use to communicate with the S7-400?

STEP 7 V5.4 SP5 communicates over ISO-on-TCP (RFC 1006) on TCP port 102. DCP discovery uses UDP 34964. Ensure both are permitted through Windows Firewall and any corporate network ACL between the PG and the CPU.

Why does Edit Ethernet Node not find my CPU when the link LED is on?

DCP broadcasts only traverse a single Layer 2 segment. Check that the S7ONLINE access point in STEP 7 is bound to the correct Ethernet adapter (not a virtual/VPN NIC) and that Windows Firewall allows UDP 34964. On managed switches, ensure DCP multicast frames (destination MAC 01:0E:CF:00:00:00) are not filtered.

Can I upload from an S7-400 without knowing its current IP?

Yes. Open PLC → Edit Ethernet Node → Browse; DCP returns the CPU's MAC even when IP = 0.0.0.0. From the same dialog you can assign a new IP. You can also read the IP from the CPU's front display under Settings → Address → PN-IO.

What rack and slot should I enter when the "View" button does not list the CPU?

For a central S7-400 rack use rack 0, slot 3 — the CPU always sits in slot 3. If your PG sits on a different subnet, type the IP directly in the address field instead of using View.

Does STEP 7 V5.4 SP5 support newer CPU 416-3 PN/DP firmware versions?

V5.4 SP5 supports V6.x firmware fully and V7.x with Hotfix HF11 or later applied. V8.x firmware requires STEP 7 V5.5 SP4 or V5.6. A mismatch typically surfaces as "Unknown module type" during HW Config online read or as a 33:4940 transport error during upload.

Back to blog