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,072
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,405
Hello, I am new to Codesys, and am trying to learn about it for a project we're developing. I've got a couple questions, but first a little...
Replies
1
Views
73
Hi everyone, as this is my first experience with Rockwell Software i would like to know what's the best way to make Enumerations?
Replies
10
Views
412
I am trying to get Codesys to work with a couple of Moxa ioLogik E1200 series DIO devices (E1210 and E1211). I am able to write to the E1211 DOs...
Replies
2
Views
114
Back
Top Bottom