<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Can I run C code on a Raspberry with Codeys?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8554e4388f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8554e4388f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/8554e4388f/</id><updated>2020-02-27T16:45:12.104000Z</updated><subtitle>Recent posts to Can I run C code on a Raspberry with Codeys?</subtitle><entry><title>Can I run C code on a Raspberry with Codeys?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8554e4388f/?limit=25#8e6e" rel="alternate"/><published>2020-02-27T16:45:12.104000Z</published><updated>2020-02-27T16:45:12.104000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.com07893632c1e899780fd5a0a8924948eea29bf33c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;There are some funtionalities with matrix in sm3_basic library.&lt;/p&gt;
&lt;p&gt;You can do that you want with st. If code take a lot of time you can execute this code in an assinc task.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Can I run C code on a Raspberry with Codeys?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8554e4388f/?limit=250#f873" rel="alternate"/><published>2020-02-27T16:45:09.574000Z</published><updated>2020-02-27T16:45:09.574000Z</updated><author><name>Hermsen</name><uri>https://forge.codesys.com/u/hermsen/</uri></author><id>https://forge.codesys.com70f9d4a27c8f15331ffc91229c282689d73f3a89</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;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.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Can I run C code on a Raspberry with Codeys?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8554e4388f/?limit=25#0558" rel="alternate"/><published>2020-02-27T16:45:08.685000Z</published><updated>2020-02-27T16:45:08.685000Z</updated><author><name>Volvo742</name><uri>https://forge.codesys.com/u/volvo742/</uri></author><id>https://forge.codesys.com077c919c79e6bb8b29b78ddad64511cce2855227</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Hermsen hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
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.&lt;br/&gt;
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.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Thanks! Then I have to use ST language.&lt;/p&gt;
&lt;p&gt;But Matrix library should also be included in Raspberry PI package.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Can I run C code on a Raspberry with Codeys?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8554e4388f/?limit=250#3148" rel="alternate"/><published>2020-02-27T16:45:06.129000Z</published><updated>2020-02-27T16:45:06.129000Z</updated><author><name>Hermsen</name><uri>https://forge.codesys.com/u/hermsen/</uri></author><id>https://forge.codesys.com47d7f2db0e6c93e3ad5621f43d1206c29cfafef8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;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.&lt;br/&gt;
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.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Can I run C code on a Raspberry with Codeys?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8554e4388f/?limit=25#53e9" rel="alternate"/><published>2020-02-27T16:45:05.091000Z</published><updated>2020-02-27T16:45:05.091000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com7bdaf788a89cf4626551ae538e3ae502d9d92b28</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
no - this is not possible/supported by Raspberry Pi at the moment.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Can I run C code on a Raspberry with Codeys?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8554e4388f/?limit=25#2bfe" rel="alternate"/><published>2020-02-27T16:45:04.148000Z</published><updated>2020-02-27T16:45:04.148000Z</updated><author><name>Volvo742</name><uri>https://forge.codesys.com/u/volvo742/</uri></author><id>https://forge.codesys.com0dc2bb9506372024a9345c57fbb183f4850402b4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;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?&lt;/p&gt;
&lt;p&gt;I going to do some system identification, math, adaptive control with the PLC.&lt;/p&gt;
&lt;p&gt;Because I don't think that PLC-structure text cannot do any adaptive control. That's why I think C programming is needed.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://books.google.se/books?id=L0m_CR-IK24C&amp;amp;pg=PA505&amp;amp;lpg=PA505&amp;amp;dq=adaptive+control+PLC&amp;amp;source=bl&amp;amp;ots=7Ulzev_pSB&amp;amp;sig=wqswYor2lwCxuwLNUhhHTCEPnfw&amp;amp;hl=sv&amp;amp;sa=X&amp;amp;ved=0ahUKEwicoOOw5N_YAhWEFiwKHYC1B2gQ6AEIezAN#v=onepage&amp;amp;q=adaptive%20control%20PLC&amp;amp;f=false" rel="nofollow"&gt;https://books.google.se/books?id=L0m_CR ... LC&amp;amp;f=false&lt;/a&gt; m &lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Skärmbild från 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3353"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>