Overview
Field updates of an S7-1200 CPU and a connected KTP400 Basic HMI must be performed without TIA Portal access when the customer environment prohibits remote engineering software (no VPN, no engineering station on site, locked-down network). Two native Siemens mechanisms cover this use case: the SIMATIC Memory Card (SMC) transfer-card function for the S7-1200, and the ProSave backup/restore utility for the HMI. The PLC update is delivered as a pre-loaded SMC that the customer hot-swaps; the HMI update is delivered as a ProSave .psb backup file plus the ProSave installer, which the customer runs against the HMI over Ethernet.
This procedure covers TIA Portal V17 projects targeting an S7-1200 CPU 1211C/1212C/1214C/1215C with firmware V4.5 or later and a KTP400 Basic PN with a WinCC Comfort V17 image. Both targets support transfer-card operations, but each must be handled through its own mechanism.
Prerequisites
| Item | Specification | Notes |
|---|---|---|
| SIMATIC Memory Card | 6ES7954-8LE02-0AA0 (12 MB) or larger (e.g., 8LF02 24 MB, 8LL02 256 MB) | Must be a Siemens-branded SMC, not a generic SD. The S7-1200 SMC is pre-formatted with the SIMATIC file system. |
| KTP400 Basic PN (target) | 6AV2 123-2DB03-0AX0 (mono) or 6AV2 123-2DC03-0AX0 (color) | Firmware V14.0.0.0 or later required for TIA V17 image compatibility. |
| TIA Portal (engineering) | V17 Update 4 or later | Same major version used to compile the project shipped to the customer. |
| ProSave (engineering + customer) | V17.x, included in SIMATIC WinCC V17 toolset | Installable as a standalone executable for customers without TIA Portal. |
| Ethernet cable (customer restore) | RJ45, Cat5e or better | Direct PC-to-HMI link or via a managed switch on the same subnet. |
| Customer PC OS | Windows 10 LTSC 2019/2021 or Windows 11 (x64) | ProSave V17 is x64 only. |
S7-1200: Preparing the Transfer Card
The S7-1200 supports two SMC operating modes set by the physical write-protect slide on the card itself, in combination with the project-side configuration:
- Program card — Stores the project; the CPU boots from the card if one is inserted at power-up.
-
Transfer card — Contains a single transfer job (
S7_JOB.S7S) that copies its contents into internal load memory and then erases the job from the card. Used to push a new project into the CPU without TIA Portal.
For field updates, configure the SMC as a transfer card so that the customer action is simply: power down, swap the card, power up. The CPU detects the transfer job, copies the program to internal flash, and restarts with the new image.
Step-by-step: TIA Portal V17
- Open the customer project in TIA Portal V17. Compile the project (Project tree → CPU → Compile → Software, rebuild all).
- Insert the SMC into the engineering PC card reader. If using a virtual card reader path, point it at a folder via Project tree → Card Reader/USB Memory → Add User-defined Card Reader.
- Drag the CPU station onto the card reader node. The "Load preview" dialog opens.
- In the load preview, select the action "Transfer card: write to plug-in memory card, then insert in CPU". Accept.
- The wizard creates
SIMATIC.S7S(project container) andS7_JOB.S7S(transfer job marker) on the card. - Verify file listing on the card:
DIR \ (root of SMC) ├── SIMATIC.S7S ├── S7_JOB.S7S └── LOGS\ └── ... - Eject the card from the PC safely.
S7-1200: Card Reader / USB Memory Workflow
The "Card Reader/USB Memory" entry in the TIA V17 project tree accepts any removable drive letter. This is the recommended method for engineers who want to inspect the file structure before shipping the card, and for users who replicate the card via an SD duplicator rather than a PC-resident reader.
- Connect the SMC via the PC's card reader.
- Project tree → Card Reader/USB Memory displays the new card automatically with the drive letter.
- Drag-and-drop the CPU station onto the card icon. Choose Transfer card in the action list.
- If the card was previously used as a program card, TIA prompts to overwrite. Confirm.
- After the write completes, navigate to the card in Windows Explorer and verify:
-
SIMATIC.S7Sis present and the timestamp matches the compile run. -
S7_JOB.S7Sis present (it is not present on a program card). - File size on the card matches the sum of blocks in the project (rough sanity check against the build log).
-
Handling SD card replication
If you intend to clone the SMC using a 1-to-N SD duplicator (for fleet updates), use a sector-level copy, not a file copy. The SIMATIC file system uses a non-standard FAT layout; Windows file copies drop the OEM-specific boot sector, which causes the CPU to refuse the card with a memory card error event in the diagnostic buffer.
S7-1200: Customer-Side Update Procedure
Document the customer steps as a single-page field instruction. Each step requires confirmation before moving on.
- Power down the S7-1200 CPU. The MAINT and RUN/STOP LEDs go dark.
- Open the CPU door and eject the existing SMC (press to release).
- Insert the new SMC, label side up, contacts down.
- Restore power to the CPU.
- Observe the LED sequence:
- RUN/STOP LED → yellow flashing during transfer.
- MAINT LED → flashing during transfer.
- Transfer completes when RUN/STOP turns solid green (RUN) or solid yellow (STOP), depending on the configured startup mode of the project.
- The CPU erases
S7_JOB.S7Sfrom the card on successful transfer. IfS7_JOB.S7Sis still present after the cycle, the transfer failed — remove the card and inspectLOGS\for theS7_JOB.LOGtext log.
KTP400: ProSave Backup at the Engineering Site
The KTP400 Basic line supports ProSave backup/restore over Ethernet (PN/IE). Because the customer does not have TIA Portal, the workflow is reversed: engineer creates a backup file on a representative (or simulated) panel, customer restores that backup onto the field panel.
Generate the ProSave backup file
- On the engineering PC, set the IP address of the local Ethernet port to
192.168.0.1/255.255.255.0. - Connect the PC directly to the KTP400 Basic PN. Set the HMI's IP via the control panel or transfer it from the TIA project (Project tree → HMI → Online → Accessible nodes → Assign IP).
- Launch ProSave V17 (Start → Siemens Automation → SIMATIC → ProSave).
- Select device type: KTP400 Basic PN.
- Connection: Ethernet (TCP/IP).
- Target IP: address of the HMI.
- Operation: Backup. Choose output path (e.g.,
C:\FieldUpdate\KTP400_v2_3.psb). - Tick "Include recipes" and "Include user administration" if these are present in the project. Leave "Include parameter sets" ticked unless intentionally clearing them.
- Click "Start Backup". The status line shows transfer progress and writes the resulting
.psbfile when complete.
KTP400: Customer-Side Restore
- Customer installs ProSave V17 (or the standalone HMI Tools V17 installer) on a Windows PC.
- Customer connects the PC to the KTP400's PN port with the same
192.168.0.1/255.255.255.0PC IP. If the panel's IP is unknown, hold a finger on the centre of the screen during power-up to open the service menu, then navigate to Settings → Network → IP Address. - Launch ProSave. Configure:
- Device type: KTP400 Basic PN.
- Connection: Ethernet (TCP/IP).
- HMI IP: address of the panel.
- Operation: Restore.
- Backup file: path to
.psbfile.
- Tick "Overwrite existing project" and "Reset to factory settings prior to restore" only if a full image replacement is intended. For incremental updates, leave "reset" unticked to preserve recipes.
- Click "Start Restore". The HMI reboots automatically when complete.
USB restore limitation on the KTP400 Basic
The KTP400 Basic line does not support USB restore from the HMI front port. ProSave restore is performed only via Ethernet for the KTP400 Basic family. Comfort Panels (TP700/900/1200/1500 Comfort) support USB restore with firmware V14.0.0.0 or later — verify your panel family before selecting this method.
Combined Field Update Workflow
Verification Procedure
After the customer completes both updates, run this verification sequence before handing the machine back to operations.
-
PLC diagnostics: Open the CPU's web server at
http://<CPU_IP>→ Module Information → Diagnostics buffer. Confirm no "Memory card removed" or "Project inconsistent" entries since the power cycle. - Block consistency: Module Information → check the firmware version matches the released project and the serial number matches the hardware in the cabinet.
- Retain check: Power down for 30 s and power back up. Verify all retentive tags (declared with Retain = true in the PLC tags table) hold their values.
- HMI tag test: From the HMI, toggle each control that maps to a known PLC tag (e.g., a manual override bit) and confirm the PLC online monitor reflects the change within the configured update cycle (default 1 s for the S7-1200 HMI connection).
- Recipe / alarm verification: Trigger each alarm class and confirm colour, acknowledgement, and logging behaviour match the project documentation.
- Watchdog / safety: If the application includes F-CPU code, perform the F-CPU acceptance test per the safety plan — field updates do not exempt you from F-acceptance.
Troubleshooting Matrix
| Symptom | Likely Cause | Diagnostic | Corrective Action |
|---|---|---|---|
| CPU SF LED solid red after card swap | Card write-protected or non-Siemens | Read diagnostic buffer event 0x18FE "Memory card error" | Use an unprotected Siemens SMC; re-prepare the card. |
| CPU MAINT flashing, RUN/STOP alternating yellow/red | Firmware on CPU older than project minimum | Web server → Module Info → Firmware | Update CPU firmware to match the TIA V17 project's required FW (V4.5 typical for S7-1200 V17). |
| Transfer completes but HMI loses connection | HMI IP or HMI connection parameters changed | ProSave → HMI control panel → Settings → Network | Set HMI IP back to expected value or update PLC project with the new HMI IP. |
| ProSave restore fails with "invalid file" | Backup file generated from different firmware or panel variant | Compare device type and FW in ProSave | Regenerate the backup on a panel running the matching FW (V14.x for KTP400 Basic with TIA V17 image). |
| Card Reader / USB Memory node missing in project tree | TIA Portal option not installed | Start → TIA Portal V17 → Tools → Installed software | Modify installation: add "SIMATIC Card Reader/USB Memory" option. |
| S7_JOB.S7S still present after transfer cycle | Transfer aborted (power loss, card eject mid-write) | Read LOGS\S7_JOB.LOG for abort reason | Repeat with a freshly written card; ensure uninterrupted power during the 30–90 s transfer window. |
| HMI displays "Panel image corrupted" | Partial ProSave restore (network drop) | HMI service menu → System → Image Status | Repeat the ProSave restore with a stable cable and disable any Windows firewall prompt that interrupts the transfer. |
| ProSave "Cannot connect to panel" | Subnet mismatch or PN/IE cable swapped |
ping from PC, observe HMI control panel IP |
Reconfigure PC adapter to 192.168.0.1/24, verify HMI IP, swap to a known-good Cat5e cable. |
Data Block Compatibility Considerations
If the field update changes the structure of any DB (added/removed tags, changed UDTs), the S7-1200's "Download in RUN" path is unavailable for the offline-block delta when the project is delivered via transfer card. The CPU performs a full cold restart on the next STOP→RUN transition. Ensure that:
- All HMI tags reference DBs that exist after the update.
- Retain tags keep the same byte offsets if their declared order is changed.
- Any
FieldRead/FieldWritecalls into an array (see the FieldRead and FieldWrite instructions reference) use an INDEX that the updated DB still has — extending arrays is safe; shrinking arrays breaks any persisted INDEX values stored in HMI recipes.
Preparing TIA Portal for Clean Field Updates
Before generating the first transfer card, ensure the engineering environment matches what the customer will run. The hardware catalog in TIA V17 must include the latest CPU and HMI support packages so that the compiled project does not reference a newer HW revision than the field hardware.
- Open TIA Portal V17 → Options → Support Packages → Find support packages.
- Install the latest CPU 1200 and KTP400 Basic PN support packages.
- Refer to Siemens Support entry 54163658 for the full procedure.
- Recompile the project to bind the latest SP, then re-generate the transfer card and the
.psbbackup.
Safety and Best Practices
- Stop the process before the update. Place the machine in a safe state (E-stop active, drives disabled, hazardous energy locked out) before the customer powers down the CPU.
- Never MRES a remote CPU — a memory reset wipes internal load memory and forces a complete re-transfer; if the card is damaged the site is bricked until a replacement card arrives.
- Label every SMC with project version, target CPU order number, and date. Mis-inserted cards are a common field failure.
-
Hash the deliverables. Compute SHA-256 of
SIMATIC.S7Sand the.psbon the engineering PC and record the values on the shipment paperwork. Customer-side verification is not practical, but file sizes can be cross-checked by phone. - Rollback plan. Keep the previous SMC in a labelled envelope at the cabinet. If the new image fails verification, the customer reverts by swapping back.
- Documentation. Provide the customer with a single PDF: bill of materials, expected LED behaviour, ProSave configuration screenshot, and engineering support contact.
Frequently Asked Questions
Can the customer update the S7-1200 and KTP400 simultaneously with one action?
No. The PLC update is card-driven and runs autonomously; the HMI update requires ProSave and a Windows PC. They can be performed back-to-back without a reboot between them, but each target is independent and uses a different deliverable.
Will the transfer card work on an S7-1200 with a different firmware version than the project was compiled for?
Only if the on-site firmware is equal to or newer than the project's minimum. A V17 project targeting firmware V4.5 cannot load onto a V4.2 CPU; the diagnostic buffer records event 0x18FF "Firmware version mismatch". Update the CPU firmware first via SIMATIC Automation Tool or a separate firmware SMC.
Does ProSave need a licence on the customer PC?
No. ProSave V17 runs without a licence for backup/restore operations; the licence is bundled with TIA Portal at the engineering site only. The standalone ProSave installer is redistributable.
What happens to recipes and logs already on the HMI?
A full ProSave restore with "Reset to factory settings" clears recipes and logs. To preserve them, run Restore with "Overwrite existing project" ticked and "Reset" unticked — but be aware that any tag rename in the new project will orphan the old recipe data.
Can I send a single .zip file with both updates instead of two operations?
No. The transfer card is a physical SMC, and ProSave transfers the .psb file over Ethernet. The deliverables are inherently two physical artefacts: an SMC and a USB stick (or email attachment) containing the .psb plus the ProSave installer.