Skip to content

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

  1. Open the S7 multiproject that you want to integrate in SIMATIC Manager. Check whether the S7 multiproject contains the desired content.

  2. Archive the S7 multiproject to the client archive using SIMATIC Manager.

    Steps:

    1. In SIMATIC Manager, select File > Archive....
    2. In the Archiving dialog, switch to the Multiprojects tab.
    3. Select the S7 multiproject to be archived and select OK.

      Figure: SIMATIC Manager, Archive dialog, multiprojects tab

      Info

      You can also use the Browse... button to locate an S7 multiproject.

    4. In the Archiving - Select an archive dialog, make the following settings:

      1. Under Save, select the vdClientArchive directory as the storage location.

        Info

        The archive must be saved in the client archive. The level within the client archive is not relevant.

      2. Enter a name for the archive under File name.

      3. Select a File type (file type depends on the archiving program used).

        Figure: SIMATIC Manager, Dialog Archive - Select an archive

    5. Select Save.

    6. 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.

    7. Select OK.

    The S7 multiproject is now archived in the client archive.

  3. Retrieve the S7 multiproject from the client archive using SIMATIC Manager.

    Steps:

    1. In SIMATIC Manager, select File > Retrieve....
    2. In the Retrieve - Select an archive dialog, select the archive from the vdClientArchive directory and select Open.
    3. In the Select destination directory dialog, choose the vdClientArchive directory or one of its subdirectories as the storage location and select OK.

      Figure: Windows Explorer, select target directory

      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.

    4. In the message, select OK.

      A confirmation message appears stating that the S7 multiproject has been retrieved and can be opened.

    5. Select Yes to open the S7 multiproject, or No to skip opening it.

  4. 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.

  5. 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)

    Figure: Project tree, example S7 multiproject

    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.

  6. 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.

  7. 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:

    1. Select one of the empty subdirectories and copy its name.
    2. Delete the subdirectory.
    3. Switch to the UserClient.
    4. 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

        Figure: Project tree, example S7 multiproject, changed names

  8. Repeat the process for the empty S7 multiproject directory itself.

    Steps:

    1. Select the empty S7 multiproject directory copy its name.
    2. Delete the directory.
    3. Switch to the UserClient.
    4. In the Project tree, rename the corresponding directory using the copied name.

    Example:

    • S7 multiproject octoplant -> S7 multiproject
  9. 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.

  10. Close SIMATIC Manager. If you have made changes, save your data before closing.

  11. 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