TIA Portal Hardware Download: Step-by-Step Engineering Guide
1. Overview
A hardware configuration download in TIA Portal transfers the project's device topology, rack arrangement, module order, module parameters, and PROFINET/IP addresses from the engineering PG/PC to the physical CPU and its distributed I/O. Because the hardware image is read by the CPU at startup and is used for I/O consistency and diagnostic mapping, a mismatched configuration produces orange diagnostic indicators, an offline/online delta, or — in the worst case — a CPU startup fault and IO_CONFIGURATION_ERROR (SF LED on).
This guide consolidates the procedure for S7-1200, S7-1500, S7-300, and S7-400 CPUs running TIA Portal V17 / V18 / V19 and includes a dedicated section for Modicon M580 Hot Standby (HSBY) applications that are commonly engineered in hybrid Schneider/Siemens environments. Each step is paired with the exact menu path or button so the procedure is reproducible on a clean engineering workstation.
*.ap17/*.ap18 compiled image that the download dialog skips because the offline signature already matches the online image.
2. Prerequisites
| Requirement | Specification |
|---|---|
| TIA Portal version | V17, V18, or V19 (project *.ap17/*.ap18); mixed versions cause compile refusal |
| Logged-in user privilege | Windows admin or TIA Portal Start TIA Portal as administrator right-click option |
| PG/PC interface | Accessible node reachable on subnet (TCP/IP for PROFINET, MPI/PROFIBUS for legacy) |
| Online access rights (S7-1500) | Password configured for the protection level (read, write, read/write) — see S7-1500 System Manual |
| Project state | Project node (not a block folder or device folder) selected in the project tree before initiating download |
| Backup | Online snapshot taken via Online → Snapshot of monitoring tags or CPU card backup to capture pre-change state |
3. Pre-Download Checklist
- Confirm compiled state. Select the project root in the project tree and press F7 (Compile). Use Compile → Software (rebuild all) if any device configuration has changed; use Compile → Hardware (rebuild all) after editing rack layout, module parameters, or PROFINET device topology.
- Check the diagnostic status bar. A red square in the bottom-right of TIA Portal indicates a compile error. A yellow triangle is a warning that may still permit download but should be inspected.
- Verify accessible nodes. Online → Accessible nodes must list the CPU by MAC or IP. If absent, the PROFINET cable, network switch, or PG/PC interface assignment is wrong.
- Confirm IP routing. For routed PROFINET over multiple subnets, verify the CPU's router IP matches the gateway address in Properties → PROFINET interface → Ethernet addresses.
- Free CPU resources. With heavy process load (e.g. M580 HSBY primary in RUN with both CPUs online), schedule downloads during a planned stop or maintenance window. A failed download under high interrupt load can leave the CPU in inconsistent state.
4. Compile and Rebuild Procedure
The compilation step is the most frequent silent failure point. Hardware downloads will be skipped when the offline compile stamp equals the online image.
4.1 Full hardware rebuild
- Select the SIMATIC S7 CPU device in the project tree.
- Right-click → Compile → Hardware and software (rebuild all).
- Inspect the Compile results pane. Address IO addresses or Module parameters warnings before proceeding.
4.2 Module parameter reset
After replacing a module type or after importing a GSD file, the parameter table may retain legacy entries. Force regeneration:
- Open Device view of the CPU.
- Right-click the affected module → Reset to factory settings.
- Re-apply only the parameters needed for commissioning.
SDB 1000..n system data blocks shipped to the CPU. See Configuring Hardware with STEP 7 for the legacy V5.x procedure.
5. Standard Download Procedure
5.1 Step-by-step (S7-1200 / S7-1500)
- Right-click the CPU in the project tree.
- Select Download to device → Hardware configuration (this filters the transfer to system data only and skips the program).
- Alternatively, use the toolbar icon » Download to device after selecting the CPU.
- The Extended download to device dialog opens. Confirm:
-
PG/PC interface:
Intel(R) Ethernet Connection ... TCP/IPfor PROFINET. - Connection to subnet: Direct or via router IP.
-
Target device address: IP (e.g.
192.168.0.1) or accessible node MAC.
-
PG/PC interface:
- Click Search → select detected CPU → Download.
- The Load preview dialog enumerates actions. Uncheck Continue running if you want to force STOP during the hardware transfer; leave checked only if the target supports RUN-mode hardware download (see Section 7).
- Click Load.
- After the transfer, click Finish on the load results dialog. The CPU performs a restart unless Continue running was selected.
5.2 What the transfer dialog actually does
The download wizard compares the offline SystemDataMlpDb against the online copy and transfers only deltas. When the comparison shows no delta, TIA Portal reports: No download required. That behavior is intentional and confirms that the previous download was committed, but it frequently confuses engineers who expect a visible transfer.
5.3 Trigger download only via the project root
If a block (e.g. OB1 or DB10) is selected instead of the project root or the CPU, only that block is loaded. Use the keyboard shortcut Ctrl+Alt+L on the CPU node to always force hardware download path.
6. Extended Download Dialog
The Extended dialog is invoked by Online → Extended download to device and is the only way to override:
- Module address ranges (slot vs symbolic I/O assignment)
- Force download of all system data (full image, not a delta)
- Transfer the program while skipping hardware (e.g. when only blocks changed)
- Select target interface when multiple PG/PC interfaces are installed
6.1 Recommended use
| Scenario | Recommended action |
|---|---|
| Only hardware added or removed | Extended download → Hardware configuration only |
| Both hardware and logic changed | Download to device → All (hardware + software) |
| CPU firmware update required | Online → Firmware update (separate procedure) |
| IP address change without maintaining online connection | Accessible nodes → assign IP first, then download |
7. STOP vs RUN Mode Behavior by CPU Family
| CPU family | Firmware precondition | Hardware-only download in RUN | Required restart |
|---|---|---|---|
| S7-1200 (Firmware V4.x and later) | V4.0+ | Limited — module address mapping changes require STOP | One restart (warm restart) when slot topology changed |
| S7-1500 | V1.5+ for fully online-configurable slots | Yes — permitted for parameter changes; STOP for slot exchanges | None if slot topology unchanged |
| S7-300 | V2.x and above | STOP mandatory for initial download | STOP → RUN transitions on completion |
| S7-400 | V3.x and above | STOP mandatory | STOP → RUN after successful load |
| ET 200SP / ET 200MP distributed I/O | FW package of each head module | Yes — if head module permits dynamic reconfiguration (DRC) | Optional |
8. Hot-Standby and Redundant CPU Special Cases (M580 HSBY)
The Modicon M580 HSBY is a Schneider Electric platform frequently appearing in hybrid Siemens–Schneider plants. When engaged to TIA Portal principles, two failure modes recur when engineers attempt configuration downloads against the primary with no service interruption:
- The primary drops to PRE-RUN and roll-over to standby occurs, generating an HSBY_SWITCH event.
- Both CPUs enter STOP, stopping the process.
8.1 Required procedure for M580 HSBY in TIA Portal context (Modbus link integration)
- Force the standby CPU into STOP/Pre-Run via the backup application (e.g. Unity Pro / EcoStruxure Control Expert).
- Reduce the application cycle load below 50 %.
- Bring primary to PRE-RUN (Stop on HSBY command).
- Execute the TIA Portal hardware download to the connected Siemens gateway (e.g. Modbus/TCP ↔ PROFINET gateway).
- Re-run primary to RUN; verify standby swap priority.
After the download completes, TIA Portal offers an offline/online comparison tree. The color coding is:
- Green circle — online matches offline.
- Orange exclamation triangle — online differs from offline (pending or failed download).
- Red square — error state (fault, missing module, etc.).
9.1 Quick verification steps
- Project tree → Right-click CPU → Go online.
- Use Online → Online and diagnostics to view CPU type, firmware, and slot configuration.
- Open Diagnostics → Device information to verify the online hardware matches the configured rack.
- Check Diagnostics status in the inspector window for module-level SF/BF conditions.
9.2 Diagnostic buffer check
If the transfer appeared to succeed but the CPU still shows an orange mismatch, query the diagnostic buffer:
- Online → Online and diagnostics.
- Open Diagnostics buffer tab.
- Filter for Download entries — a Download of PC internal system data was started entry confirms the transfer was initiated; a Download of PC internal system data was completed confirms the closure.
10. Verification After Download
- Slot consistency: Right-click CPU → Compile and check consistency; tab Compare shows no difference.
- Module diagnostics: Inspect Device view → Module → Diagnostics: SF/BF LEDs must be dark.
- Process restart (if applicable): Pulse one input and verify the corresponding input tag flips in Watch table or PLC tags.
- Back-up: Project → Retrieve → Online snapshot; store a secure copy of the current CPU image.
11. Common Pitfalls and Troubleshooting Matrix
| Symptom | Probable cause | Corrective action |
|---|---|---|
| Download dialog closes immediately, no action shown | CPU already has identical system data — no delta | Expected behavior; toggle one parameter to force delta and re-test |
| Unable to download hardware configuration | Project node not selected; wrong PG/PC interface | Select CPU in project tree; verify PG/PC interface assignment → subnet |
| Orange mismatch icon after download | Module inserted/removed online, but TIA Portal still views the offline copy | Right-click CPU → Detect hardware differences → reconcile |
| CPU stays in STOP after load | Hardware download triggered STOP→RUN without operator confirmation; firmware mismatch | Check Diagnostics buffer → perform Online → Start CPU |
| IP address of CPU has changed unexpectedly | PN interface IP configured to assignable via topology editor | Use Accessible nodes → assign IP from a known PG/PC |
| CPU reports IO_CONFIGURATION_ERROR | Configuration mismatch — slot empty or wrong module | Compare online/offline rack; reorder/replace module; re-download |
| Hot standby switchover during download (M580 HSBY) | Primary CPU forced into PRE-RUN by load procedure | Follow the HSBY-aware procedure in Section 8; consult Schneider support for the affected BMEP582040 version |
| No accessible node visible | Subnet mask mismatch, firewall on PG/PC blocking UDP broadcast | Verify ping to CPU IP, set subnet mask to 255.255.255.0, temporarily disable Windows firewall |
12. Best Practices and Field-Commissioning Notes
- Always perform hardware download during a commissioning phase, not in steady production, until the application has been verified on a test bench.
- Maintain a versioned
*.ap17/*.ap18archive under a controlled directory; use Project → Archive after each successful transfer. - For S7-1500 and ET 200SP, prefer DRC (Dynamic ReConfiguration) for slot-level parameter changes during RUN; verify head-module firmware supports the relevant DRC version.
- For redundant M580 HSBY, coordinate with the Schneider PLC engineer — hardware download via gateway does not disturb Schneider local I/O but does affect PROFINET cycle synchronization.
- Use a dedicated Service PG for downloads. Avoid TIA Portal autorun installers on production host machines.
- Always enable the CPU protection configuration at Properties → Protection → Password once commissioning is signed off, to prevent unauthorized downloads.
Frequently Asked Questions
Why does the TIA Portal download dialog skip the transfer and report "no download required"?
The dialog performs a delta comparison between the offline compiled SystemDataMlpDb and the online copy. When they match, the transfer is intentionally suppressed because the CPU already contains the configured data. To force a full transfer, use Extended download → All or temporarily change any module parameter, recompile, and re-download.
Do I need to stop the CPU before downloading hardware configuration?
For legacy S7-300/S7-400, STOP is mandatory for the first hardware download. For S7-1500 and ET 200SP, RUN-mode parameter changes are permitted; only slot exchanges and topology changes require a restart. The CPU family decides this — see the table in Section 7.
My CPU shows an orange exclamation triangle after download — what does it mean?
The orange indicator flags an offline/online difference. Possible causes include a module that was added or removed online without being reflected in the TIA Portal project, a parameter mismatch, or a partially interrupted download. Run Online → Online and diagnostics and review the Diagnostics buffer for download entries.
Can I download hardware configuration to an M580 HSBY primary while keeping the process running?
Generally no. Modicon M580 HSBY requires the standby CPU in STOP and the primary placed into Pre-Run before a configuration transfer so the HSBY link is not severed mid-transfer. Plan an M580 HSBY download during a scheduled maintenance window, and follow the Schneider-supported procedure referenced in Section 8.
How do I re-assign the IP address of a Siemens PROFINET device that I have lost access to?
Use Online → Accessible nodes in TIA Portal. The device is detected by its MAC and shown even if its IP is on another subnet. Right-click the entry → Assign IP address → enter an address in the same subnet as the PG/PC, then reload the project. The IP is committed at the next stop-to-start transition of the head module.