Skip to content

Integrating projects and their libraries: Example with Siemens S7

The project used in this example consists of three S7 projects and a standard library. The standard library blocks are used in all S7 projects. The names of the S7 projects are PL1 SM 36 cells, PL2 SM 60 cells and PL3 SM 72 cells. The standard library is called S7 standard library solar modules 36-72.

The S7 project PL1 SM 36 cells is checked to see whether any changes have been made.

Procedure

Integrating a standard library

  1. Create a directory with the name S7 Standard libraries solar modules in the UserClient.
  2. Create a component with the name S7 Standard libraries solar modules 36-72 based on the component type Simatic S7 Library.
  3. For this example, copy the S7 project existing in the component S7 Standard libraries solar modules 36-72 into the Project tree.
  4. Create a new version and check it in.
  5. Repeat this process as required to create further standard libraries for S7 projects.

Integrating an S7 project

  1. Create a directory with the name S7 Standard libraries solar modules in the UserClient.
  2. For this example, create three Simatic S7 components with the names PL1 SM 36 cells, PL2 SM 60 cells and PL3 SM 72 cells.
  3. Copy the respective S7 projects to the corresponding components located in the Project tree.
  4. Create a new version for each component and check it in.
  5. Repeat this process to integrate additional S7 projects if necessary.

Assigning a standard library to the projects

  1. In the Project tree in the UserClient, select the component with the name PL1 SM 36 cells.
  2. Right-click the selected component and select then Edit component configuration.
  3. In the Edit component configuration dialog, click Assign standard libraries.
  4. In the Assign standard libraries dialog, under Locally available standard libraries., select the S7 standard library Solar module 36 to 72 that you want to assign.
  5. Add the selected standard library via Icon Arrow R in the LibraryManagement field assigned to the component.
  6. Click OK in the Assign standard libraries dialog.
  7. Click Apply in the Edit component configuration dialog.
  8. Create a new version and check it in.
  9. Repeat the process for the components PL2 SM 60 cells and PL3 SM 72 cells.