Preserving Runtime Process Parameters and Setpoints During Major Version Full AS Downloads in SIMATIC PCS 7
When performing a mandatory full AS compilation and download with CPU STOP after migrating from SIMATIC PCS 7 V6.1 to V8.1, all active controller data blocks are overwritten with offline initial values, threatening the loss of field-tuned timer values, PID gains, and operational setpoints. To preserve live values without an outdated baseline, use the Process Object View (POV) in SIMATIC Manager to export live parameters: filter the Parameters tab by target block types, copy the live parameter columns directly into Microsoft Excel prior to shutdown, and paste the values back into the offline CFC parameters after migration. Alternatively, execute 'Chart > Read Back' on the running controller immediately prior to performing the full download.
Table of Contents
- Executive Summary
- Why Major Version Upgrades Enforce Full AS Downloads (CPU STOP)
- The Operational Risk: Overwriting Field Setpoints and Tuning Parameters
- Parameter Read Back vs Process Object View Tabular Synchronization
- Parameter Preservation Methods Comparison
- Step-by-Step Procedure to Capture and Restore Live Controller Parameters
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Executive Summary
Migrating automated facilities across multiple generations of SIMATIC PCS 7 (such as upgrading from V6.1 to V8.1) requires updating system libraries, compiler structures, and communication interfaces. Because technological block interfaces change between major releases, delta downloads are prohibited by the CFC compiler; an initial Full Download (Charts as Program) with the CPU in STOP mode is enforced. However, executing a full download replaces all live data blocks in CPU work memory with the offline project's initial values, destroying months or years of field-tuned operational parameters (custom timer setpoints, PID tuning parameters, batch dosing limits, and totalizer presets). If previous Read Back archives are outdated, automation engineers must capture live values immediately prior to cutover using structured tabular export and restoration techniques.
Why Major Version Upgrades Enforce Full AS Downloads (CPU STOP)
In SIMATIC PCS 7, delta compilation and download in RUN depend on strict binary interface continuity:
- When upgrading from V6.1 to V8.1, standard library blocks are replaced with newer block versions.
- Changing a single block interface parameter alters the memory layout and offset offsets of instance data blocks.
- To prevent pointer corruption and memory collisions, the CFC compiler blocks delta downloads and mandates a full program compile and download with CPU STOP.
The Operational Risk: Overwriting Field Setpoints and Tuning Parameters
In continuous production plants:
- Operators and commissioning engineers routinely adjust setpoints via WinCC faceplates (e.g.
SP_Int,TI,TD,Gain). - These adjustments modify the active values residing in the CPU's instance data blocks, but do not automatically feed back into the offline CFC charts on the Engineering Station.
- Performing a full download pushes the offline initial values into the CPU, resetting critical plant setpoints to default values.
Parameter Read Back vs Process Object View Tabular Synchronization
Two proven engineering workflows safeguard live operational data:
- Method 1: Live Parameter Read Back (
Chart > Read Back): Automatically queries the online CPU via S7 communication and updates all offline CFC block pins marked withS7_m_c = trueorS7_read_back = true. - Method 2: Process Object View (POV) Excel Export/Import: When dealing with custom, locked, or third-party blocks lacking standard readback attributes, POV displays all block I/Os in a spreadsheet grid. Engineers can mass-copy live values to Excel and paste them back into target inputs after migration.
Parameter Preservation Methods Comparison
The following table compares parameter preservation techniques prior to a major full AS download:
S7_read_back = trueStep-by-Step Procedure to Capture and Restore Live Controller Parameters
Method 1: Executing Full Parameter Read Back Prior to Cutover
- Connect the Engineering Station to the running S7-400 AS via the Plant Bus.
- Open any CFC chart in the target S7 program.
- From the menu bar, select Chart > Read Back....
- In the Read Back dialog, select scope: Entire program.
- Check both options: Operator control and monitoring (OCM) attributes and Parameters marked for readback.
- Click OK. The wizard reads all live values from CPU RAM and commits them into the offline CFC database.
- Create an immediate
.ziparchive of the synchronized project before proceeding with version migration.
Method 2: Tabular Extraction via Process Object View for Custom Blocks
- Open Process Object View in SIMATIC Manager (View > Process Object View or
F4). - Switch to the Parameters tab.
- In the filter bar, filter by your custom block type name (e.g.
Timer_Custom). - Sort the table systematically by Chart and Block name.
- Highlight the table rows and copy all parameter values (
Ctrl + C). - Paste the data into Microsoft Excel and save the spreadsheet as a permanent audit baseline.
- After migrating the project to PCS 7 V8.1 and recompiling, re-open Process Object View.
- Apply the identical filter and sort order.
- Copy the preserved parameter values from Excel and paste them directly into the target input column in POV.
- Compile the charts; your live values are now the new offline starting values.
Verification
To verify that critical parameters are preserved after download:
- Pre-Download Audit Check: Inspect representative PID controllers and custom timers in CFC. Confirm that offline values match the values documented in the Excel baseline.
- Full Download Execution: Execute PLC > Download > Entire Program with the CPU in STOP. Transition CPU to RUN.
- Online Monitoring Check: Switch CFC to Test Mode. Inspect critical timer and setpoint outputs. Confirm that field setpoints match pre-cutover operational values.
Limitations and Operational Precautions
- Sorting Verification in Excel: When pasting data between Excel and Process Object View, ensure row sorting order is 100% identical; mismatched sorting will inject incorrect setpoints into random equipment blocks.
- Do Not Read Back Over Modified Logic: Never execute Read Back on an offline project that has already undergone structural chart edits; always perform Read Back on the authentic, matching pre-migration backup.
- Safety Program Values: Fail-safe blocks in S7 F-Systems cannot be updated via standard Read Back; safety parameters must be verified manually against certified safety documentation.
Engineer FAQ
Can Parameter Read Back be performed while the plant is actively running?
Yes, Read Back performs passive read queries from data blocks and has zero impact on controller execution or safety.
Why were some custom timer setpoints not captured by Read Back?
Inputs on custom blocks must have the system attribute S7_m_c = 'true' or S7_read_back = 'true' in their block header to be included.
Can WinCC User Archive be used to store and restore recipe setpoints?
Yes, WinCC User Archives can store operational recipes in SQL Server and re-download them to the PLC via faceplate scripts.
Technical References
- Siemens AG: SIMATIC Process Control System PCS 7 CFC for S7 / PCS 7 Manual (Doc No. A5E03415129)
- Siemens Industry Online Support Entry ID 109780813: SIMATIC PCS 7 Engineering System - Read Back Guidelines
- Siemens AG: SIMATIC PCS 7 Process Object View Manual (Doc No. A5E03419561)
Related Articles
- https://industrialautomation.net/search?query=pcs7+preserving+parameters+full+as+download+cpu+stop
- https://industrialautomation.net/search?query=cfc+chart+read+back+entire+program+procedure
- https://industrialautomation.net/search?query=process+object+view+parameters+excel+export+import
Related Tags
- https://industrialautomation.net/search?query=simatic-pcs7
- https://industrialautomation.net/search?query=migration
- https://industrialautomation.net/search?query=cfc-editor
- https://industrialautomation.net/search?query=process-object-view