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 Sat Jul 20, 2019 8:23 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sun Dec 24, 2017 4:35 pm 
Offline

Joined: Sat Dec 23, 2017 11:30 pm
Posts: 7
Hello everybody,

I am newbie in this forum and I am a new user of codesys.
I have runtime working without any problems in my Linux X86 CPU.

Before, we was programming our applications in C and Qt ( C++ ) with realtime support and we have developed some drivers for special devices.
Now with codesys, we would like to access a those special devices, but codesys doesn't recognize them directly.

So, my question:

1.- Can codesys open a device in /dev/myDriver? I suppose I know the answer.....NO
2.- Does somebody know how to create a component, library and I/O driver to access a special device??
3.- Anybody has a interested example ?

King regards


Top
   
PostPosted: Mon Dec 25, 2017 7:40 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3349
Hi,
Is this really CODESYS version 2.3?
BR
Edwin


Top
   
PostPosted: Mon Dec 25, 2017 11:44 am 
Offline

Joined: Sat Dec 23, 2017 11:30 pm
Posts: 7
Edwin Schwellinger wrote:
Hi,
Is this really CODESYS version 2.3?
BR
Edwin


Ufffffff...... you are right. I am user of codesys V3.

HI Admin, could you move this post to the correct place? Thanks a lot.

Sorry.


Top
   
PostPosted: Tue Dec 26, 2017 1:18 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3349
Hi,
either you add your drivers as runtime components or you access /dev/whatever from iec
application both is possible.
Think these a points need to be checked on the runtime toolkit Workshop (has this already been done)

BR
Edwin


Top
   
PostPosted: Tue Dec 26, 2017 3:46 pm 
Offline

Joined: Sat Dec 23, 2017 11:30 pm
Posts: 7
Edwin Schwellinger wrote:
Hi,
either you add your drivers as runtime components or you access /dev/whatever from iec
application both is possible.
Think these a points need to be checked on the runtime toolkit Workshop (has this already been done)

BR
Edwin


Hi Edwin,

Thank you very much for move my post.
I am checking information about C-Integration but when I open Codesys software I don't find option "C code Module".
Right click in Application, and it isn't this option. License??? I don't know

Kind regards


Top
   
PostPosted: Tue Dec 26, 2017 4:19 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3349
Hi,

C-Integration is different product and even a different approach.
I would recommend to add a C-code runtime component but for this no C-Integration is needed only the runtime toolkit.

BR
Edwin


Top
   
PostPosted: Tue Dec 26, 2017 7:52 pm 
Offline

Joined: Sat Dec 23, 2017 11:30 pm
Posts: 7
Edwin Schwellinger wrote:
Hi,

C-Integration is different product and even a different approach.
I would recommend to add a C-code runtime component but for this no C-Integration is needed only the runtime toolkit.

BR
Edwin


Hi Edwin,

Understood. So, C-code runtime component is the best way.
I have the runtime toolkit for our system, so I suppose I need to read a lot of pdfs.

Kind regards


Top
   
PostPosted: Tue Dec 26, 2017 9:16 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3349
Hi,
usually there is this 2 day workshop,
which is really needed.
Has this workshop already been carried out in your Company or at 3S Software?
BR
Edwin


Top
   
PostPosted: Tue Dec 26, 2017 10:13 pm 
Offline

Joined: Sat Dec 23, 2017 11:30 pm
Posts: 7
Edwin Schwellinger wrote:
Hi,
usually there is this 2 day workshop,
which is really needed.
Has this workshop already been carried out in your Company or at 3S Software?
BR
Edwin


Hi Edwin,

Yes, my contact in Codesys told me that runtime toolkit included this workshop.
I tried to understand how to make it, but I see that it is a little bit more complex without previous knowledge.
I guess in January, I will go to Kempten to have this workshop.

Thank you very much Edwin for your help.

Kind regards.


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users 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