1. Home
  2. Knowledge Base
  3. Octoplant Server
  4. Tutorials
  5. LibraryManagement
  6. KB-126806: Example: Using standard library with Siemens SIMATIC S7

KB-126806: Example: Using standard library with Siemens SIMATIC S7

Example: Using standard library with Siemens SIMATIC S7

The project used in this example comprises three S7 projects and a standard library. The standard library blocks are used in all of the 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 named S7 Standard library solar modules 36-72.

Image: Project tree, example of project structure

The S7 project ** PL1 SM 36 cells** will be checked to see if any changes have been made. Proceed as follows:

LibraryManagement for S7 –  Creating a standard library1. Create a directory with the name S7 Standard libraries solar modules in the UserClient.

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

LibraryManagement for S7 – Integrating an S7 project 1. Create a directory with the name S7 Standard libraries solar modules in the UserClient.

  1. For this example, create three Simatic S7 components with the names PL1 SM 36 cells, PL2 SM 60 cells and PL3 SM 72 cells.
  2. Copy the respective S7 projects into the corresponding components located in the Project tree.
  3. Create a new version for each component and check them in.
  4. Repeat this process to integrate more S7 projects if necessary.

LibraryManagement for S7 – Assigning a standard library

  1. In theProject tree in theUserClient, select the component named PL1 SM 36 cells.
  2. Right-click on the selected component and then select Edit component configuration.
  3. In the dialog Component properties, click on Assign standard libraries.
  4. In the dialog Assign standard libraries select the S7 standard library solar module 36 to 72 you wish to assign under Locally available standard libraries.
  5. Add the selected standard library via ResourcesImages_sharedIconsIcon_Pfeil_R.png to the field Standard libraries assigned to component.
  6. In the dialog Assign standard libraries, click on OK.
  7. In the dialog Component properties, click on Apply.
  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.

LibraryManagement for S7 – Running a block comparison

  1. Start LibraryManagement.
  2. In the Project tree, select the S7 project PL1 SM 36 cells in the component of the same name.
  3. If you want to view more information on a block, click on the block in the table.

Last update: September 15, 2023

Related Articles

IMPRINT | PRIVACY POLICY | COOKIE POLICY

Privacy Preference Center