Resolving Missing Shared Declarations During Multiproject Creation in PCS 7 V9.0 SP3

Resolving Missing Shared Declarations During Multiproject Creation in PCS 7 V9.0 SP3

When creating a new multiproject using the PCS 7 'New Project' Wizard in SIMATIC Manager and the wizard halts with 'Shared declarations not available (anymore)', the error is caused by a missing or corrupted Shared Declarations folder in the Master Data Library template used by the wizard. In PCS 7, Shared Declarations (Gemeinsame Deklarationen) manage project-wide enumerations, units, and equipment properties. To resolve this: 1) Open an existing healthy PCS 7 project or library, copy its 'Shared Declarations' folder, and paste it directly into your Master Data Library; 2) In SIMATIC Manager, right-click the Multiproject and select 'Shared Declarations > Synchronize...'; and 3) If project templates are corrupted system-wide, run the PCS 7 V9.0 SP3 Setup and execute a 'Repair' installation to restore default template directories.

Table of Contents

Executive Summary

Creating a new distributed control system architecture in SIMATIC PCS 7 typically begins with the PCS 7 'New Project' Wizard, which automatically provisions the Multiproject container, Master Data Library, and initial automation stations. Following a fresh installation or Service Pack upgrade to PCS 7 V9.0 SP3, engineers occasionally encounter an immediate failure where the wizard aborts during project initialization with the notification: 'Shared declarations not available (anymore)'. This halts DCS scaffolding before any charts can be engineered. This technical reference explains the architectural role of Shared Declarations in PCS 7, diagnoses the root causes of template desynchronization, and provides the step-by-step restoration procedure.

Architecture and Fundamental Mechanics

Shared Declarations and Multiproject Scaffolding Architecture

+-------------------------------------------------------------------------+
|                    PCS 7 MULTIPROJECT SCAFFOLDING WIZARD                |
+-------------------------------------------------------------------------+
                                    |
                                    v Template Copy Operation
+-------------------------------------------------------------------------+
|          Template Source Directory: C:\Program Files (x86)\...          |
|          - Template Project: zSE_00_1 / Base Project Shell              |
+-----------------------------------|-------------------------------------+
                                    |
                                    v Instantiates in Target Multiproject
+-------------------------------------------------------------------------+
|                      Target Master Data Library (MDL)                   |
|                                                                         |
|   FAILURE CONDITION:                                                    |
|   - 'Shared Declarations' folder missing from template directory!       |
|   - Wizard queries mandatory container: 'Gemeinsame Deklarationen'     |
|   - Container NOT FOUND!                                                |
|   - Wizard ABORTS: 'Shared declarations not available (anymore)'        |
+-----------------------------------|-------------------------------------+
                                    |
                                    v Restoration Action
+-------------------------------------------------------------------------+
|   1. Copy Shared Declarations from System Library                       |
|   2. Paste into Target Master Data Library                              |
|   3. Execute 'Shared Declarations > Synchronize' across Multiproject    |
|   -> Complete Enumeration & Unit Catalog Restored!                      |
+-------------------------------------------------------------------------+

The Role of Shared Declarations

  1. Enumerations (Aufzählungen): Define project-wide multi-state text values (e.g., Motor Mode: 0 = Manual, 1 = Auto, 2 = Local) used by APL faceplates and SFC step sequencers.
  2. Units of Measurement (Einheiten): Enforces standardized SI and engineering units across analog driver blocks, totalizers, and WinCC archive tags.
  3. Equipment Properties (Anlageneigenschaften): Maps ISA-88 batch equipment hierarchies and physical asset designations across multi-AS systems.
  4. Why the Wizard Halts: Because core APL blocks and SFC types require enumerations for compilation, SIMATIC Manager will not permit project creation without a valid Shared Declarations container.

Step-by-Step Implementation Procedure

Step 1: Manual Project Creation Workaround (Bypassing Wizard)

  1. If the wizard fails, close the wizard.
  2. In SIMATIC Manager, select File > 'New...'.
  3. Select the Multiproject tab and create a new empty multiproject container.
  4. In the menu bar, select File > 'New...', choose Library, name it Master_Data_Library, and add it to the multiproject (File > Multiproject > Insert into Multiproject).

