Managing and Renaming CFC Runtime Groups in SIMATIC PCS 7 Execution Sequences
In SIMATIC PCS 7 CFC, manually renaming runtime groups in the Run Sequence editor (Edit > Run Sequence) is 100% safe for CPU execution and will not disrupt program logic or cause runtime faults, because the S7-400 operating system executes blocks based on internal machine block numbers rather than textual group names. When CFC charts are copied, runtime groups automatically append suffixes like (1). Renaming them to meaningful identifiers (matching the new chart name) restores engineering clarity. However, manual renaming permanently severs automatic name synchronization between the CFC chart and the runtime group for future chart renames.
Table of Contents
- Executive Summary
- CFC Runtime Groups and Controller Execution Sequence Architecture
- Why Copying Charts Generates Generic Suffixes like SOV122(1)
- Safety and Operational Impact of Renaming Runtime Groups
- Runtime Group Synchronization Behavior Matrix
- Step-by-Step Procedure to Rename and Organize Runtime Groups
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Executive Summary
Continuous Function Chart (CFC) programming in SIMATIC PCS 7 abstracts complex machine execution into modular graphical charts. Under the hood, every block placed in a CFC chart must be scheduled for execution within specific Organization Blocks (OBs), such as startup OB100 and cyclic interrupt OB35 (100 ms). To manage this execution, PCS 7 automatically groups blocks belonging to the same chart into Runtime Groups. During rapid engineering phases, automation engineers routinely duplicate standardized equipment charts (e.g. copying solenoid valve chart SOV122 twenty times in Process Object View to create SOV135 through SOV155). However, inspecting the Run Sequence reveals that the copied runtime groups retain confusing names such as SOV122(1) or SOV122(2). Engineers frequently hesitate to rename these groups, fearing broken AS-OS compilation or CPU download faults. This technical guide clarifies the execution mechanics and confirms the safety of renaming runtime groups.
CFC Runtime Groups and Controller Execution Sequence Architecture
Runtime Groups serve as organizational containers within the controller's task scheduler:
- OB Execution Hierarchy: Organization Blocks (e.g.
OB35) execute runtime groups sequentially from top to bottom. - Internal Block Ordering: Inside each runtime group, technological blocks (
VlvL,Pcs7DiIn,Pcs7DiOu) execute in a defined order to minimize signal transport delays (e.g. inputs read first, control logic executed second, outputs written last). - Dynamic Group Control: Runtime groups can be conditionally enabled or disabled via logic connections to their
ENinput, allowing entire functional units to be bypassed during specific operational modes.
Why Copying Charts Generates Generic Suffixes like SOV122(1)
When a CFC chart is copied and renamed in SIMATIC Manager:
- If a chart contains blocks distributed across multiple runtime groups (or contains startup blocks in OB100 and cyclic blocks in OB35), the CFC copy engine avoids making assumptions about user intent.
- To prevent naming collisions in the target OB, CFC creates a new runtime group appending an incremental numeric index
(1). - Renaming the chart afterwards does not retroactively rename the group once multiple blocks exist.
Safety and Operational Impact of Renaming Runtime Groups
Renaming runtime groups is completely safe:
- Execution Indifference: The S7-400 CPU compiles runtime groups into MC7 execution lists calling standard block numbers (e.g.
CALL FB1899, DB500). The textual name of the runtime group exists exclusively in the offline engineering database. - Zero AS-OS Impact: WinCC tag compilation and block icon generation are linked to the CFC chart name and Plant Hierarchy path, completely independent of the runtime group name.
- The Only Tradeoff: Once a runtime group name is manually edited, CFC severs the dynamic link that would have automatically renamed the group if the chart name changes in the future.
Runtime Group Synchronization Behavior Matrix
The following table compares runtime group management operations and their system impacts:
Step-by-Step Procedure to Rename and Organize Runtime Groups
Method: Renaming Groups in the CFC Run Sequence Editor
- Open any CFC chart in the target S7 program.
- In the CFC Editor menu, select Edit > Run Sequence (or click the Run Sequence toolbar icon).
- In the left navigation pane, expand the target cyclic interrupt OB (e.g.
OB35). - Locate the runtime group displaying the generic name (e.g.
SOV122(1)). - Right-click the runtime group and select Object Properties (or press
Alt + Enter). - In the Name field, enter the desired name matching the actual chart (e.g.
SOV135). - Add an optional engineering comment (e.g. 'Solenoid valve control for Tank 102').
- Click OK.
- Repeat for the corresponding runtime group located in
OB100(Startup). - Close the Run Sequence editor.
- Execute Chart > Compile > Changes Only and download changes to the AS in RUN.
Verification
To verify runtime group naming and execution:
- CFC Compile Check: Execute a delta compilation. Confirm that compilation completes with 0 errors.
- Online Delta Download: Download changes to the AS controller in RUN. Confirm that the download finishes bumplessly without CPU STOP.
- Process Functionality Audit: In CFC Test Mode, verify that the renamed blocks continue executing cyclically, processing inputs and updating outputs normally.
Limitations and Operational Precautions
- Do Not Scramble Block Order: When organizing runtime groups, maintain proper signal flow ordering: input channel drivers must execute before control blocks, and control blocks before output drivers.
- Runtime Group Sizing: Keep runtime groups modular; assigning too many blocks (e.g. > 100) to a single giant runtime group impairs execution scheduling.
- Copy/Move Customization: Under Options > Customize > Copy/Move, reviewing the setting 'Interconnection to runtime groups' allows pre-configuring how runtime groups are handled during chart duplication.
Engineer FAQ
Does renaming a runtime group force a full compile of the entire program?
No. Renaming a runtime group is an offline metadata change that compiles in seconds via 'Changes Only'.
Can two runtime groups share the exact same name?
Within the same OB, runtime group names must be unique; identical names are permitted across different OBs (e.g. OB35 and OB100).
Why are there runtime groups in OB100 as well as OB35?
OB100 executes once during CPU startup to initialize block parameters; cyclic processing occurs continuously in OB35.
Technical References
- Siemens AG: SIMATIC Process Control System PCS 7 CFC for S7 / PCS 7 Manual (Doc No. A5E03415129)
- Siemens AG: SIMATIC PCS 7 Engineering System Manual (Doc No. A5E03419561)
- Siemens Industry Online Support Entry ID 109780813: Best Practices for CFC Run Sequence Optimization
Related Articles
- https://industrialautomation.net/search?query=cfc+runtime+groups+renaming+safety+guidelines
- https://industrialautomation.net/search?query=optimizing+run+sequence+order+in+ob35+pcs7
- https://industrialautomation.net/search?query=process+object+view+copy+paste+cfc+runtime+groups
Related Tags
- https://industrialautomation.net/search?query=simatic-pcs7
- https://industrialautomation.net/search?query=cfc-editor
- https://industrialautomation.net/search?query=run-sequence
- https://industrialautomation.net/search?query=engineering-workflow