<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Acessing SoftPLC variables in user space by internal program</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1d33b92a2f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1d33b92a2f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/1d33b92a2f/</id><updated>2020-02-27T16:50:17.279000Z</updated><subtitle>Recent posts to Acessing SoftPLC variables in user space by internal program</subtitle><entry><title>Acessing SoftPLC variables in user space by internal program</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1d33b92a2f/?limit=25#e0b7" rel="alternate"/><published>2020-02-27T16:50:17.279000Z</published><updated>2020-02-27T16:50:17.279000Z</updated><author><name>mos89@yahoo.com</name><uri>https://forge.codesys.com/u/mos89-yahoo-com/</uri></author><id>https://forge.codesys.com59136b3a08ee6b7e5bd22778cae4fd7b125fd39d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;dopro17 hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
HI.&lt;br/&gt;
Is there any way to access the soft PLC variables by a program running outside of codesys aplication?&lt;br/&gt;
For example. I want to record, sensor0, sensor1 ... et. to a mySQL database, but this functions will be done by an program running in the linux services.&lt;br/&gt;
I dont wanna use codesys database extensions because the data will be stored as binary large object in a remote server, and there will be an specific set of prograns menageming this data and connection.&lt;br/&gt;
My firts idea is to use some kind of memory mapped function, or just write the data in a linux fifo file.&lt;br/&gt;
Thanks in advance!!!&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You can use the shared memory&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Acessing SoftPLC variables in user space by internal program</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1d33b92a2f/?limit=25#7c36" rel="alternate"/><published>2020-02-27T16:50:14.702000Z</published><updated>2020-02-27T16:50:14.702000Z</updated><author><name>dopro17</name><uri>https://forge.codesys.com/u/dopro17/</uri></author><id>https://forge.codesys.com296a9325a67d02969513644e5a69d0c47cef2bab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;HI.&lt;br/&gt;
Is there any way to access the soft PLC variables by a program running outside of codesys aplication?&lt;br/&gt;
For example. I want to record, sensor0, sensor1 ... et. to a mySQL database, but this functions will be done by an program running in the linux services.&lt;br/&gt;
I dont wanna use codesys database extensions because the data will be stored as binary large object in a remote server, and there will be an specific set of prograns menageming this data and connection.&lt;/p&gt;
&lt;p&gt;My firts idea is to use some kind of memory mapped function, or just write the data in a linux fifo file.&lt;/p&gt;
&lt;p&gt;Thanks in advance!!!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>