Safely Deleting Operator Station (OS) Objects from a SIMATIC PCS 7 Multiproject - Reorganizing the Project Database
When splitting a plant or modernizing legacy hardware (such as separating a PCS 7 V7 system into two autonomous facilities where an older section is decommissioned and modern units are migrated to V9.0), removing obsolete Operator Station (OS) objects from the Multiproject requires more than simply deleting the PC station in SIMATIC Manager. An OS object maintains extensive cross-references across NetPro S7 connections, Server Package distribution tables in multi-clients, and AS-OS compiler transfer registries. To remove an OS cleanly without corrupting the Multiproject: first detach server packages from all client stations, delete S7 connections in NetPro, delete the OS object in SIMATIC Manager Component View, and critically execute File -> Save As... with With Reorganization (Slow) to purge orphaned database pointers and defragment project indices.
Table of Contents
- Architectural Dependencies of OS Objects in a Multiproject
- Systematic Deletion Workflow: Clients, NetPro, and the OS Object
- The Mandatory Role of 'Save As with Reorganization (Slow)'
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Architectural Dependencies of OS Objects in a Multiproject
In SIMATIC PCS 7, an Operator Station (OS) is not a standalone graphic drawing; it is an integrated engineering entity. When an OS is created, the engineering database registers the station across multiple interdependent subsystems:
-
NetPro Connection Table: S7 Named Connections are established between the OS application and every Automation System (AS) controller in the plant.
-
Server Package Hierarchy: If the OS is a Server, it generates server data packages (
.pck) that are imported by OS Clients to resolve picture paths, tag prefixes, and alarm archives. -
AS-OS Engineering Database: The central Sybase/SQL engineering database binds CFC block instance messages (
MsgEvId) to the specific OS project container.
If an engineer abruptly deletes an OS object from SIMATIC Manager without unlinking these dependencies, orphaned pointers remain embedded in the database, causing future OS compilations to crash or report non-existent partner stations.
Systematic Deletion Workflow: Clients, NetPro, and the OS Object
To decommission and remove an OS object cleanly from a Multiproject, follow this step-by-step procedure:
Server Data; unload/delete package from retired OSFile -> Save As... with With Reorganization (Slow)After Phase 2, compile and download NetPro changes to the physical S7-400 CPUs during a maintenance window so the controllers cease broadcasting diagnostic keep-alive packets to the retired station.
The Mandatory Role of 'Save As with Reorganization (Slow)'
When objects (charts, blocks, or PC stations) are deleted in SIMATIC Manager, the underlying database does not physically erase records; it simply marks them with a deletion tombstone. Over years of plant modifications, deleted objects accumulate, creating index fragmentation and ghost database locks.
Executing File -> Save As... with With Reorganization (Slow) performs a complete, deep-level database defragmentation:
- It reads every active record sequentially, skipping tombstoned and deleted items.
- It rebuilds the entire relational structure into a clean, newly created project folder.
- It recalculates internal cross-reference IDs, eliminating phantom server references and preventing compile crashes.
Depending on project size, reorganization may take between 5 and 30 minutes, but it is an absolute engineering necessity before promoting a modified project to production.
Verification
Verify that the OS object was cleanly purged without lingering cross-reference corruption:
- NetPro Consistency Check: Open NetPro. Select
Network -> Check Consistency. Confirm that the network topology and remaining connection tables compile with0 Errorsand0 Warnings. - OS Client Server Data Audit: Open any remaining OS Client in WinCC Explorer. Open
Server Data. Verify that the package for the deleted OS no longer appears in the list. - AS-OS Compilation Validation: On the Engineering Station, execute an
OS Compile -> Changes Onlyfor the remaining active OS servers. Confirm that compilation completes successfully without searching for the deleted station.
Limitations and Operational Precautions
When removing OS stations from a multiproject, observe these operational safeguards:
- Backup Prior to Deletion: Always create a compressed Multiproject ZIP archive (
File -> Archive) before deleting any station object. - Physical Hard Drive Purging: Deleting an OS object in SIMATIC Manager deletes the database entry, but depending on configuration, the physical WinCC folder on disk may remain. Inspect the project directory and delete any orphaned WinCC project directories manually.
- Redundant Server Pairs: If deleting one node of a redundant OS pair, the remaining partner server must be converted to a Single Station in WinCC Redundancy properties before compiling.
Engineer FAQ
What is the difference between normal 'Save As' and 'Save As with Reorganization (Slow)'?
Normal 'Save As' executes a simple file-copy of the project folder, preserving all fragmented space and deleted records. 'Save As with Reorganization (Slow)' analyzes every record, purges all deleted objects, and rebuilds database indices from scratch.
Will deleting an OS object delete the CFC charts in the AS?
No. The Automation System (AS) and Operator Station (OS) reside in separate project folders within the Multiproject. Deleting an OS has zero impact on CFC charts, block logic, or hardware configurations.
Why does NetPro still show connections to a deleted OS?
If NetPro was not saved and compiled after deleting the PC station, connection routing tables retain the old endpoints. Always open NetPro and execute Save and Compile after station modifications.
Technical References
- SIMATIC Process Control System PCS 7 Engineering System Manual (A5E36173004)
- SIMATIC STEP 7 V5.6 Managing Projects and Multiprojects (A5E41437504)
- Siemens Industry Online Support: 'How do you reorganize a SIMATIC PCS 7 project?' (Entry ID: 109746554)
Related Articles
- Factory Resetting and Decommissioning SIMATIC PCS 7 ES/OS Stations - Project Purging and System Separation.md
- Troubleshooting OS Compilation Freezes and Crash of WinCC Explorer in SIMATIC PCS 7.md
- Evaluating Standalone STEP 7 V5.6, CFC V8.2, and WinCC V7.4 Upgrades on Legacy PCS 7 Systems (CPU 414-4H).md
Related Tags
- OS Deletion
- Reorganization
- Multiproject
- NetPro
- Server Packages
- Decommissioning