How-to
Fixing a WinCC PC station download comms error from TIA Portal V13
Short answer
When TIA Portal V13 compiles but the download to a WinCC PC station fails, the transfer channel to the runtime loader is broken while the HMI itself is healthy. Compile to file, copy the .hmi PData file to the path shown in the WinCC Runtime Loader settings, restart runtime from the loader, then align the firewall, channel settings and PC station IP to restore normal downloads.
On this page
If TIA Portal V13 compiles your HMI project but the download to the WinCC PC station fails with a communication error while the runtime itself is healthy — ping works, VNC connects, tags are live — the transfer channel is broken, not the machine. The fastest fix is to bypass it once: compile to file, copy the .hmi PData file into the project path shown in the WinCC Runtime Loader settings on the HMI PC, then stop and restart runtime from the loader. Once the change is running, align the download channel — the interface configuration, the firewall and the PC station's address in the project — so future downloads go through TIA Portal normally.
Why the download fails when the HMI is otherwise healthy #
Compile and download are two different operations. Compile is local to the engineering PC and proves nothing about the transfer channel. The download to a SIMATIC PC station has to reach the WinCC Runtime Loader on the target and hand it the compiled project data, and that path depends on channel settings, firewall state and the address recorded for the PC station in the project. When ping succeeds, VNC connects and the running HMI is exchanging data with the PLC, the machine network is healthy; the fault sits in that engineering-to-loader channel. A first download to a machine nobody has ever loaded — a fresh install, or a project inherited from someone else — fails this way more often, because no successful download has ever proven the channel works. The general case of a healthy HMI that refuses a project transfer is covered in why an HMI is detected but the project download fails.
Copy the .hmi PData file into the loader path #
This is the fix that gets the change onto the screen today:
- Compile the changed project in TIA Portal V13 until it finishes without errors.
- Generate the runtime file to a folder you control: select the project in the project tree and run the menu command Online > Download to file system. This documented command is the RT Professional route to a runtime file, and the dialog asks you for the storage path. The output is the compiled .hmi PData package the loader expects.
- On the HMI PC — a VNC session is enough — start the WinCC Runtime Loader and open its settings dialog. Write down the project path it shows; that path is where the loader looks for the file at start.
- Copy the .hmi file from the engineering PC into that exact path on the HMI PC and let it replace the file already there.
- Confirm the copied file's timestamp updated. A stale file means the loader would restart the old project and you would be chasing a fault that no longer exists.
Restart runtime from the loader #
The loader owns the runtime session, so start and stop through it. In the WinCC Runtime Loader, stop the running runtime and wait until it reports the session has ended, then press start. The loader reads the file at the configured project path and brings the screens up with your change in them. Do not end the runtime process from Task Manager; the loader coordinates the project state, and a killed process can leave it inconsistent. One safety note: restarting the operator station blanks every screen on it, so do it when someone is at the machine or when the process tolerates the station being dark for the minute or so the restart takes.
Restore the normal download from TIA Portal #
The manual copy is the one-time workaround. To make the standard download work again, change one thing at a time and test the download after each change:
- Align the channel settings on both ends. The vendor's documented load-error guidance for this transfer path tells you to set the CP to "PG mode" with the "Set PC station" application and to check the "baud rate" and "MPI address" network parameters; those checks exist because a channel setting that does not match the project produces exactly this download failure. Make the interface configuration on the engineering PC and the target agree.
- Open the firewall on the HMI PC to the download traffic: allow inbound TCP 102 (ISO-on-TCP) from the engineering station's address only.
- Check the address recorded for the PC station in the TIA Portal project. It must be the actual IP address of the HMI PC's network card; a value left over from an imaged or replaced PC blocks the transfer while everything else looks fine.
Worked example: the engineering PC is at 192.168.0.51 and the HMI PC at 192.168.0.20, both with mask 255.255.255.0. AND each address with the mask: 192.168.0.51 AND 255.255.255.0 gives 192.168.0.0, and 192.168.0.20 gives 192.168.0.0 as well, so the two PCs sit in the same 192.168.0.0/24 subnet and need no gateway between them. The firewall rule on the HMI PC is therefore one line: allow inbound TCP 102 from source 192.168.0.51 to 192.168.0.20. Verify reachability with a ping to 192.168.0.20 from the engineering PC, then run the download again.
Verify and decide #
After the restart, confirm the changed screens appear and tag values animate. If runtime runs but the tags stay static, the runtime-to-PLC link is the fault rather than the download — fixing WinCC runtime that connects to the PLC only via TIA Portal covers that split. Then retry the standard online download from TIA Portal.
The decision, case by case:
- One machine, one engineering seat, and the online channel has never worked: keep the copy-and-restart method as your standard update procedure. The documented download-to-file-system command exists to produce exactly the file you are delivering, and other platforms use the same delivery model — the page on updating a remote LogicLab PLC by copying compiled files works through when a copied file is safe to hand to a running target.
- Several engineers need direct downloads: fix the channel with the three checks above, one item at a time, testing after each, until the standard download succeeds.
- Compile itself fails: the problem is upstream of all of this. Repair the compile errors first, because no transfer method will accept a project that did not compile.
Questions asked
Does this download error mean the HMI PC is failing?
No. Compile, ping, VNC access and live PLC data all passing while only the project download fails points at the engineering-to-runtime transfer channel. The PC hardware, the network and the running runtime are demonstrably healthy. Treat it as a configuration mismatch between the engineering station and the loader on the target, not as hardware trouble, and fix the channel settings rather than replacing anything.
Can I keep delivering updates by copying the .hmi file?
Yes. Copying the compiled runtime file into the loader's project path and restarting from the loader is a legitimate delivery method; the documented download-to-file-system command in TIA Portal exists to produce exactly that file. It works well for a single machine and a single engineering seat. Fix the online download channel only when several engineers or workstations need to push changes directly.
Does the loader fix apply to Comfort Panels or Basic Panels too?
No. The WinCC Runtime Loader and its project path exist on PC stations only. Panels receive projects through their own transfer service, and the documented panel load-error advice addresses a different set of settings, such as setting the CP to PG mode and checking the baud rate and MPI address. A panel that refuses a download needs the panel-specific procedure.