Duplication of AC 800M library
is it possible to make a copy of an existing (created by myself) AC 800M library within one 800xA system? Or a new major version of the library is the only solution?
Working on an AC800M project some time ago I developed a library containing data types and function blocks. Now I'm working on another project which is basically similar, so the original library would be a good starting point, however the differences are big and the project deserves its own library. Moreover, I don't want to edit the existing library to avoid unwanted changes to the original project. So what is the best way to duplicate a library?
Thanks for your answers
Voted best answer
"Release" the library which will prevent further code changes to it. Then create a new version.
Your existing code will still use the original "Released" library version. You can make changes to all objects, functions, data types etc in the new library version. Test your changes with a new application.
When you are ready, connect your original application to the new Library version and download the new code to your controllers.
There are detailed instructions and sugestions for Library handling in the AC800M Library Oject Style Guide.
When the project is properly set up, Library version handling like this is actually an excellent way of controlling software version handling in a large project. Virtually your entire project can be written in libraries. You can then "release" running code to the plant but continue to make major changes to new library versions while still running the released versions of tested and proven code.