CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Wed Jan 29, 2020 9:38 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Apr 19, 2016 1:51 pm 
Offline

Joined: Wed Dec 10, 2014 2:20 pm
Posts: 8
Hi,

I've got a problem, I've generate a complied library as "Lib_A.complied-library", which contains "Lib_B.complied-library" and "Lib_C.complied-library" in the library manager in POU.

After I distribute "Lib_A.complied-library" to colleague and he has installed it on his laptop, he found informaton in library manager "Warining" sign, which means "Lib_B.complied-library" and "Lib_C.complied-library" are not found in his machine. Then he has to install both separately.

Which means if I distribute "Lib_A.complied-library" to customer, I have to distribute "Lib_B.complied-library" and "Lib_C.complied-library" as well, all these three need to be installed separately.

Question:
Is it possible to generate a "Lib_A.complied-library" which automatically contains used sub library after installtion in repository (in this case "Lib_B.complied-library" and "Lib_C.complied-library")?

thanks a lot


You do not have the required permissions to view the files attached to this post.


Last edited by zhou on Wed Apr 20, 2016 8:08 am, edited 1 time in total.

Top
   
PostPosted: Tue Apr 19, 2016 6:26 pm 
Offline
Frequent User
Frequent User

Joined: Fri Sep 02, 2011 8:02 pm
Posts: 312
When you created library "A", did you add a library object and include library "B" and library "C" as libraries needed? I am not sure if that results in library "A" automatically including libraries "B" and "C", but you should do it anyway because "A" requires "B" and "C"...

_________________
Scott Cunningham
KEB America, Inc.
www.kebblog.com
www.kebamerica.com


Top
   
PostPosted: Wed Apr 20, 2016 8:09 am 
Offline

Joined: Wed Dec 10, 2014 2:20 pm
Posts: 8
hi scott_cunningham,

thank you for your reply, I've added a screenshot for the librarymanager in codesys, both Lib_B and Lib_C are contained inside of Lib_A.


Top
   
PostPosted: Wed Apr 20, 2016 12:37 pm 
Offline
Frequent User
Frequent User

Joined: Fri Sep 02, 2011 8:02 pm
Posts: 312
You need to send each library. Dependent libraries are not included. Or, you could make one combined library.

If you are giving somebody your project which uses these special libraries, you should save your project as a project archive. The project archive will include your libraries. So when you send someone your project archive, all libraries and drivers are included. This is very important for when you need to edit a project that is 3 years old (current CoDeSys install libraries will be too new for a 3 year old project).

_________________
Scott Cunningham
KEB America, Inc.
www.kebblog.com
www.kebamerica.com


Top
   
PostPosted: Mon Apr 25, 2016 8:34 pm 
Offline
Frequent User
Frequent User
User avatar

Joined: Tue Jun 06, 2006 9:03 am
Posts: 410
Alternatively you can create a package.
Like almost all store products are provided as packages.

These can contain you libraries, but optionally also example projects or help files (and any other files you would like to add).

Just download the package designer from the store: http://store.codesys.com/package-designer.html
After installation in CODESYS (Tools - package manager), you can start it through Tools - Package Designer.

It will require some testing to create a correct package, but it is a nice way to share your libraries and add any additional (required) libraries.
What can help, is to open another package (e.g. a library from the store), but make sure you use your own GUID and get one from an online guid generator.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: sumkrnboy and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited