Fixing S7-1500 "Diagnostic Data Not Available" Error After TIA Portal Upload
Applies to: SIMATIC S7-1500 CPU 6ES7 510-1DJ00-0AB0 (CPU 1510SP-1 PN), firmware V1.6 and V2.8, with ET 200SP distributed I/O on PROFINET. TIA Portal V14 → V16 cross-version upload scenario. Replaces a previous S5-based machine control upgrade path.
1. Problem Description
After uploading a legacy TIA Portal V14 project into a newly commissioned S7-1500 station (CPU 6ES7 510-1DJ00-0AB0, firmware V2.8) using TIA Portal V16, the controller exhibits a deterministic fault signature:
- CPU state: STOP, RUN/STOP LED steady yellow, MAINT LED off (no maintenance demanded), ERROR LED off.
- ET 200SP behaviour: Every channel-status LED on every I/O module blinks green at the slow diagnostic cadence (2 Hz) instead of showing a steady green "channel OK" or a steady red "channel fault".
- IM 155-6 behaviour: The PROFINET interface module accepts the AR (Application Relationship) but reports no module-level diagnostics.
- Online > Online & diagnostics > Diagnostic buffer: Entries present for the CPU itself, but the lower-level node expansion shows "Diagnostic data not available" against the IM and every slot.
- Project tree: Hardware catalog and device view render without error, but the compare view shows unresolved differences between configured and actual station.
The symptom is consistent with a hardware configuration that has been compiled and downloaded without a matching device description for the actual module firmware on the rack. TIA Portal generates a valid PLC program, but the I/O assignment table cannot be reconciled with the station, so the CPU remains in STOP with diagnostics suppressed.
2. Affected Hardware, Firmware, and Software
| Component | MLFB / Designation | Firmware / Version | Relevance |
|---|---|---|---|
| CPU 1510SP-1 PN | 6ES7 510-1DJ00-0AB0 | V2.8 (new), V1.6 (existing) | Firmware mismatch after project upload across stations |
| TIA Portal | STEP 7 Basic / Professional | V16 Update 7+ recommended | Project was archived from V14 |
| ET 200SP IM | 6ES7 155-6AUxx-0BN0 | Per station | Module LEDs blinking green |
| ET 200SP Base Units | 6ES7 193-6BPxx-0DA0 / 6ES7 193-6BPxx-0BA0 | Type A0 / A1 (light/dark) | Base unit type must match slot definition |
| HSP (Hardware Support Package) | HSP_0181 / HSP_0186 / HSP_0196 | For V2.8 module revisions | Required to expose V2.8 module descriptors |
The 6ES7 510-1DJ00-0AB0 is a CPU 1510SP-1 PN for the ET 200SP form factor. Because Siemens ships firmware updates as free-of-charge downloads via the Siemens Industry Online Support portal, a station purchased "new" from distribution may carry any released firmware line. Two stations with the identical MLFB can therefore differ at the firmware level — which is exactly the situation in this case (V1.6 on the existing line, V2.8 on the new line).
The relevant Siemens documentation is the SIMATIC S7-1500 Automation System Manual and the ET 200SP Distributed I/O System Manual. The CPU's functional scope and supported module revisions are bound to its firmware version; therefore the TIA Portal project must be compiled against a device description (GSDML / HSP) that matches the firmware actually installed on the rack.
3. LED Status Interpretation
Correct interpretation of the LEDs is the first diagnostic step and confirms the fault path before touching the project.
| LED | State | Meaning | Action |
|---|---|---|---|
| CPU RUN/STOP | Steady yellow | CPU in STOP, no fatal error, configuration pending | Check hardware configuration |
| CPU ERROR | Off | No class-1 system fault | Configuration mismatch, not a hardware fault |
| CPU MAINT | Off | No maintenance demanded | Configuration can be downloaded |
| IM 155-6 RN/ER | Steady green RN | PROFINET AR established | CPU-controller communication OK |
| IM 155-6 MT/ER | Off | No maintenance event | Slot diagnostics suppressed |
| Module channel LED | Flashing green ~2 Hz | Module configured, no valid slot assignment | Slot assignment invalid; re-detect station |
| Module channel LED | Steady green | Channel OK, configuration accepted | Healthy state — not yet reached |
| Module channel LED | Steady red | Channel fault or module fault | Hardware fault — investigate separately |
4. Root Cause Analysis
Three contributing causes converge to produce the reported symptom. All three must be resolved before the CPU will transition to RUN.
4.1 Firmware mismatch between project and rack
TIA Portal V14 was used to commission the original station against CPU firmware V1.6. The project archive therefore carries device descriptors and compiled configuration blocks for V1.6. The new station carries V2.8 firmware. TIA Portal V16 alone does not retroactively upgrade the device descriptors inside an archived project; it only recognises the modules it has been told about through installed HSPs and the hardware catalog. The result is that the project compiles, but the download produces a configuration that the V2.8 station cannot reconcile.
4.2 Missing or stale Hardware Support Package (HSP)
An HSP is a ZIP bundle published by Siemens containing updated device descriptions (GSD/GSDML, module type definitions, firmware-level capabilities). When a new station is added to a project, the engineering station must have an HSP installed that covers the firmware revision present on the physical device. If the engineering station has only the original V1.6 descriptors, the V2.8 CPU either does not appear in the catalog or appears without its full V2.8 capability set. The download will then omit required configuration blocks.
4.3 ET 200SP Base Unit type mismatch
ET 200SP modules require a base unit whose colour/type code matches the slot definition. "Light" base units (BU type A0, e.g. 6ES7 193-6BP00-0DA0) feed a new potential group. "Dark" base units (BU type A1, e.g. 6ES7 193-6BP00-0BA0) continue the potential group from the left neighbour. If the base unit types selected in the TIA Portal device view do not match the physically inserted base units, the slot is marked invalid by the IM and module-level diagnostics cannot be retrieved — which surfaces as "Diagnostic data not available" for those components.
5. Prerequisites for Recovery
Before opening the project in TIA Portal V16, confirm the following on the engineering station (ES) and on the physical rack.
- Confirm TIA Portal V16 Update 7 or later is installed. Earlier V16 builds have known issues with V2.8 module support that were fixed in subsequent updates. Reference: TIA Portal V16 release notes and updates.
- Install the latest HSP that covers firmware V2.8 of the CPU and the V2.8 IM 155-6 (HSP_0186 or later). Path in TIA Portal: Options > Support Packages > Install HSP.
- Confirm the engineering station can reach the new S7-1500 station over PROFINET. Verify the CPU's IP address, subnet mask, and that the ES network adapter is in the same subnet. Ping the CPU IP before launching TIA Portal.
- Take an offline backup of the current (faulted) project archive. File > Archive > Project. Never modify the only copy.
- Verify physical inventory against the bill of materials: CPU MLFB and firmware (readable via the CPU's display or the SIMATIC Automation Tool), every IM 155-6 MLFB and firmware, every I/O module MLFB and firmware, every base unit type code printed on the side of the BU.
6. Step-by-Step Recovery Procedure
The procedure below restores the configuration in a single, verifiable pass. Do not skip the verification steps between phases — each one isolates a specific cause from the three listed in Section 4.
Phase A — Read the actual station (do not assume)
- In TIA Portal V16, open the project archive.
- Switch to Project view > Devices & networks.
- Right-click the PROFINET subnet containing the new station and select Go online > Online & diagnostics.
- In the diagnostics view, expand the accessible node list and confirm the CPU is reachable. If not reachable, fix the IP / routing first.
- Open the CPU's Online & diagnostics > Diagnostic buffer. Capture the most recent entries — they will reference the slot assignment failures and confirm the firmware version.
Phase B — Reconcile device catalog
- In Devices & networks, select the new CPU device and double-click Device view.
- Note the device version displayed in the title bar (e.g. "V2.8"). If V2.8 does not appear in the dropdown, the HSP is missing — return to Prerequisites step 2.
- If the project is locked to V1.6 because it was compiled under V14, change the device version to V2.8 using the dropdown. TIA Portal will prompt for a recompile. Accept.
- Open the ET 200SP IM 155-6 station. Right-click each slot and confirm the I/O module part number matches the module physically inserted. If a module is missing from the catalog, install the corresponding HSP.
Phase C — Force a clean hardware compile and download
- In the project tree, right-click the CPU and select Compile > Hardware (rebuild all). This step regenerates the system data blocks (SDBs) from the current device configuration and discards the V14-era SDBs.
- Resolve every entry that appears in the Compile results window. Do not ignore warnings; many warnings in the S7-1500 environment are fatal at runtime.
- Select the CPU and click Download to device > Hardware and software (only changes).
- In the download dialog, tick Overwrite all for the system data, untick "Keep current program" — the goal is to push a consistent, freshly-compiled configuration.
- Click Go online after the download completes.
Phase D — Verify slot diagnostics
- Online & diagnostics > expand the ET 200SP station.
- Each module must show its firmware revision and "Status: OK". The "Diagnostic data not available" message must be gone.
- Channel LEDs on the I/O modules must transition from flashing green to steady green within 5 seconds of the configuration being accepted.
- If diagnostics are still missing for a single module while the rest are OK, the most likely cause is a base-unit-type mismatch on that slot — go to Section 7.
Phase E — Transition the CPU to RUN
- In the online view, click Start CPU.
- Confirm RUN/STOP LED transitions from yellow to flashing yellow (STOP requested) to steady green (RUN).
- Monitor the diagnostic buffer for at least 60 seconds of clean operation before handing the line over.
7. ET 200SP Base Unit Verification
Base unit verification is the most frequently missed step. ET 200SP modules are inserted into base units (BUs); the base unit determines the potential group topology and therefore the slot's electrical environment. TIA Portal must know which base unit is at every slot before it can assign module parameters such as the supply voltage group, channel diagnostics enable, and value status.
Each base unit is marked on the side with a colour code that maps to a type designation:
| Base Unit Type | Typical MLFB | Colour code | Function |
|---|---|---|---|
| BU type A0 (light) | 6ES7 193-6BP00-0DA0 | Light grey | Opens a new potential group, feeds 24 V from the left |
| BU type A1 (dark) | 6ES7 193-6BP00-0BA0 | Dark grey | Continues the potential group from the left |
| BU type B0 | 6ES7 193-6BP00-0DA1 | Light grey, wider | For relay modules and modules with wider footprint |
| BU15-PN/A | 6ES7 193-6BN00-0DA0 | — | BaseUnit for interface module |
To verify base unit alignment against the project:
- Physically inspect the side of each base unit. Note the type code printed on the label (e.g. "BU A0", "BU A1").
- In TIA Portal, open the ET 200SP device view and click each slot. In the inspector window under Properties > General, confirm the BU type matches the physical unit.
- If the project was inherited from V14 and uses the older base unit selection logic, the BU assignment may default to the wrong type. Manually set the BU type for every slot.
- Recompile hardware and redownload.
8. Firmware Migration Considerations (V1.6 → V2.8)
Firmware V2.8 of the CPU 1510SP-1 PN introduces functional changes relative to V1.6 that affect project portability:
- Motion / technology objects: V2.8 expands the count of supported TO instances and adds new cams/synchronous operation features. Projects originally compiled against V1.6 will compile against V2.8 without manual rework in most cases, but technology objects must be re-assigned at the device level (Technology objects > Assignment).
- Security / access protection: V2.8 enforces stricter password policy defaults. If the project contains protected blocks, the local CPU password must be re-entered.
- OPC UA server: V2.8 enables OPC UA server functionality by default if the project has the license. If the original station did not use OPC UA, disable the server explicitly to prevent unintended exposure.
- Diagnostic block behaviour: V2.8 reorganises some system diagnostic block (SDB) indices. Pre-V2.0 projects may reference SDB indices that are no longer emitted by V2.8 firmware. This is the mechanism that produces "Diagnostic data not available" — the diagnostic block dispatcher cannot find the expected SDB, so it returns an empty diagnostic record.
If firmware V1.6 must be preserved (for example because the existing line must remain bit-for-bit identical to the new line during the ramp-up phase), downgrade the new CPU using the SIMATIC Automation Tool or the CPU's web server before commissioning. Reference: Firmware update / downgrade S7-1500. A downgrade is destructive of the station configuration; back up first.
9. Verification and Commissioning Checklist
Use this checklist to confirm a clean recovery before handing the line back to operations.
| # | Check | Method | Pass criterion |
|---|---|---|---|
| 1 | CPU state | LED on front of CPU | Steady green RUN, no yellow |
| 2 | Diagnostic buffer clean | Online & diagnostics > Diagnostic buffer | No incoming events for > 60 s |
| 3 | IM 155-6 PROFINET status | Online & diagnostics > PROFINET diagnostics | AR established, no substitute / not-arbitrated |
| 4 | Slot diagnostics available | Online & diagnostics > expand each slot | "Diagnostic data not available" absent on every slot |
| 5 | Channel LEDs steady | Visual inspection | Steady green on healthy channels |
| 6 | Module firmware visible | Online & diagnostics > Module information | V2.8 reported on every module |
| 7 | Watchdog timeouts absent | Diagnostic buffer filter for "OB82 / OB83 / OB86" | No OB82/83/86 entries in last 5 min |
| 8 | Forcing / non-retentive cleared | Project tree > CPU > Force table | Empty or documented |
| 9 | Time of day synchronised | Online & diagnostics > Functions > Set time | CPU clock within 1 s of reference |
| 10 | Program backup | Card reader / SIMATIC Automation Tool | Latest project archived to plant server |
10. Troubleshooting Matrix
| Observed symptom | Likely cause | Action |
|---|---|---|
| CPU in STOP, all I/O LEDs flashing green | Configuration not downloaded / V1.6 compiled against V2.8 station | Phase C — full hardware rebuild and download |
| CPU in STOP, single slot shows "Diagnostic data not available" | Base unit type mismatch on that slot | Section 7 — verify BU type, recompile |
| CPU in STOP, IM not visible online | PROFINET name / IP not assigned | Assign PROFINET device name via Topology Editor or PRONETA |
| CPU in STOP, diagnostic buffer reports "IO configuration error" | Module in slot does not match configured module | Compare physical module MLFB to project slot |
| CPU in STOP after firmware update | Project still references old module descriptors | Upgrade project device version, install matching HSP, recompile |
| Diagnostic buffer reports "Module replacement without removable media" errors | Newly inserted module has different firmware than the original | Configure Module replacement without PG on the IM or update the configuration to match the new module |
| CPU RUNs but process values stay at 0 | Hardware configuration downloaded but process image not updated | Check process image partition assignment; verify I/O address in the program |
| Online > "Go online" reports "Cannot reach partner" | PG/PC interface, subnet mismatch, firewall on PROFINET | Verify ES network adapter is on the same subnet; disable Windows firewall for the PROFINET adapter |
11. Prevention and Best Practices
- Maintain a per-station firmware register. Track every station's CPU and IM firmware version in a plant-level document. New stations must be commissioned against the registered firmware, or the firmware must be downgraded before commissioning.
-
Version your archives with explicit firmware context. Include the firmware version in the archive file name (for example
Line2_S7_V14_CPU_V16.zip) and inside the project properties (Project tree > CPU > Properties > General > Comment). - Keep the engineering station current. Install every released HSP promptly. New HSPs add support for new firmware without requiring a TIA Portal upgrade.
- Use a standardised base-unit pattern. Adopt a project template in which every light base unit is followed by a known number of dark base units before the next light base unit. Encode this pattern in the project template so that newly inserted stations inherit it.
- Avoid "upload and forward" workflows. Uploading a project from a working station, editing it offline, and downloading to a different station is fragile across firmware revisions. Prefer to archive from the original engineering source and re-target explicitly.
- Run the SIMATIC Automation Tool before commissioning. The tool performs an automated IP/name assignment and firmware comparison across the entire plant network and surfaces mismatches before they reach the diagnostic buffer.
12. Key Engineering Parameters
Record these values in the project's documentation block as a quick reference for any future engineer who picks up the station.
| Parameter | Value | Source |
|---|---|---|
| CPU MLFB | 6ES7 510-1DJ00-0AB0 | CPU front label / TIA project |
| CPU firmware | V2.8 (line 2), V1.6 (line 1) | CPU display / Online & diagnostics |
| PROFINET device name |
cpu1510sp-line2 (example) |
Topology Editor / PRONETA |
| CPU IP address | 192.168.0.10 (example) | CPU display / project properties |
| IM 155-6 MLFB | Per station BoM | Station BoM |
| IM 155-6 firmware | Per installed HSP | Online & diagnostics |
| HSP installed on ES | HSP_0186 or later | Options > Support Packages |
| TIA Portal build | V16 Update 7 | TIA Portal Help > About |
Why does my S7-1500 show "Diagnostic data not available" for every module after a TIA Portal upload?
This appears when the project was compiled against an older firmware version (for example V1.6) and downloaded to a station whose firmware is newer (for example V2.8) without an updated Hardware Support Package installed on the engineering station. The system data blocks are emitted for the older descriptors; the V2.8 station cannot reconcile the slot assignments, so the IM returns an empty diagnostic record. Install the matching HSP, set the device version in TIA Portal to V2.8, recompile the hardware, and redownload with "Overwrite all system data".
Can I upload a project from TIA Portal V14 and download it unmodified using TIA Portal V16?
You can, but the upload from V14 carries V14-era device descriptors. The download in V16 uses whatever descriptors exist in the V16 project tree. If the firmware on the target station does not match, the CPU will go to STOP and module diagnostics will be suppressed. Always verify the device version after a cross-version upload and recompile the hardware before downloading.
Is it safer to downgrade the new CPU firmware to V1.6 instead of upgrading the project?
For a single spare station where the existing line is the reference, downgrading is faster because the project is known-good. Use the SIMATIC Automation Tool or the CPU's integrated web server. Reference: S7-1500 firmware update / downgrade. A downgrade is destructive — back up the station configuration first. Do not downgrade below V1.6 on a CPU that ships with V2.8 because the loader image may not support it.
How do I know whether the ET 200SP base units are the cause?
If only one slot shows "Diagnostic data not available" while the rest of the station is healthy, the cause is almost always a base-unit type mismatch on that slot. Physically inspect the colour code printed on the side of the BU (light grey = type A0, dark grey = type A1) and compare it to the BU type shown in the TIA Portal device view under Properties > General. Mismatched types invalidate the potential group and suppress slot diagnostics.
Why are all the I/O module LEDs blinking green instead of showing steady green?
A 2 Hz green blink on every channel LED while the CPU is in STOP indicates that the modules are powered and communicating with the IM but the slot assignment is invalid — typically because the configuration download was never accepted by the station. After the corrected configuration is downloaded, channel LEDs should transition to steady green within five seconds and "Diagnostic data not available" should disappear from the online view.