Updating SIMATIC BATCH Process Cells Without Losing Master Recipes in SIMATIC PCS 7
In SIMATIC PCS 7 v8.1, when 'Update process cell' fails in BatchCC after modifying SFC Types or Equipment Phases (EPH) in the Engineering Station, the issue is caused by engineering workflow sequence violations, active batch locks, or process cell database mismatch. Deleting the sbdata folder (SB8 database) to resolve the error is catastrophic because it permanently destroys all user-created Master Recipes, Material Libraries, and formula archives. The correct resolution is validating the BATCH engineering data, ensuring no batches are running, exporting a process cell backup (.bck), and updating via BatchCC.
Table of Contents
- SIMATIC BATCH Process Cell Data Lifecycle and the SB8 Database
- Why Deleting the sbdata Folder Destroys Master Recipes
- Comparison Table: Safe Process Cell Update vs Destructive Re-initialization
- Mandatory Engineering Sequence in SIMATIC Manager Plant View
- Step-by-Step Procedure to Update Process Cells Safely in BatchCC
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
SIMATIC BATCH Process Cell Data Lifecycle and the SB8 Database
SIMATIC BATCH (6ES7657-0XX08-1YB0) relies on a synchronized dual-database architecture:
* The Engineering Representation (ES):
In SIMATIC Manager Plant View, the process cell model is structured from ISA-88 units, Equipment Phases (EPH), and Equipment Modules (EM) derived from SFC Types.
* The Runtime Repository (BatchCC / SQL Database):
The runtime BATCH Server manages recipes, batch orders, and material definitions inside proprietary database files (.sb8) and Microsoft SQL Server tables located by default in:
C:\ProgramData\Siemens\Automation\Batch\sbdata
* The Update Process Cell Command:
When an engineer adds a new phase in CFC and compiles, the updated physical model must be synchronized with the runtime database using the Update process cell command in BatchCC.
Why Deleting the sbdata Folder Destroys Master Recipes
When inexperienced engineers encounter an error during 'Update process cell', some delete the sbdata directory to force a clean download:
* The Catastrophic Result:
While deleting sbdata allows a clean initial download of the physical equipment model, it wipes out the entire recipe database. Master recipes, control recipes, recipe operations, formula libraries, and historical electronic batch records (EBR) created inside BatchCC are permanently erased.
* Recovery Impossibility:
Unless a dedicated BATCH backup file (.bck) was exported prior to deleting sbdata, lost master recipes cannot be recovered from the PLC or CFC charts; they must be manually re-engineered from scratch.
Comparison Table: Safe Process Cell Update vs Destructive Re-initialization
The table below contrasts the correct non-destructive update workflow against destructive folder deletion:
Mandatory Engineering Sequence in SIMATIC Manager Plant View
To ensure that BatchCC accepts updated process cell data without error, the engineering sequence in SIMATIC Manager must be executed in strict chronological order:
1. Compile AS Charts: Compile modified SFC Types and CFCs (Changes only).
2. Download AS: Download changes to controller.
3. Compile OS: Compile WinCC OS (Changes only) to update tag and message structures.
4. Open BATCH Configuration Dialog:
In Plant View, right-click the Process Cell and select SIMATIC BATCH -> Open BATCH Configuration.
5. Execute Lifecycle Actions in Sequence:
* Generate: Extracts equipment model from Plant Hierarchy.
* Propagate: Updates phase interface definitions across the project.
* Merge: Integrates multiproject component data into unified cell model.
* Transfer Messages: Updates alarm logging texts in WinCC OS.
* Download: Downloads the compiled cell data to BATCH Server(s).
Step-by-Step Procedure to Update Process Cells Safely in BatchCC
- Export Pre-Update BATCH Backup:
In BatchCC, click System -> Backup. Save the complete process cell backup archive (.bck) to a secure location outside the server. - Ensure No Active Batches on Modified Units:
In BatchCC, verify that no batches are inRunning,Held, orPausedstates on the equipment units undergoing phase additions. Complete or abort active batches. - Verify Batch Server Status:
Open Batch Launch Coordinator. Confirm that the BATCH Server service is inRunningstate (green indicator) on both primary and redundant servers. - Execute Engineering Download:
Perform the 5-step engineering sequence (Generate, Propagate, Merge, Transfer Messages, Download) from SIMATIC Manager. - Trigger Process Cell Update in BatchCC:
* Switch to BatchCC.
* Select the root process cell in the navigation tree.
* Click Program -> Update process cell.
* BatchCC analyzes schema differences, integrates new EPH phases into the equipment catalog, and preserves all existing Master Recipes. - Save and Validate Recipes:
Open existing Master Recipes. Confirm that the new equipment phases are available in the recipe library and validate recipes for production readiness.
Verification
To verify safe process cell updating:
1. Confirm that BatchCC displays the process cell status as Released or Valid.
2. Expand the Equipment branch in BatchCC. Verify that newly added SFC Types appear under their respective unit operations.
3. Open an existing Master Recipe. Verify that all original recipe phases, setpoints, and transition conditions are intact.
4. Create a test batch order using an existing recipe and verify that it executes successfully on the automation station.
Limitations and Operational Precautions
- Redundant Batch Server Parity: On redundant BATCH server architectures, verify that both servers receive the process cell download before triggering the update in BatchCC.
- Deleted Phase Hazards: If an SFC Type was deleted or had its parameter interface drastically altered in CFC, Master Recipes referencing that phase will enter an invalid state (
Invalid). Update affected recipes before scheduling batches. - Licensing Disclaimer: SIMATIC BATCH Server and Client licenses (
6ES7657-0XX08-1YB0) must be validated against the applicable Siemens catalog and authorized distributor quotation.
Engineer FAQ
Technical References
- SIMATIC BATCH - Getting Started and Engineering Manual (A5E00850741-08)
- SIMATIC Process Control System PCS 7 SFC for S7 (A5E03442744-AB)
- SIMATIC PCS 7 Plant Hierarchy Configuration Manual (A5E35802288-AB)
Related Articles
- Controlling SIMATIC PCS 7 SFCs from External DBs and Third-Party HMIs - ENAUT, ENSTART, and Control Word Interconnections
- Designing Brewhouse Process Automation in SIMATIC PCS 7 - Unit Operations, SFC Sequences, and Lauter Tun Control
- Clearing WinCC .LCK File Locks and Resolving Target OS Download Blockages in SIMATIC PCS 7
Related Tags
- SIMATIC BATCH
- BatchCC
- Update Process Cell
- Master Recipes
- SB8 Database
- SFC Types