S7-300 CPU 315-2DP Upload/Download Troubleshooting via MPI

David Krause11 min read
S7-300SiemensTroubleshooting
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

The Siemens SIMATIC S7-300 CPU 315-2DP is a workhorse PLC with two integrated interfaces: a combined MPI/PROFIBUS DP port (X1) and a dedicated PROFIBUS DP port (X2). When a field engineer connects a programming device (PG) or PC and STEP 7 reports "Upload/Download not done," or the "Accessible Nodes" window remains empty, the root cause almost always falls into one of four layers:

  1. Physical layer — cable, connector, or PC adapter hardware failure.
  2. Interface layer — PG/PC interface assignment, MPI address, or transmission rate mismatch.
  3. CPU port layer — damaged MPI transceiver on the CPU front connector.
  4. Host layer — file system corruption, low disk space, or driver/STEP 7 issue on the PG.

This reference walks the engineer through a deterministic isolation procedure for the CPU 315-2DP (order numbers 6ES7315-2AF03-0AB0, 6ES7315-2AF04-0AB0, 6ES7315-2AH14-0AB0) using the PC Adapter USB family, the original MPI cable approach, and STEP 7 V5.x / TIA Portal diagnostics.

Safety first: Removing or inserting the MPI/PROFIBUS front connector on a CPU 315-2DP must only be performed with the PLC in STOP or with the supply voltage removed. Hot-plugging the front connector with the CPU in RUN can interrupt cyclic PROFIBUS I/O and trigger peripheral fault (OB85) entries on slaves downstream of the CPU.

CPU 315-2DP Hardware Identification

Before troubleshooting, confirm the exact variant. The MPI behavior and diagnostic buffer content differ between firmware releases.

Order Number (MLFB) Firmware MPI Default Address MPI Default Baud Rate Notes
6ES7315-2AF03-0AB0 V1.x 2 187.5 kbps Legacy, requires STEP 7 V5.2+
6ES7315-2AF04-0AB0 V2.0 2 187.5 kbps Replaces -2AF03
6ES7315-2AH14-0AB0 V3.x 2 187.5 kbps Higher memory, supports iMap

The CPU front panel exposes two 9-pin Sub-D female connectors. By Siemens convention, X1 is the combined MPI/PROFIBUS DP master, and X2 is PROFIBUS DP only. Both have a terminating resistor switch and node-address rotary selectors next to the connector.

LED Diagnostics on the CPU 315-2DP

When the CPU is in STOP (typical state for upload-only situations), read the LED status from left to right across the front panel:

LED Color Meaning for Upload/Download
SF Red Group fault. Look in the diagnostic buffer; not directly an MPI issue.
BF Red Bus fault on DP. Confirms X1/X2 cable/terminator problem, not necessarily upload failure.
DC5V Green Internal 5 V supply OK. If dark, the CPU is unpowered.
FRCE Yellow Force active. Informational.
RUN Green Cyclic program execution.
STOP Yellow CPU in STOP. Required state for some download operations depending on selected mode.

If SF is lit but the MPI link lights correctly, the upload/download path is healthy — the fault is in the user program or hardware configuration, not the cable. Record the diagnostic buffer (PLC → Diagnostic/Setting → Diagnostic Buffer in STEP 7) and search the Siemens SIMATIC Customer Support Knowledge Base by event ID before assuming a port failure.

PC Adapter LED Diagnostics

The Siemens PC Adapter USB (6ES7972-0CB20-0XA0) and PC Adapter USB A2 (6ES7972-0CB35-0XA0) each have three status LEDs that provide a fast health check without launching STEP 7:

LED Function What to Expect During Upload/Download
Power USB bus power present On solid when the PC recognizes the adapter and the driver is loaded.
USB USB link to host active On solid after the S7DOS driver initializes; blinks during data traffic to STEP 7.
MPI/DP MPI/PROFIBUS link to PLC On solid once the adapter has token or repeated a telegram; blinks during upload/download.

Use this sequence:

  1. Plug the adapter into the PC, install SIMATIC S7DOS USB driver from the STEP 7 / TIA Portal DVD or the Siemens S7DOS download page. The Power and USB LEDs should illuminate.
  2. Connect the MPI cable to the CPU X1. The MPI/DP LED should light within one second.
  3. If the MPI/DP LED stays dark, the X1 transceiver, the cable, or the PROFIBUS connector is the problem.
  4. Swap the connector to X2 with the terminator OFF. If MPI/DP lights up on X2 but not X1, the X1 driver on the CPU is damaged — the CPU module must be replaced.

Cable and PROFIBUS Connector Verification

