Product specifications
Creating a New Base Library Appendix B Library Handling
548 3BDS011222-510 B
Below the Library Version object the folder objects Control Module Types,
Data Types, Function Block Types and Internal Types are created.
3. Now you can start to add your object types to the library.
Adding Data to a Base Library Version
A base library can contain object type groups, object types and aspect groups. How
to add objects and aspects is described below.
Adding Objects
When an object is created beneath the Library Version object in the Object Type
Structure, the new object is always assigned to the base library if the library is open.
The same applies when a complete object (or-sub-tree of objects) is moved or
copied into a base library. Both the object and its aspects are assigned to the base
library.
If an object is moved or copied out from a library, the assignments will be removed.
If it is placed inside another library, everything will be assigned to that library.
If a complete object (or sub-tree) is moved or copied within a base library, all
existing aspects will keep their current assignment. But if an aspect belongs to a
non-open extension library, a move will be aborted because the location of the
aspect is part of the extension library. If an aspect of the non-open extension library
is copied, the operation will succeed but the library assignment on the aspect will be
removed.
Adding Aspects
If an aspect is created by using the New Aspect dialog box, you can choose to assign
it to a base library or (if available) an extension library if the library is open. It s also
possible to not assign the aspect to any library.
When an aspect is created by copy/paste within the same base library the following
applies:
– If the source aspect belongs to the base library, the target aspect is
assigned to the same base library if the source object and the target object
belong to the same open base library.