<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CODESYS Control for BeagleBone SL use shared library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c9834257db/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c9834257db/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/c9834257db/</id><updated>2020-02-27T17:47:26.917000Z</updated><subtitle>Recent posts to CODESYS Control for BeagleBone SL use shared library</subtitle><entry><title>CODESYS Control for BeagleBone SL use shared library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c9834257db/?limit=100#147e" rel="alternate"/><published>2020-02-27T17:47:26.917000Z</published><updated>2020-02-27T17:47:26.917000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.comcbae3c444d6e6345ca7477ed31260f03637b55cb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am glad it seems there is an alterrnative way via SharedMemory or TCPIP.&lt;br/&gt;
There should be some demo projects via the Codesys store available that demonstrate this.&lt;/p&gt;
&lt;p&gt;Good luck.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS Control for BeagleBone SL use shared library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c9834257db/?limit=25#d7b5" rel="alternate"/><published>2020-02-27T17:47:25.851000Z</published><updated>2020-02-27T17:47:25.851000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com5583780af67465fd2316645196a06e3a54c90d3c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; myemail for codesys&lt;/p&gt;
&lt;p&gt;Thanks! Aliazzz,&lt;br/&gt;
I have gotten answer from Codesys Support Team.&lt;/p&gt;
&lt;p&gt;"it is not possible to include the .h or .so file direct to our runtime.&lt;br/&gt;
The only way I see is that you create a own application with that files as an gateway and send the current values via SharedMemory or TCPIP to our runtime."&lt;/p&gt;
&lt;p&gt;Hope this is helpful to peoples who have similar problem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS Control for BeagleBone SL use shared library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c9834257db/?limit=100#56e3" rel="alternate"/><published>2020-02-27T17:47:24.783000Z</published><updated>2020-02-27T17:47:24.783000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.comc01f46519decab344b81c8b2f3d770267c5ee80a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Though it probably can work, I have no experience with an oscilloscope in combination with a PLC runtime.&lt;br/&gt;
That said, I guess accessing the scope from within Codesys can (hopefully) be achieved by adding a serial device in codeys (i.e.) adding the usbdevice "port" into Codesys Config file like the following example. &lt;br/&gt;
My suggestion would for you to find out how you can add USB COM access to Codesys;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="n"&gt;sudo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;nano&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;CODESYSControl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cfg&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;SysCom&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Linux&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Devicefile&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;ttyAMA&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;However, I have got no clue on how you can read or control the device/channel/dac data. For such details you should study the device driver / use the C integration route. It is possible to integrate C code into Codesys. However C integration requires a license. For this I suggest contacting Codesys Sales directly.&lt;/p&gt;
&lt;p&gt;Just tackle your problem one step at a time. I hope you will succeed and will share your adventures with us!&lt;/p&gt;
&lt;p&gt;Good luck and let us know how you are doing with this.&lt;/p&gt;
&lt;p&gt;Aliazzzz&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS Control for BeagleBone SL use shared library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c9834257db/?limit=25#f274" rel="alternate"/><published>2020-02-27T17:47:21.862000Z</published><updated>2020-02-27T17:47:21.862000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.come328677d212be97838cdd9f5f4b1720f1f276be7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; myemail for codesys&lt;/p&gt;
&lt;p&gt;I have put same question on CODESYS Store helpdek - 'my question'. &lt;br/&gt;
No feedback at all like here...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS Control for BeagleBone SL use shared library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c9834257db/?limit=25#056d" rel="alternate"/><published>2020-02-27T17:47:20.797000Z</published><updated>2020-02-27T17:47:20.797000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com4c27f09f386996e31fe9f35c568e85ffa6473d88</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; myemail for codesys&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Aliazzz hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
What exactly are you trying to achieve, i.e. what is your project goal /intention?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Thanks for the reply, Aliazzz! &lt;/p&gt;
&lt;p&gt;The final system will use picoScope to measure something. it is conected to BBB and show the result on a touch sceen. &lt;br/&gt;
So I need a application running on BBB to control and process the datas from picoscope.&lt;br/&gt;
Now I am trying to use codesys to develope this application.  The picoscope has driver for debian on BBB. But how to use&lt;br/&gt;
it in codesys?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS Control for BeagleBone SL use shared library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c9834257db/?limit=100#24fb" rel="alternate"/><published>2020-02-27T17:47:17.900000Z</published><updated>2020-02-27T17:47:17.900000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.combec757a07495a3adac012b3ffa58b7e31b65beea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;What exactly are you trying to achieve, i.e. what is your project goal /intention?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS Control for BeagleBone SL use shared library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c9834257db/?limit=25#b3b6" rel="alternate"/><published>2020-02-27T17:47:16.832000Z</published><updated>2020-02-27T17:47:16.832000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.come708d82dd723e6d748cbcce751c07acbdd49cd2e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; myemail for codesys&lt;/p&gt;
&lt;p&gt;CodeSys 3.5.12 &lt;br/&gt;
Target: Beaglebone black with PicoScope 2000&lt;/p&gt;
&lt;p&gt;I have .h and .so files for picoscope on Beaglebone black and want to use CODESYS to control the picoscope connected to beagleboneBlack. Is that possible? It seems I need to use "CODESYS Control for BeagleBone SL". What else do I need to have from Codesys? &lt;br/&gt;
what I found online:&lt;br/&gt;
1. "Creating and Linking External C Library Functions" v1.0  is a bit out of date.&lt;br/&gt;
2. C-integration? Does Beaglebone has it? I have add "c implemented library" into my own library. But can not find out how to use them.&lt;br/&gt;
3. "C code runtime component /toolkit" from the link below. looks like a solution for me but found no documents for it. &lt;br/&gt;
 l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?t=8422" rel="nofollow"&gt;viewtopic.php?t=8422&lt;/a&gt; l&lt;br/&gt;
Should I wait for the workshop in Sep. to know if it is the right solution for my project?&lt;/p&gt;
&lt;p&gt;I am new on Codesys and IEC61131-3, any input with details will be very appreciate!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>