Codesys 2.3 Libraries - Creating Your Own

SilverShotBee

Member
Join Date
May 2011
Location
England
Posts
46
I have created my own standard libraries, but have run in to an issue I hadn't expected.

Inside my library file, I have imported other libraries, manufacturer libraries for the PLC I am using. Now, I thought that if I'd imported a library in to another library file, I'd only need to import that one library file to have access to the function blocks of all libraries inside the one loaded.

Sadly, that doesn't seem to be the case and I simply get a ton of errors saying "Function [XXX] doesn't exist" (or something like that). If I import the libraries that are already imported in to the master library, all works fine.

Is there something I am doing wrong here, or is this just a limitation of Codesys / to stop license issues ect.
 
it is both a licese issue and you can notimport a compiled library.
see oscat.de for a very good load of functions.
 
Thanks, I thought it might be something along those lines. Shame though! I guess I'll just have to list the other libraries that are required in order for this one to function correctly.
 

Similar Topics

Hello everyone, I'm stepping into some Codesys stuff for the first time and it seems not many people know much about it. Does anyone know in...
Replies
7
Views
7,228
More Codesys help after my question earlier which was answered by Norm. I'm having trouble creating a custom library, I've created one function...
Replies
1
Views
2,430
Hello, I would like to execute code saved in initialization FB on the first start of the PLC. It is basically something like OB100 in the Siemens...
Replies
5
Views
100
Hi! What is the way to convert the code from the Codesys code to the Tia Portal? Regards, WK
Replies
4
Views
119
Hello to all, can you please provide an example of obtaining a current working directory as a string in CodeSys? For example, during starting the...
Replies
7
Views
237
Back
Top Bottom