CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Tue Feb 20, 2018 8:43 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Jan 17, 2018 8:21 pm 
Offline

Joined: Wed Jun 08, 2016 12:03 pm
Posts: 46
Hi!

As I know, Codeys have a plug-in so the user can use C code to do code, instead of PLC code. But is that plug-in free, comes with the Raspberry Pi Codesys package or not free at all and don't come with the Raspberry Pi Codesys package?

I going to do some system identification, math, adaptive control with the PLC.

Because I don't think that PLC-structure text cannot do any adaptive control. That's why I think C programming is needed.

https://books.google.se/books?id=L0m_CR ... LC&f=false


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


Top
   
PostPosted: Thu Jan 18, 2018 4:57 pm 
Online
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2500
Hi,
no - this is not possible/supported by Raspberry Pi at the moment.

BR
Edwin


Top
   
PostPosted: Fri Jan 19, 2018 4:47 pm 
Offline

Joined: Wed Dec 28, 2016 11:00 pm
Posts: 58
This can be implemented within ST, because most PID Loops are implemented in pure ST also. Though this a bit more complex, it is definatly doable I guess.
For some open source examples of PIDLoop implementation, take a look at the OSCAT Basic library which is free charge and downloadable from within codesys store (free account needed). They also have a website and a forum.


Top
   
PostPosted: Sun Jan 21, 2018 6:21 pm 
Offline

Joined: Wed Jun 08, 2016 12:03 pm
Posts: 46
Hermsen wrote:
This can be implemented within ST, because most PID Loops are implemented in pure ST also. Though this a bit more complex, it is definatly doable I guess.
For some open source examples of PIDLoop implementation, take a look at the OSCAT Basic library which is free charge and downloadable from within codesys store (free account needed). They also have a website and a forum.


Thanks! Then I have to use ST language.

But Matrix library should also be included in Raspberry PI package.


Top
   
PostPosted: Mon Jan 22, 2018 7:41 pm 
Offline

Joined: Wed Dec 28, 2016 11:00 pm
Posts: 58
Please understand that Codesys is in platform independant. So, if you have a matrix library written in pure IEC with platform dependancies, it will run in a wide variaty of targets. Stick to CAA and or Syslibs as much as possible.


Top
   
PostPosted: Fri Jan 26, 2018 8:32 am 
Offline
Frequent User
Frequent User

Joined: Wed May 04, 2016 6:00 pm
Posts: 205
Hi.

There are some funtionalities with matrix in sm3_basic library.

You can do that you want with st. If code take a lot of time you can execute this code in an assinc task.


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

All times are UTC+01:00


Who is online

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