Recovering Delta Download Capabilities and S7 Program Congruence After Losing a PCS 7 Engineering Station
In SIMATIC PCS 7, when an original Engineering Station (ES) is destroyed or replaced and an older project backup is restored and edited, 'Download changes only' is permanently disabled and online CFC Test Mode is blocked because the compile timestamp (Ladestempel) in the restored offline database does not match the timestamp residing in the online controller's work memory. Simply recreating missing chart logic cannot recreate the unique 64-bit cryptographic compile signature. In a running plant where an AS controller cannot be stopped, you cannot execute an immediate entire download. For fault-tolerant S7-400H systems, the plant can be resynchronized without stopping the process by performing a phased Redundant Switchover Update in RUN (updating the standby CPU in STOP, switching over process execution, and synchronizing the master).
Table of Contents
- Executive Summary
- Architecture and Fundamental Mechanics
- Step-by-Step Implementation Procedure
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Executive Summary
A sudden catastrophic failure of the primary Engineering Station (hardware crash, hard drive corruption, or theft) is one of the most critical operational emergencies in process automation. When control engineers retrieve an older project archive on a replacement ES and re-enter lost chart modifications, they are confronted with a rigid barrier: CFC disables 'Download changes only', blocks online Test Mode, and insists on a full program download (PLC > Download > Scope: Entire program). In a continuous 24/7 operating plant, stopping the automation station causes severe production shutdown. Understanding the internal timestamp mechanics and leveraging S7-400H redundant CPU switchover procedures restores program congruence without halting process operations.
Architecture and Fundamental Mechanics
The compilation signature and delta download security mechanisms of PCS 7 operate through cryptographic timestamp arbitration:
- The Ladestempel (Compile and Download Timestamp):
* Every time CFC charts are compiled, the compiler generates a unique, cryptographically signed 64-bit timestamp known as the Ladestempel.
* This timestamp is embedded into the offline project database (.s7p) and written into the CPU's online system memory during download.
* In addition, internal DB numbering, block instance offsets, and execution pointers are permanently assigned during compilation. - Why Recreating Logic Fails to Re-enable Delta Download:
* Even if an engineer manually re-enters the exact identical CFC logic that was running online, compiling the restored project creates a completely new timestamp.
* When SIMATIC Manager attempts an online connection, it performs a strict handshake:Timestamp_Offline == Timestamp_Online.
* Because the timestamps diverge, the CFC editor immediately disables 'Changes only' and blocks online Test Mode to prevent downloading misaligned pointer offsets that could crash the controller. - The S7-400H Bumpless Full Download Mechanism (Redundant Switchover):
* On standard single controllers (single S7-400 or CPU 410), a full download requires stopping the CPU (STOPmode).
* However, on redundant S7-400H systems, Siemens provides an official maintenance procedure to download a fully recompiled program in RUN mode through a sequence of planned single-subrack downloads and redundant master switchovers.
Step-by-Step Implementation Procedure
Follow these procedures to regain program congruence and execute a full download to an operating S7-400H plant without stopping process operations:
- Reconstruct and Verify Offline Project Logic:
* On the replacement ES, retrieve the latest available multiproject backup.
* Re-enter all known operational modifications in CFC charts to ensure offline logic matches actual field plant behavior as closely as possible.
* Save and compile the entire CFC program:Scope: Entire program(without downloading). - Initiate S7-400H Phased Redundant Download:
* In SIMATIC Manager, ensure both redundant CPUs are currently in RUN mode and synchronized (green LEDs,REDFoff).
* Open HW Config or SIMATIC Manager and select the target S7-400H station.
* SelectPLC > Operating Modeand transition CPU 1 (Standby) to STOP mode.
* The primary CPU (CPU 0) continues controlling the live plant in single mode without process bump. - Download Entire Program to Standby CPU:
* In SIMATIC Manager, selectPLC > Download to Module.
* Target CPU 1 (which is now in STOP).
* Download the complete hardware configuration and the entire S7 program (including all newly compiled DBs and charts). - Execute Redundant Switchover to the Modified CPU:
* In SIMATIC Manager, selectPLC > Operating Mode.
* Select the command: Switch to CPU with modified configuration.
* The operating system executes a controlled, bumpless state transfer:- CPU 1 transitions from STOP to RUN, taking over live process execution with the new program.
- CPU 0 transitions automatically from RUN to STOP.
- Verify that process control continues smoothly on the new CPU.
- Download and Resynchronize the Second CPU:
* Download the entire hardware and S7 program to CPU 0 (now in STOP).
* In the Operating Mode dialog, transition CPU 0 back to RUN.
* The two CPUs execute memory linkage and redundant synchronization, entering full redundant RUN mode. - Restore Delta Download Capabilities on the ES:
* Because both CPUs now hold the exact compiled program from the replacement ES, the online and offline timestamps are identical.
* Reopen CFC editor; confirm that Test Mode (online spectacles) opens immediately and that future compilations enable Scope: Changes only.
Verification
In CFC editor, click the Test Mode icon. Verify that live values, block states, and signal connections update in real time without timestamp divergence warnings. Make a minor modification in CFC (e.g., change an unlinked parameter default); compile with 'Scope: Changes only' and confirm that 'Download changes only' is fully active and downloads successfully in RUN.
Limitations and Operational Precautions
Bumpless full download via redundant switchover is strictly supported only on fault-tolerant S7-400H systems; non-redundant single controllers cannot execute a full download without stopping the CPU. Ensure that process communication between OS Servers and the H-station remains stable throughout the switchover.
Engineer FAQ
Why did CFC disable 'Download changes only' after restoring a backup?
The compile timestamp (Ladestempel) in the restored backup does not match the timestamp residing in the CPU work memory; CFC disables delta download to protect against pointer misalignment.
Can you execute a full download on an S7-400H without stopping the plant?
Yes. By utilizing the 'Switch to CPU with modified configuration' procedure, a full download can be executed on the standby CPU while the primary CPU controls the live process.
Can I upload the CFC charts from the running CPU to get the timestamp?
No. The CPU stores compiled machine blocks (FBs, DBs, FCs), but does not store graphical CFC chart topologies or Plant Hierarchy databases.
What happens if you try to force Test Mode with mismatched timestamps?
SIMATIC Manager rejects the connection with a modal dialog stating that the online and offline program structures are not congruent.
Technical References
- SIMATIC Fault-Tolerant Systems S7-400H System Manual (A5E00267842-13)
- SIMATIC Process Control System PCS 7 Engineering System (V9.0 SP3) Manual (A5E41356092-AC)
- Siemens Industry Online Support Entry 109780813 - PCS 7 Licensing and Engineering Guidelines
Related Articles
- Preserving Delta Download Capability (Changes-Only Download) When Unpacking PCS 7 Multiprojects
- Safe Online Software Revamping Strategies for CFC Charts in Live PCS 7 Controllers
- Resolving Redundant S7-410H Node Discovery and Download Failures to Rack 1 Over Industrial Ethernet
Related Tags
- Delta Download
- Ladestempel
- S7-400H
- Redundant Switchover
- Engineering Station Recovery