how do I make my own library?
In Codesys 2.3 I can save a project as a library, but a project usually contains lots of non-reusable stuff that one does not need in a library.
Can I make a library where I put only what I want, e.g. 5 functions from project A and 10 functions from project B ?
Another question is, see for example the OSCAT library. It has 600+ POU's, from which I need say 20.
How do I make a library with only these 20 POU's ?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
oscat is a library you can import the normal way, however, it is very big and if you only need a liitle of it, i take the TXT version and copy and paste.
i will get errors as i copy only one function at a time. the error says it misses a subfunction, which i then import too etc.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
how do I make my own library?
In Codesys 2.3 I can save a project as a library, but a project usually contains lots of non-reusable stuff that one does not need in a library.
Can I make a library where I put only what I want, e.g. 5 functions from project A and 10 functions from project B ?
Another question is, see for example the OSCAT library. It has 600+ POU's, from which I need say 20.
How do I make a library with only these 20 POU's ?
Thanks
To make your own library you must erase everything that you do not want to include (pous, data types, visualization, PLC, ....).
For that :
About Oscat, I think you can open the library (Open type file Library) and after export/import functions you want to use.
hoping this helps
Best regards
oscat is a library you can import the normal way, however, it is very big and if you only need a liitle of it, i take the TXT version and copy and paste.
i will get errors as i copy only one function at a time. the error says it misses a subfunction, which i then import too etc.