S7-1200 TIA Portal V13 Upload Failure: Root Cause and Fix
The "CPU 6ES7214-1AG40-0XB0 cannot be detected" or "Detecting hardware" error encountered while uploading from a SIMATIC S7-1200 CPU in TIA Portal V13 is almost always the result of one of four field-proven causes: a TIA Portal version that pre-dates the CPU firmware, an incorrectly configured PG/PC interface, a TCP/IP addressing mismatch between the engineering station and the PLC subnet, or a protection / know-how protection password blocking block-level upload. This reference walks through the diagnostic flow and the corrective actions that resolve each of these cases, with the procedure anchored on the 6ES7214-1AG40-0XB0 (CPU 1214C DC/DC/DC, FW 4.x) and TIA Portal V13 (SP1 Update 9 or higher recommended).
1. Problem Statement and Symptoms
Engineer creates a new TIA Portal V13 project with an "unspecified CPU 1200" placeholder, navigates to Online → Accessible nodes or attempts Online → Upload station to PG/PC, and receives one of the following error dialogs:
- "The device could not be reached. Check the connection settings."
- "Hardware detection could not be completed. The module is not accessible."
- "Online connection could not be established. The IP address of the device does not match the configured subnet."
- "Upload not possible: The target module has know-how protection or a read-protection password set."
The CPU 6ES7214-1AG40-0XB0 is a CPU 1214C DC/DC/DC with 14 digital inputs, 10 digital outputs, 2 analog inputs, 100 kB work memory, and 4 MB load memory, and ships with firmware V4.0 or higher. The combination of CPU firmware and TIA Portal V13 base is the single most common cause of the failure.
2. Affected Hardware and Software Matrix
| Component | Identified Part / Version | Notes |
|---|---|---|
| CPU | 6ES7214-1AG40-0XB0 (CPU 1214C DC/DC/DC) | Firmware V4.0 / V4.1 / V4.2 / V4.3 / V4.4 / V4.5 / V4.6 / V4.7 |
| Engineering software | TIA Portal V13 base | Does not support FW V4.2+ CPUs reliably |
| Minimum required TIA | TIA Portal V13 SP1 Update 9 | Adds FW V4.1.x support |
| Recommended TIA | TIA Portal V14 SP1 / V15.1 / V16 / V17 | Full FW V4.x support; recommended for new deployments |
| Default IP (out-of-box) | 192.168.0.1 / 255.255.255.0 | Sub-line to PROFINET interface X1 |
| Default router / gateway | 0.0.0.0 | No routing required if PG is on same subnet |
3. Root Cause Analysis
Each of the four root causes produces a slightly different failure mode. Use the matrix below to triage before changing any project data.
| # | Root Cause | Typical Symptom | Quick Triage |
|---|---|---|---|
| 1 | TIA Portal version older than the CPU firmware | Accessible nodes returns nothing; HW detect returns "module type not supported" | Online → Accessible nodes; right-click CPU → Online & Diagnostics; read MLFB and firmware |
| 2 | PG/PC interface bound to wrong network adapter | Accessible nodes returns nothing; ping to CPU IP fails | Start → Set PG/PC Interface → select S7ONLINE → select the Ethernet adapter connected to the CPU |
| 3 | IP / subnet mismatch between PG and CPU | Ping times out; accessible nodes returns nothing |
cmd → ipconfig; verify CPU default 192.168.0.1, PG must be 192.168.0.x with /24 mask |
| 4 | Protection level or know-how protection set on the CPU | HW detect succeeds, but "Upload to PG/PC" reports "protected block" / "password required" | Right-click the CPU in project tree → Properties → Protection & Security |
4. Pre-flight Network and Adapter Checks
Before opening TIA Portal, confirm the physical layer and IP path are healthy. This eliminates two of the four root causes in under two minutes.
- Verify the PG/PC Ethernet cable is plugged into the CPU 1214C PROFINET port X1, not a downstream switch port that may be administratively down.
- Open
cmdand ping the default CPU address:
If the ping fails, the link or IP stack is the problem, not TIA Portal.ping 192.168.0.1 -t - Verify the PC IP address on the same interface is in the same subnet:
Any host address other thanIP address: 192.168.0.10 Subnet mask: 255.255.255.0 Default gateway: (blank, or 192.168.0.1 if routed)192.168.0.1with the /24 mask is acceptable. - Disable Windows firewall, antivirus real-time scan, and Wi-Fi adapters temporarily for the test. TIA Portal V13 uses ISO-on-TCP (port 102) and TCP (port 102) for S7 communication; aggressive firewalls block discovery.
- Open
Set PG/PC Interface(Start → Siemens Automation → Set PG/PC Interface) and confirm the S7ONLINE access point is bound to the correct physical Ethernet NIC, not the virtual Wi-Fi adapter.
5. Step-by-Step Upload Procedure (TIA V13 SP1 Update 9 or higher)
Once the link is verified, use the following procedure. This is the only officially documented path; the "detect hardware" workflow against an unspecified CPU is not supported and frequently fails.
- Launch TIA Portal V13 SP1 (Update 9 or higher).
- Create a new project. In the project tree, add a new device of type SIMATIC S7-1200 → CPU → Unspecified CPU 1200 if you do not yet know the article number, or insert the exact 6ES7214-1AG40-0XB0 if known.
- Select the new CPU in the project tree. In the toolbar, click Go online, or choose Online → Accessible nodes.
- From the Accessible nodes table, locate the CPU on
192.168.0.1. The MLFB column will display6ES7214-1AG40-0XB0and the firmware column will show the V4.x build. - Right-click the detected CPU and choose Upload station to PG/PC. This is the only command that performs a full station upload (HW config + software + blocks).
- Confirm the dialog. TIA will scan the CPU, retrieve the hardware configuration, the program blocks, the data blocks, the technology objects, and the HMI tags (if WinCC is licensed on the same portal).
- Provide the read-protection / know-how protection password when prompted. If the password is unknown, only the empty shell (HW config) is uploaded and all blocks are shown as "protected".
6. TIA Portal Version and Firmware Compatibility
| CPU Firmware | TIA V13 base | TIA V13 SP1 Upd.9 | TIA V14 SP1 | TIA V15.1 | TIA V16 / V17 |
|---|---|---|---|---|---|
| V4.0 | Yes (limited) | Yes | Yes | Yes | Yes |
| V4.1 / V4.2 | No | Yes | Yes | Yes | Yes |
| V4.3 / V4.4 | No | Partial | Yes | Yes | Yes |
| V4.5 / V4.6 | No | No | Partial (HW detect only) | Yes | Yes |
| V4.7 | No | No | No | Partial | Yes (recommended) |
Compatibility boundaries are documented in the Siemens SIMATIC S7-1200 programmable controller System Manual, chapter "Compatibility". Always verify against the current support entry: Siemens S7-1200 product support (manuals, firmware, FAQs).
7. Protection Levels and Upload Restrictions
The S7-1200 supports three protection levels configurable under CPU Properties → Protection & Security → Access Level:
| Access Level | HMI / Web Read | PG Read | PG Write / Download | Upload to PG/PC |
|---|---|---|---|---|
| Full access (no protection) | Yes | Yes | Yes | Yes (full) |
| Read access | Yes | Yes | With password | Yes (full) |
| No access (HMI/PG read only with password) | With password | With password | With password | Only with password (full) |
| Know-how protection (block-level) | n/a | n/a | n/a | Encrypted blocks only; password required for decryption |
8. Alternative Upload Path: TIA "Device → Upload to PG/PC"
When the project tree already contains a CPU whose article number matches the target station, the upload can be initiated directly from the device node. This is the preferred path for change-management workflows because it preserves the offline/online marker.
- Open the project that contains (or will contain) the matching 6ES7214-1AG40-0XB0.
- Select the device in the project tree.
- Right-click and choose Upload to PG/PC, or use the menu Online → Upload to PG/PC.
- If TIA reports "the device has a different article number from the offline configuration", cancel and adjust the offline device to match the detected MLFB before retrying.
9. Backup Path: Accessible Nodes + Online & Diagnostics
If the full station upload fails because of an offline/online article number mismatch, use Online & Diagnostics to confirm communication is established, then proceed with the correct procedure:
- Open Online → Accessible nodes.
- Select the detected CPU on
192.168.0.1. - Click Online & Diagnostics. If the diagnostic view opens, the TCP/ISO link is healthy and the failure is project-side (article number, protection, or TIA version).
- From the diagnostic view, navigate to Functions → Backup → Online backup as a secondary route for capturing the project to a SIMATIC memory card. See the S7-1200 Online Backup FAQ.
10. Verification
After applying the corrective action, verify a successful upload by checking the following indicators in TIA Portal V13 SP1 Update 9 or higher:
- The project tree contains a device node
PLC_1 [CPU 1214C DC/DC/DC]with article number6ES7214-1AG40-0XB0and a non-zero firmware version. - The Program blocks folder contains
Main [OB1]and any user-defined FBs/FCs/DBs. - The PLC tags → Default tag table shows the symbol table populated.
- Online → Compare offline/online returns "Identical" for the entire device (no differences).
- Online value monitoring on a known tag (e.g.,
%I0.0) returns the live input state.
11. Troubleshooting Matrix (Field-Proven)
| Symptom | Likely Cause | First Action | Second Action |
|---|---|---|---|
| Accessible nodes empty | Wrong PG/PC interface selected | Open Set PG/PC Interface; rebind S7ONLINE to the correct NIC | Disable virtual Wi-Fi / VPN adapters |
| Accessible nodes shows CPU, but upload fails immediately | TIA Portal version older than FW | Check CPU firmware in Online & Diagnostics | Upgrade TIA to V13 SP1 Update 9 (or V15.1 / V16) |
| Upload stops at "Reading blocks..." | Know-how protection on at least one block | Request the block password from the original programmer | Reset the CPU as a last resort |
| Offline/online article number mismatch | Offline CPU placeholder does not match physical MLFB | Change the device type in the project to 6ES7214-1AG40-0XB0 | Re-run upload |
| Ping fails to 192.168.0.1 | PC is on a different subnet, or cable issue | Set PG IP to 192.168.0.10 / 255.255.255.0 | Replace patch cable; verify PROFINET port LED |
| Upload completes but blocks are empty | Read-protection password required | Enter the CPU-level read password in the prompt | Contact the plant owner for the password |
| "Error 33:154" returned during upload | Connection to partner aborted | Disable antivirus / firewall | Disable third-party VPN clients |
12. Best-Practice Notes for the Field
- Always pin the engineering PC to a static IP in the 192.168.0.x / 24 range when commissioning S7-1200 stations; DHCP in industrial networks is a leading source of "intermittent upload" complaints.
- Document the CPU protection-level password in the project documentation. A lost password on a V4.x CPU is a critical maintenance risk because the program must be re-written from scratch after a factory reset.
- Keep at least two TIA Portal versions installed (for example, V13 SP1 Update 9 and V16) when supporting legacy V4.x fleets. A V16-only station cannot communicate with a V4.0 CPU in some edge cases.
- Use the SIMATIC Automation Tool (Siemens SIMATIC Automation Tool entry) for batch firmware / IP / reset operations across large S7-1200 fleets.
- Avoid the "detect hardware" workflow when the MLFB is known. The "Upload station to PG/PC" command is the supported path and recovers both HW config and software.
Why does my S7-1200 not show up in TIA Portal V13 Accessible nodes?
Most often the PG/PC interface is bound to the wrong NIC or the PC IP address is not in the same subnet as the CPU. Open Set PG/PC Interface, bind S7ONLINE to the Ethernet adapter connected to the CPU X1 port, and verify the PC IP is 192.168.0.x with mask 255.255.255.0 so it matches the default CPU address 192.168.0.1.
Which TIA Portal version supports the 6ES7214-1AG40-0XB0 (CPU 1214C, FW V4.x)?
TIA Portal V13 SP1 Update 9 or higher is the minimum that reliably works with FW V4.1 / V4.2. TIA V14 SP1, V15.1, V16, or V17 is recommended for FW V4.3 and later. TIA V13 base (no SP) does not support V4.1+ CPUs.
What is the difference between "Upload station to PG/PC" and "Detect hardware" in TIA Portal?
Upload station to PG/PC pulls the complete station (hardware configuration, program blocks, data blocks, technology objects) from a known, online-reachable CPU. Detect hardware from an unspecified CPU only reads the physical module list and cannot recover the original program. Always use Upload station to PG/PC.
Can I upload from an S7-1200 if I do not know the protection / know-how password?
You can upload the hardware configuration and the empty block shell, but encrypted or password-protected blocks are returned as "protected" and cannot be opened. There is no master password; the only recovery is a factory reset that erases the program.
How do I find the firmware version of a connected S7-1200?
Go to Online → Accessible nodes, select the detected CPU on 192.168.0.1, open Online & Diagnostics, and read the Module information → Firmware field. This is the fastest way to decide whether the installed TIA Portal version is capable of an upload.