How to manage versioning of libraries developed using compact control builder
Some libraries are developed in compact control builder using the standard libraries.What is the most effective way to manage the versions of the developed librarires.And when new version of the library is developed can the old library in the application be replaced ?
The 800xA system has two functions for changing the version of the Library .
1) Change Library Version (Project Explorer)
This operation only works on libraries with state Open. This operation does not
Create a new copy of the library. It simply updates the version number (that is,
it changes the version label of the library). The new version replaces the old
and all connections to other objects are intact.
2) Create New Library Version (Plant Explorer)
This operation creates a new version of the library. This new version exists in
parallel with the old version. All connections to control projects, applications
and other libraries are preserved in the old version, but the new version does
not preserve any connections.
The two versions cannot be connected the same application or library, but they
can be inserted into the same control project.
Change Library Version
The library version can only be changed for libraries with state Open. To change the
1. In Project Explorer, right-click the library and select Properties>Version. The
Version dialog is displayed.
2. Set the new version number, according to the version handling rules.
3. Click OK. The version number of the library changes.
Create New Library Version
To create a new library version:
1. In the Library Structure in Plant Explorer, expand the Libraries, Library
Note: A new version can only be created if the library state is released. If you try to
create a new version of a library with state Closed or Open, you will get an error
2. Click the library and select Library Version Definition aspect. The Aspect
Preview pane opens.
3. Click New Version button. A ‘New Version’ dialog opens (Figure 36).
Figure 36. New Object dialog.
4. Enter a new version number according to the version handling rules.
5. Click Create. A new version of the library is created.
Note: The new library versions are not used anywhere by default, thus you must
Connect/replace the library yourself.
Case1: Increasing Minor Version for Bug Fixes will be done as per method 1.Like from 1.0-0 to 1.0-1 this can be done through Change library version (CBM Project Explorer)
Since our library is already in Released state, when library is changed to open state, the library revision 1.0-0 will be automatically get incremented to 1.0-1.
Change library version can be used for Bug Fixes or small revision increases.
If library XYZ 1.0-1 is loaded on XYZ 1.0-0 PPA machine, XYZLib Library1.0-0 will be overridden by 1.0-1 library.
Case2: Increasing Major version in XYZ lib will be done as per method 2.
If we follow Create New Library Version (method 2) procedure the XYXLib 2.0-0 will be created and all the blocks of XYZLib 1.0-0 will also be loaded in XYZLib 2.0-0.So we can take backup of library individually also. This method can be used for major change in library.
Multiple Version handling is supported only for major version, like XYZ 1.0-0 and 2.0.0 can coexist but for minor version the XYZ 1.0-1 will overwrite the XYZlib 1.0-0 library.
For Detail please refer to the manual 3BSE05980R5001 Basic_control_software_Introduction_Configuration.