Field experience shows that ~70% of upload/download "not done" reports on the S7-300 family are caused by the PROFIBUS connector or the cable, not by STEP 7. Verify each link in the chain:

  • Inspect the 9-pin Sub-D connector pins for bent or recessed pins. A 6-pin PROFIBUS connector (Siemens 6GK1500-0FC10) is the minimum: pins 3 (B-line), 8 (A-line), 5 (shield/ground), 6 (VP, +5 V terminated), 4 (RTS), 2 (GND).
  • Measure between pin 3 and pin 8 with a multimeter. A healthy cable reads < 110 Ω (typically 95 Ω) looped through the terminators. Open circuit means a broken conductor.
  • Check the 24 V terminator supply on pin 6 — it must read 5 V ± 5%. The CPU 315-2DP supplies terminator voltage only if its X1 switch is ON and the PLC is powered.
  • Confirm shield continuity from connector to cabinet ground; a floating shield allows CM noise that can drop the link.
Do not use a 25-pin to 9-pin serial adapter — the legacy MPI cable (6ES7901-0BF00-0AA0) is RS-232 levels and is incompatible with the USB PC Adapter. Mixing them up is a common cause of "PC adapter not detected" on Windows 10/11.

PG/PC Interface Configuration

The Set PG/PC Interface control panel is the single most common source of upload failures. The wrong interface point, wrong transmission rate, or wrong PC Adapter assignment produces exactly the symptoms described — STEP 7 sits for 10–30 s, then reports the node is not accessible.

  1. Open Start → Control Panel → Set PG/PC Interface.
  2. For PC Adapter USB A2, select PC Adapter (Auto) or PC Adapter (MPI). Avoid PC Adapter (PPI) — PPI is a S7-200 protocol, not valid for the S7-300.
  3. Click Properties and set the Transmission Rate to 187.5 kbps (default) or the value configured in HW Config → Properties → MPI Interface of the CPU.
  4. Set the Highest Station Address to 31 for a single-node download, or 126 for multi-node MPI.
  5. Set the PC Adapter MPI Address to 0 (default, master-capable).
  6. Confirm the COM/USB port matches the physical connection: USB for PC Adapter USB A2, COMx for legacy RS-232 MPI.

If the PC is running Windows 10 build 1903 or newer with the Microsoft USB Serial converter, the legacy PC Adapter (MPI) entry may fail even though Power and USB LEDs are on. Install the Siemens S7DOS64 driver and select PC Adapter (Auto) instead — it auto-detects both USB and serial variants.

MPI Address and Baud Rate

The default MPI address of the CPU 315-2DP is 2. STEP 7 broadcasts to addresses 1–31 by default. If the address was changed in HW Config or by a previous programmer, STEP 7's "Accessible Nodes" may return nothing.

Parameter Default Where to Find It
MPI address of CPU 2 HW Config → CPU 315-2DP → Properties → MPI Interface → Address
MPI transmission rate 187.5 kbps HW Config → Properties → MPI Interface → Subnet
Highest MPI address in network 31 HW Config → MPI subnet → Properties
PG/PC adapter address 0 Set PG/PC Interface → Properties → PC Adapter MPI Address

To find a CPU with an unknown address, choose PLC → Edit Ethernet Node does not apply for MPI — use PLC → Show Accessible Nodes or scan all 31 addresses by reducing Highest Station Address in the PG/PC interface and watching the LED activity on the PC Adapter. If the CPU is isolated (terminators ON at both ends, no other nodes), the master PG will find it on address 2 in approximately 4 seconds.

STEP 7 / TIA Portal Software Issues

Upload failures sometimes surface as STEP 7 errors rather than a true communication timeout:

Symptom Likely Cause Action
"No connection to the target system" Wrong PG/PC interface Recheck Section 6.
"Download to device: The online connection was interrupted" Cable bounce or CPU STOP → RUN transition Retry, keep CPU in STOP.
"The data could not be written" (file error) Target folder read-only or disk full Apply the host-layer fixes in Section 9.
"The online connection was not established" after major STEP 7 version change STEP 7 V5.6 against CPU firmware V1.x project mismatch Open the project in the matching STEP 7 version or perform a Upload to PG without an offline project.

The CPU 315-2DP order number -2AF03 (V1.x) is not supported in TIA Portal V16+. To upload the program from a V1.x CPU you must use STEP 7 V5.5 SP4 or V5.6. The newer -2AH14 (V3.x) is fully supported by TIA Portal V15.1 onward. Confirm the firmware version from the front label before changing the toolchain.

Host-Side File System and Storage Errors

When "upload/download not done" is accompanied by a Windows file dialog, the problem has moved off the PLC bus and onto the PG's storage stack. Two Microsoft-documented failure modes match the symptom exactly:

  1. Disk full — STEP 7 stores .s7p project archives in %USERPROFILE%\Documents\Siemens\Automation. If the drive has < 200 MB free, the upload truncates and reports failure. Free up space, as described in the Google Chrome disk-space guidance for general download errors and the corresponding Windows Disk Cleanup procedure.
  2. Corrupted file system — interrupted writes to a project file produce a 0-byte block or a phantom handle. Run chkdsk C: /f /r per Microsoft Q&A: Cannot Complete a Download/Upload and the underlying disk-error KB article at Microsoft Support KB 929833.
