Integrate S7 multiprojects from the client archive
Example project
These instructions use an example project that includes:
- A directory named S7 Multiproject
- An S7 multiproject component named Multiprj
- Two S7 projects: S7-300 and S7-400
- A library: MultiPrjLib
Procedure
-  Open the S7 multiproject that you want to integrate in SIMATIC Manager. Check whether the S7 multiproject contains the desired content. 
-  Archive the S7 multiproject to the client archive using SIMATIC Manager. Steps: - In SIMATIC Manager, select File > Archive....
- In the Archiving dialog, switch to the Multiprojects tab.
-  Select the S7 multiproject to be archived and select OK.  Info You can also use the Browse... button to locate an S7 multiproject. 
-  In the Archiving - Select an archive dialog, make the following settings: -  Under Save, select the vdClientArchivedirectory as the storage location.Info The archive must be saved in the client archive. The level within the client archive is not relevant. 
-  Enter a name for the archive under File name. 
-  Select a File type (file type depends on the archiving program used).  
 
-  
-  Select Save. 
-  If the settings in the Archive - Options dialog are still active, deactivate them if possible. Info For more information on these options, refer to the SIMATIC Manager documentation. 
-  Select OK. 
 The S7 multiproject is now archived in the client archive. 
-  Retrieve the S7 multiproject from the client archive using SIMATIC Manager. Steps: - In SIMATIC Manager, select File > Retrieve....
- In the Retrieve - Select an archive dialog, select the archive from the vdClientArchivedirectory and select Open.
-  In the Select destination directory dialog, choose the vdClientArchivedirectory or one of its subdirectories as the storage location and select OK. Info The storage structure in the UserClient must match the structure in the client archive. A message with the path to the retrieved data is displayed and can be disabled if needed. 
-  In the message, select OK. A confirmation message appears stating that the S7 multiproject has been retrieved and can be opened. 
-  Select Yes to open the S7 multiproject, or No to skip opening it. 
 
-  Create a directory for the S7 multiproject in the UserClient. Info For technical reasons, this directory must not have the same name as the retrieved directory in the client archive. However, the path must be retained. For example, if the retrieved directory is at the top level of the client archive, the corresponding directory in octoplant must also be created at the top level. 
-  Create the components of the S7 multiproject in the newly created directory in the UserClient. For each subdirectory retrieved from the client archive, create a corresponding component in the S7 multiproject directory. Example components: - S7 Multiproject octoplant (component type: Simatic S7 Multiprojekt)
- S7 Library octoplant (component type: Simatic S7 Library)
- S7 Project 1 octoplant (component type: Simatic S7)
- S7 Project 2 octoplant (component type: Simatic S7)
  Info Always select the appropriate component type for the project. For example, if an S7 project contains a WinCC project, use Simatic S7 & WinCC. If it contains a WinCC flexible project, assign Simatic S7 & WinCC flexible. 
-  Cut and paste the contents of the retrieved subdirectories from the client archive into the corresponding components. Warning The contents must be cut, not copied. Copying would lead to errors. 
-  Repeat the process for all subdirectories. Example mapping: - S7 Multiproject -> S7 Multiproject octoplant
- S7 library -> S7 library octoplant
- S7 Project 1 -> S7 Project 1 octoplant
- S7 Project 2 -> S7 Project 2 octoplant
 Delete the empty subdirectories in the client archive and copy their names to the corresponding components. Steps: - Select one of the empty subdirectories and copy its name.
- Delete the subdirectory.
- Switch to the UserClient.
-  In the Project tree, rename the corresponding component using the copied name. In the case of the example project, make the following name changes: - S7 multiproject octoplant -> S7 multiproject
- S7 library octoplant -> S7 library
- S7 project 1 octoplant -> S7 project 1
-  S7 project 2 octoplant -> S7 project 2  
 
 
-  Repeat the process for the empty S7 multiproject directory itself. Steps: - Select the empty S7 multiproject directory copy its name.
- Delete the directory.
- Switch to the UserClient.
- In the Project tree, rename the corresponding directory using the copied name.
 Example: - S7 multiproject octoplant -> S7 multiproject
 
-  Open the S7 multiproject via the UserClient. The S7 multiproject opens in SIMATIC Manager, and its projects and libraries are displayed. Info Opening the project in SIMATIC Manager via octoplant after the initial transfer is required for technical reasons. 
-  Close SIMATIC Manager. If you have made changes, save your data before closing. 
- Return to the S7 multiproject directory in the UserClient, version the project data, and check it in.
The S7 multiproject is now integrated in octoplant and can be managed there.
Related topics