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 Thu Sep 19, 2019 8:47 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: problem with library
PostPosted: Thu Jan 29, 2015 5:21 am 
Offline

Joined: Mon Nov 24, 2014 9:16 pm
Posts: 38
Hello,

I was able to get a version of the I2C slave driver running for my device, but I have a bit of an issue.

When I add another device, it deletes my library, and I have to add it back in.

After that, I have to exit the project, and then reload it, in order for it to recognize the driver library. Is this a known issue with the Codesys for the Pi? Perhaps I did not create the device config file correctly or save it in the right spot?

Any ideas?


Top
   
 Post subject: Re: problem with library
PostPosted: Thu Jan 29, 2015 5:25 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3450
Hello,

which driver library exactly,
could you attach your projectarchive?

BR
Edwin


Top
   
 Post subject: Re: problem with library
PostPosted: Fri Jan 30, 2015 8:21 pm 
Offline

Joined: Mon Nov 24, 2014 9:16 pm
Posts: 38
Here is a link to the projectarchive.

https://www.dropbox.com/s/7507oxl5m72nat9/Proptest1_1-30-15.projectarchive?dl=0

Its 22MB. Not sure what your posting limits are. Tried to add it to the post but it dumped it.

Basically, what happens is that it will compile, and go online, and work just fine. When I go to add another device, say a Modbus or SPI device, it will remove the Fixstuff library, and subsequently not recognize the propi2c device and use in the code.

If I re-add the library, save it and exit and restart Codesys, I have both my library, and the new one, and it works fine.

Its very repeatable, which leads me to think its either something I have done wrong in say the device config file, or its a bug.


Top
   
 Post subject: Re: problem with library
PostPosted: Fri Jan 30, 2015 11:07 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3450
Hi,
there is a mismatch in the version between library and devicedescription see screenshot.

BR
Edwin


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


Last edited by Edwin Schwellinger on Sun Feb 01, 2015 11:13 am, edited 1 time in total.

Top
   
 Post subject: Re: problem with library
PostPosted: Sun Feb 01, 2015 3:49 am 
Offline

Joined: Mon Nov 24, 2014 9:16 pm
Posts: 38
thanks for finding that. It was driving me nuts.


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: No registered users and 7 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