Step 2: Copy Shared Declarations from Standard PCS 7 Library

  1. In SIMATIC Manager, select File > Open > Libraries.
  2. Open the standard system library: PCS 7 AP Library V90 (or PCS 7 Basis Library).
  3. Expand the library tree; locate the folder named Shared Declarations (Gemeinsame Deklarationen).
  4. Right-click the Shared Declarations folder and select Copy.
  5. In your new multiproject, open the Master Data Library.
  6. Right-click the Master Data Library root and select Paste.
  7. Verify that the Shared Declarations folder appears with its standard subfolders: Units, Enumerations, and Equipment Properties.

Step 3: Synchronize Shared Declarations Across the Multiproject

  1. In SIMATIC Manager, right-click the top-level Multiproject folder.
  2. In the context menu, select Shared Declarations > Synchronize....
  3. The synchronization wizard will scan the Master Data Library and propagate all global unit definitions and enumerations across all integrated AS and OS projects.
  4. Confirm that synchronization finishes with status Successful.

Step 4: Repair PCS 7 Template Installation (System-Wide Fix)

  1. If you wish to permanently fix the PCS 7 'New Project' Wizard for future projects:
  2. Insert the PCS 7 V9.0 SP3 installation media or mount the ISO.
  3. Run Setup.exe with administrative privileges.
  4. In the setup wizard, select Modify / Repair.
  5. Ensure STEP 7 and PCS 7 Engineering are checked for repair.
  6. Complete the repair installation and restart the PC to restore default template projects in C:\Program Files (x86)\Siemens\Step7\S7proj\.

Verification

  1. Wizard Execution Test: In SIMATIC Manager, select File > 'New Project' Wizard. Run the wizard to completion. Confirm that the project scaffolds with zero errors and generates a healthy Master Data Library.
  2. Enumeration Inspection: In the Master Data Library, open Shared Declarations > Enumerations. Confirm that standard APL enumerations (e.g., OpDi01_Mode, Motor_State) are present.
  3. CFC Block Insertion Check: Create a test CFC chart, insert an APL MotL block, and verify that mode pins inherit valid enumeration drop-downs without missing reference warnings.

Limitations and Operational Precautions

  1. Project-Wide Synchronization Mandatory: If custom enumerations are added to the Shared Declarations folder, you must execute 'Shared Declarations > Synchronize' across the multiproject to avoid compilation mismatches in SFC charts.
  2. Do Not Delete Standard Enumerations: Never delete default enumerations installed by the APL library, as standard block faceplates rely on fixed numeric enumeration values.

Engineer FAQ

What does 'Shared declarations not available (anymore)' mean?

The project creation wizard cannot locate the required Shared Declarations folder in the master template library.

What are Shared Declarations in PCS 7?

A central project container in the Master Data Library storing global enumerations, engineering units, and equipment properties.

How do I fix the error without reinstalling PCS 7?

Create the multiproject manually and copy the Shared Declarations folder from the PCS 7 AP Library into your Master Data Library.

Where can I find the standard Shared Declarations folder?

Inside the standard system libraries (e.g., PCS 7 AP Library V90) in SIMATIC Manager under File > Open > Libraries.

Why did this error appear after installing SP3?

The Service Pack installation or an incomplete update corrupted the default template project in the Step 7 system directory.

How do I synchronize shared declarations?

Right-click the Multiproject folder in SIMATIC Manager and select Shared Declarations > Synchronize.

Are Shared Declarations required for SIMATIC BATCH?

Yes. SIMATIC BATCH requires shared declarations for units, phases, and recipe parameters.

Can I create custom enumerations?

Yes, you can insert custom enumerations in the Shared Declarations folder for user-defined state machines.

Does repairing PCS 7 delete my existing projects?

No, a repair installation replaces only damaged system program binaries and template files; user projects remain untouched.

Where are Step 7 project templates stored?

Inside C:\Program Files (x86)\Siemens\Step7\S7proj\ on the Engineering Station.

Technical References

Related Articles

Related Tags

  • Shared Declarations
  • Master Data Library
  • Multiproject Wizard
  • Enumerations
  • PCS 7 V9.0 SP3
  • SIMATIC Manager
  • Installation Repair
20 respuestas