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.
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.
- Create a component with the name S7 Standard libraries solar modules 36-72 based on the component type Simatic S7 Library.
- For this example, copy the S7 project present in the component S7 Standard libraries solar modules 36-72 into the Project tree.
- Create a new version and check it in.
- 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.
- For this example, create three Simatic S7 components with the names PL1 SM 36 cells, PL2 SM 60 cells and PL3 SM 72 cells.
- Copy the respective S7 projects into the corresponding components located in the Project tree.
- Create a new version for each component and check them in.
- Repeat this process to integrate more S7 projects if necessary.
LibraryManagement for S7 – Assigning a standard library
- In theProject tree in theUserClient, select the component named PL1 SM 36 cells.
- Right-click on the selected component and then select Edit component configuration.
- In the dialog Component properties, click on Assign standard libraries.
- 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.
- Add the selected standard library via to the field Standard libraries assigned to component.
- In the dialog Assign standard libraries, click on OK.
- In the dialog Component properties, click on Apply.
- Create a new version and check it in.
- Repeat the process for the components PL2 SM 60 cells and PL3 SM 72 cells.
LibraryManagement for S7 – Running a block comparison
- Start LibraryManagement.
- In the Project tree, select the S7 project PL1 SM 36 cells in the component of the same name.
- If you want to view more information on a block, click on the block in the table.
Related Topics
Last update: September 15, 2023