Run chkdsk outside the STEP 7 session. After repair, re-create the project folder from the template (File → New Project → Wizard) and attempt the upload again. A recovered <file>.$db or .bak residue is not a valid project.

Systematic Troubleshooting Flowchart

Use the following decision tree when "Upload/Download not done" or "No accessible nodes" is reported on a CPU 315-2DP:

Start: upload/download fails Power + USB LEDs on adapter? Reinstall S7DOS driver No Connect MPI to X1 Yes MPI/DP LED on? Swap to X2 / replace cable No Replace CPU module X1 dead PG/PC interface set to MPI? LED on Set 187.5 kbps, addr 0 No "Accessible nodes" shows CPU? Yes Scan addresses 1–31 No Proceed with upload/download Yes Done

Troubleshooting Matrix

Observed Symptom First Check Second Check Resolution
Adapter Power LED dark USB port 5 V USB cable Try a different USB port; replace the cable.
Adapter USB LED dark S7DOS driver Device Manager → USB Serial Converter Reinstall driver from Siemens DVD.
Adapter MPI/DP LED dark PROFIBUS connector Terminator switch on CPU Reseat connector; verify terminator ON at both ends.
"Accessible nodes" empty PG/PC interface Highest Station Address Set PC Adapter MPI, 187.5 kbps, addr 0.
Adapter LED on, but no STEP 7 connect CPU MPI address STEP 7 project version Scan all 31 addresses; use matching STEP 7 version.
Connection drops mid-upload CPU mode Host file system Keep CPU in STOP; run chkdsk.
Upload succeeds but file 0 bytes Free disk space Permissions on project folder Free > 500 MB; check write permission.

Verification

After the suspected cause is repaired, perform the following verification sequence before returning the line to production:

  1. Open STEP 7 / TIA Portal and run PLC → Display Accessible Nodes. The CPU 315-2DP must appear with its configured MPI address (default 2).
  2. Perform a read-only upload (Upload Station to PG) and confirm the resulting project has a populated S7 Program folder with Blocks containing the expected OB/FB/DB.
  3. Compare the uploaded project with the as-built documentation: the Block consistency check (PLC → Compare Blocks) must show no live differences.
  4. Document the final PG/PC interface parameters in the maintenance log so the next engineer does not redo this exercise.
Preventive tip: When commissioning a new CPU 315-2DP, take a baseline Upload Station to PG immediately after the first download. Store the resulting archive on the engineering workstation, not on the PLC. This baseline allows instant comparison if a later upload/download fails for an unrelated reason.

Frequently Asked Questions

What is the default MPI address of a Siemens S7-300 CPU 315-2DP?

The factory-default MPI address is 2 and the default baud rate is 187.5 kbps. Both can be changed in HW Config or via the online PLC → Access Protection / MPI Address dialog. If a previous programmer changed them and no record exists, scan all 31 stations from the PG/PC interface.

Why does STEP 7 show "Accessible Nodes" empty on a CPU 315-2DP that is clearly powered?

The most common cause is a PG/PC interface mismatch — STEP 7 is configured for TCP/IP or a CP card instead of the PC Adapter. Open Set PG/PC Interface, select PC Adapter (Auto) or PC Adapter (MPI), set 187.5 kbps, and rescan. A dark MPI/DP LED on the adapter points to a cable/connector issue; a lit LED with no nodes usually means the rate is wrong or another MPI master is at the same address.

Can a CPU 315-2DP with firmware V1.x be uploaded using TIA Portal?

No. The 6ES7315-2AF03-0AB0 (firmware V1.x) is supported only by STEP 7 V5.x. Use STEP 7 V5.5 SP4 or V5.6 to upload/download. The -2AH14 (V3.x) is the first -2DP variant fully supported by TIA Portal V15.1 and newer.

How do I tell whether the X1 MPI/DP port on the CPU is dead?

Move the PC Adapter to the X2 connector with the terminator switch OFF on the CPU. If the adapter's MPI/DP LED lights on X2 but stays dark on X1, the X1 driver on the CPU module is damaged. The CPU must be replaced. Confirm by reading the diagnostic buffer: a hardware-fault entry on the MPI interface typically accompanies a dead X1 transceiver.

What is the minimum free disk space required on the engineering PC for an S7-300 upload?

Allow at least 500 MB of free space on the volume that holds the %USERPROFILE%\Documents\Siemens\Automation folder. STEP 7 builds temporary ~temp files during upload, and a full disk produces a generic "data could not be written" error rather than a clear file-system message. Run Disk Cleanup and repair the volume with chkdsk if the error persists after freeing space.

Back to blog