3 General Programming
3.7 Libraries
Figure 3-31: Libraries in the TIA Portal
(1) "Project library"
–
Integrated in the project and managed with the project
–
Allows the reusability within the project
(2) "Global library"
–
Independent library
–
Use within several projects possible
A library includes two different types of storage of library elements:
(3) "Master copies"
–
Copy of configuration elements in the library (e.g. blocks, hardware, PLC
tag tables, etc.)
–
Copies are not connected with the elements in the project.
–
Master copies can also be made up several configuration elements.
(4) "Types"
–
Types are connected with your usage locations in the project. When types
are changed, the usage locations in the project can be updated
automatically.
–
Supported types are controller blocks (FCs, FBs), PLC data types, HMI
images, HMI faceplates, HMI UDT, scripts).
–
Subordinate elements are automatically typified.
–
Types are versioned: Changes can be made by creating a newer version.
–
There can only be one version of a used type within a controller.
Programming Guideline for S7-1200/1500
V1.2, Entry ID: 81318674
1
3
4
2
55