Propagating SFC Type Parameter Modifications to SIMATIC BATCH Recipes and Formulas
When an SFC Type parameter modification appears in SIMATIC BATCH for only one production line or fails to reflect across all recipe formulas, the issue is caused by unpropagated Batch Type definitions. In SIMATIC BATCH, recipes and formulas store static parameter snapshots from the batch type library at the time of creation. To propagate the updated parameter, compile and download the modified SFC Type in CFC, execute 'Update Batch Types' in SIMATIC Manager, open the Master Recipe in the BATCH Recipe Editor, choose 'Update Recipe / Batch Types', and re-save each dependent formula instance to synchronize the new interface.
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
In batch processing plants governed by ANSI/ISA-88 standards and automated via SIMATIC BATCH in PCS 7 V9.0, recipe execution depends on tight synchronization between controller-level SFC Types (Equipment Phases, EPH) and supervisory Master Recipes. When a process engineer adds, removes, or modifies a parameter on an SFC Type and downloads changes to the AS, they frequently discover that the modification reflects on one recipe stream or formula while other production lines continue running under the obsolete parameter structure. This occurs because SIMATIC BATCH intentionally decouples master recipes and formula parameter sets from live PLC type definitions to protect validated production recipes. Propagating changes requires an explicit update lifecycle across SIMATIC Manager, the BATCH Type database, and the Recipe Editor.
Architecture and Fundamental Mechanics
The data architecture of SIMATIC BATCH separates phase definitions, master recipes, and formulas into distinct layers:
1. The Three-Tier Architecture of SIMATIC BATCH
- Tier 1: Automation Station (SFC Types / EPH): The controller holds the algorithmic implementation of phases (e.g.,
Dosing,Heating). The SFC Type defines the phase interface: setpoint parameters, actual values, and control flags with attributesS7_m_c = 'true'. - Tier 2: SIMATIC BATCH Engineering (Batch Types): When 'Generate / Update Batch Types' is executed in SIMATIC Manager, the system extracts phase interfaces from the ES block folder and compiles them into the BATCH type catalog (
sb_types.xml). - Tier 3: BATCH Control Center (Master Recipes and Formulas): Master Recipes encapsulate the procedural logic (Unit Procedures, Operations, Phases). Formulas contain the numeric parameter sets (quantities, temperatures, times). When a recipe or formula is created, it takes a snapshot of the Batch Type definition. It does not dynamically adapt to future SFC Type changes automatically.
2. Why Modifications Affect One Line but Not Another
When a plant operates multiple identical lines using a common master recipe linked to different formula categories:
- If an engineer updates Line 1's formula or creates a new recipe revision, Line 1 absorbs the new type structure.
- If Line 2 utilizes an older formula instance or an un-updated recipe version, SIMATIC BATCH preserves the legacy parameter set to avoid invalidating active or pending batches. The new SFC parameter will not appear in Line 2 until its specific formula is synchronized.
Step-by-Step Implementation Procedure
To propagate an SFC Type parameter modification completely across all SIMATIC BATCH recipes and formulas:
Step 1: Update SFC Type in CFC and Download Changes
- Open the SFC Type in the SFC Editor on the Engineering Station.
- Modify, add, or rename the target parameter in the Characteristics list (e.g., setpoint
Agitator_Speed). - Ensure the parameter has the attribute
S7_m_c = 'true'. - Save the SFC Type and execute Options -> Block Types to synchronize instances.
- Compile and download CFC changes to the Automation Station (
Download Changes in RUN).
Step 2: Update Batch Types in SIMATIC Manager
- In SIMATIC Manager, navigate to the multi-project or plant project.
- Right-click the project folder -> SIMATIC BATCH -> Update Batch Types (or open the SIMATIC BATCH configuration dialog).
- Confirm that the generation succeeds and inspect the log to verify that the modified parameter is listed under the target phase.
- Execute Compile and Download Objects for the BATCH Server.
Step 3: Synchronize Master Recipe in BATCH Recipe Editor
- Open BATCH Control Center (BCC) and launch the Recipe Editor.
- Open the affected Master Recipe.
- From the menu bar, select Recipe -> Update Recipe / Batch Types.
- A comparison dialog displays the modified phase parameters. Confirm the synchronization.
- Verify that the recipe header data updates to reflect the new type version.
Step 4: Update Dependent Formulas
- In the Recipe Editor navigation pane, expand the Formulas folder linked to the Master Recipe.
- Open each formula instance (e.g., Formula Line 1, Formula Line 2).
- Verify that the newly added parameter appears in the parameter table.
- Enter the required setpoint values for each production line.
- Save and validate all formulas, then release the Master Recipe for production.
Verification
To verify complete propagation:
-
Recipe Structure Validation:
- In the Recipe Editor, select Recipe -> Check Recipe.
- Confirm zero validation errors or missing parameter warnings. -
Control Center Batch Creation Test:
- In BATCH Control Center (BCC), create a test batch for Line 1 and a test batch for Line 2.
- Open the Control Recipe view for both batches and verify that the modified parameter displays identical structure and proper line-specific setpoints. -
Online AS Execution Check:
- Start the test batch and monitor the SFC instance in CFC online.
- Verify that SIMATIC BATCH transfers the parameter value into the SFC instance when the phase activates.
Limitations and Operational Precautions
Operational limitations and precautions:
- Active Batch Protection: Never attempt to update Batch Types or release recipe changes while active batches are currently running on that specific phase; wait for batches to complete to avoid phase execution faults.
- SFC Type Interface Changes: Deleting an existing parameter from an SFC Type can invalidate existing master recipes and archived batch records, requiring re-validation under FDA 21 CFR Part 11 / GMP guidelines.
- Version Compatibility: Ensure that the version of SIMATIC BATCH on the Engineering Station strictly matches the version running on the redundant BATCH Servers.
- Commercial Disclaimer: Verify all software options, batch licensing (PO / Batch units), and upgrade packages with an authorized Siemens distributor or the Siemens Industry Mall.
Engineer FAQ
Why didn't my modified SFC Type parameter automatically appear in BATCH recipes?
SIMATIC BATCH intentionally decouples recipes from live AS blocks to preserve validated recipe integrity. Updating recipes requires explicit execution of 'Update Batch Types' and 'Update Recipe'.
What is the difference between a Master Recipe and a Formula in SIMATIC BATCH?
The Master Recipe contains the procedural structure and sequence of operations, while Formulas contain the specific ingredient quantities and process setpoints for distinct products or lines.
Can I update Batch Types while the plant is in production?
You can generate Batch Types on the ES, but transferring the update to the BATCH Server and updating active master recipes should only occur when phases are not actively executing.
Which attribute must be enabled on an SFC Type parameter for SIMATIC BATCH to recognize it?
The attribute S7_m_c must be set to 'true'. Without this attribute, the parameter is ignored during Batch Type generation.
Where can I see which parameters were changed during the recipe update?
When you select 'Update Recipe / Batch Types' in the Recipe Editor, a comparison dialog highlights all added, deleted, or altered parameters.
Technical References
- [SIMATIC BATCH V9.0 Operating Manual
- SIMATIC PCS 7 SFC for S7 V9.0 Manual
- SIMATIC Process Control System PCS 7 Released Modules and Licenses
Related Articles
- Engineering Best Practices for Implementing SFC Types, EMTs, and EPHTs with CMTs in SIMATIC PCS 7
- Resolving The SQL Server Cannot Access Data Errors During PCS 7 WinCC OS Downloads
- Evaluating CPU Memory Consumption Differences Between Control Module Types (CMT) and Standard CFCs
Related Tags
- SIMATIC BATCH
- SFC Type
- Master Recipe
- Batch Types
- Formula Management