1. Home
  2. Knowledge Base
  3. Octoplant Server
  4. Tutorials
  5. s7
  6. KB-127501: Integrating existing S7 Multiprojects into octoplant directly

KB-127501: Integrating existing S7 Multiprojects into octoplant directly

Integrating existing S7 Multiprojects into octoplant directly

These instructions are illustrated using an example project. The example project contains two S7 projects and a library. The S7 Multiproject is called S7 Multiproject. The two S7 projects are called S7 project 1 and S7 project 2. The library is called S7 library.

To integrate an existing project into octoplant, take the following steps:

  1. Create a directory for the S7 Multiproject in the UserClient.Create a directory called S7 Multiproject for the example project.
  2. Step-by-step
    1. In the Project tree, find the location where you want to create the new directory.
    2. Right-click and select New directory in the context menu.
    3. Enter a name for the new directory – name of the example directory: S7 Multiproject (Path: ..Plant 1Hall 1 Area 4S7 Multiproject) – and press ENTER.The directory is created.
  3. Create the components of the S7 Multiproject in the directory that you created for this purpose in the UserClient.For the example project, create the following components in the directory S7 Multiproject:
    • Component S7 Project 2 based on the Simatic S7 component types7_Structure_MultiProject_01.PNGImage: Project tree, example S7 multi-project
    • Component S7 Multiproject based on the Simatic S7 Multiproject component type
    • Component S7 Library based on the Simatic S7 Library component type
    • Component S7 Project 1 based on the Simatic S7 component type

Note

You always have to choose a component type when creating a component. The component type should always correspond to the project type. If you want to store an S7 project in a component, the component type has to be Simatic S7. If an S7 project contains a WinCC project, the component type has to be Simatic S7 & WinCC. If an S7 project contains a WinCC flexible project, the component type has to be Simatic S7 & WinCC flexible

  1. Copy the project data into the corresponding components in the UserClient, for example, dragging and dropping from Windows Explorer to the components in the project tree of the UserClient.In this example, proceed as follows:
    • Copy the project data from S7 Multiproject into the S7 Multiproject component.
    • Copy the project data from S7 Library into the S7 Library component.
    • Copy the project data from S7 project 1 into the S7 project 1 component.
    • Copy the project data from S7 project 2 into the S7 project 2 component.
  2. Open the S7 Multiproject in the UserClient.

Step-by-step

  1. Select the component in which the S7 Multiproject is stored in the Project tree – the S7 Multiproject component, in this example.
  2. Right-click on the selected component (S7 Multiproject in this example) and select Open with editor in the context menu. Alternatively press F4
  3. The S7 Multiproject will open in SIMATIC Manager. The S7 projects and the libraries of the S7 Multiproject are greyed out. If an S7 project contains a WinCC project or a WinCC flexible project it is also greyed out. Additionally, octoplant displays the notes *<Project not available>** and *<Library not available>**. 1. Image: SIMATIC Manager, S7 Multiproject

Note

  1. The S7 projects and libraries of the S7 Multiprojects are unavailable because the paths to the project data have changed. When individual projects and libraries are merged to S7 Multiprojects, the paths to the header file of the S7 Multiproject S7F are saved absolutely. You need to adjust the paths when moving the S7 Multiproject into, for example, the UserClient.
  1. Adjust the paths of the Multiproject by reinserting the S7 projects and libraries in SIMATIC Manager into the S7 Multiproject !!! note

     You can only insert S7 projects and libraries into the Multiproject individually. You can't insert multiple S7 projects and libraries into a Multiproject simultaneously. If an S7 project contains a WinCC project or a WinCC flexible project, it will be automatically integrated into the Multiproject via the S7 project. In this example you have to reinsert the two S7 projects **S7 project 1** and **S7 project 2**, and the **S7 Library** library into the S7 Multiproject individually.
    
  2. Step-by-step

    1. Right-click on the Multiproject folder in the project tree of SIMATIC Manager (the S7 Multiproject folder, in this example).A context menu will open.
    2. Select Multiproject -> Insert into Multiproject…s7_SiManag_In_Multi_insert_01.PNGImage: SIMATIC Manager, menu item Insert into multi-projectThe Add to Multiproject dialog is displayed.
    3. Click on Browse… in the Add to Multiproject dialog.s7_SiManag_In_Multi_insert_02.PNGImage: SIMATIC Manager, dialog Include in multi-projectThe Browse dialog is displayed.
    4. Go to the octoplant Clientarchive and select the S7 project you want to reinsert into the S7 Multiproject.s7_SiManag_In_Multi_insert_03.PNGImage: SIMATIC Manager, Select S7 project
    5. Click on OK to apply the path and reinsert the selected project into the Multiproject.Answer possible messages asking whether you want to reinsert the project into the Multiproject with Yes.
    6. Repeat Step 5 as needed to reinsert additional S7 projects and libraries into the S7 Multiproject.
  3. After you have adjusted the paths of the Multiproject, close SIMATIC Manager. If you made changes in the project, save them before exiting.
  4. Go back to the S7 Multiproject directory in the UserClient, version the project and then check it in.
  5. Step-by-step
    1. Go to the directory the S7 Multiproject is stored in, in the Project tree(the S7 Multiproject directory in this example).
    2. Right-click on the S7 Multiproject directory and select Create new version in the context menu.All project data in the directory will be included in the version.
    3. Right-click on the S7 Multiproject directory and select Check-In in the context menu.The dialog Copy from local to server will open.
    4. Check whether the correct components are selected, making changes if necessary. If everything is correct, click on the Check-In and close button.The project data is checked-in, meaning it was copied to the server and can now be checked-out and edited by other users.

The S7 Multiproject is integrated and can be managed in octoplant.


Last update: September 15, 2023

Related Articles

IMPRINT | PRIVACY POLICY | COOKIE POLICY

Privacy Preference Center