Build the classvolume
When building the classvolume, a loadfile and two structfiles are created.
Loadfile
The loadfile is stored in $pwrp_load and has the same name as the volume, with lower case.
The filetype is .dbs, e.g the loadfile for the volume CVolMerk1 is $pwrp_load/cvolmerk1.dbs.
The time when the loadfile is created is stored in the file. Furthermore the version of other
classvolumes that the loadfile is dependent on are stored. At runtime startup, there is a check
that the current versions in the system coincide with the versions registered in the loadfile.
If any version doesn't coincide, you get the message 'Version mismatch' and the startup is
aborted.
You can display the version of a loadfile, and the versions of the dependent volumes with
wb_ldlist.
$ wb_ldlist $pwrp_load/cvolmerk1.dbs
Volume CVolMerk1 21-DEC-2007 13:52:05.22 (1198241525,227130443) 25364
VolRef CVolMerk1 21-DEC-2007 13:52:05.22 (1198241525,227130443) 25364
VolRef pwrs 12-DEC-2007 08:35:06.98 (1197444906,983976467) 1
VolRef pwrb 12-DEC-2007 08:35:09.93 (1197444909,930182284) 2
VolRef BaseComponent 12-DEC-2007 08:35:26.92 (1197444926,926679004) 10
Structfiles
When building a classvolume, two includefiles are generated, a .h-file and a .hpp-file.
If the classvolume contains functions objects, or classes that are used in CArithm or
DataArithm objects, you have to include the .h file in $pwrp_inc/ra_plc_user.h.
Update Classes
When the classvolume is built, you have to update the classes in the root or sub volumes in
the project. The update is activated in the configurator for the root or sub volume, from the
menu with 'Function/Update Classes'. If a class is changed, instance objects of the class are
adapted to the changed class. All references to instances of the class will also be updated.