<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Shared memory between Python and Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/61ce3cdabb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/61ce3cdabb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/61ce3cdabb/</id><updated>2024-10-04T08:36:06.138000Z</updated><subtitle>Recent posts to Shared memory between Python and Codesys</subtitle><entry><title>Shared memory between Python and Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/61ce3cdabb/?limit=50#beef" rel="alternate"/><published>2024-10-04T08:36:06.138000Z</published><updated>2024-10-04T08:36:06.138000Z</updated><author><name>Artur Wiebe</name><uri>https://forge.codesys.com/u/arwie/</uri></author><id>https://forge.codesys.com94d0db7cc36bee8c5299f973e6d2e25a9458bc36</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I wrote a tutorial how to do this.&lt;/p&gt;
&lt;p&gt;Fast variable exchange between CODESYS and PYTHON via shared memory:&lt;br/&gt;
&lt;a href="https://gist.github.com/arwie/ff56783d9a2fff52940de82ae1bc1a22" rel="nofollow"&gt;https://gist.github.com/arwie/ff56783d9a2fff52940de82ae1bc1a22&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Shared memory between Python and Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/61ce3cdabb/?limit=25#0267" rel="alternate"/><published>2021-05-25T16:21:26.875000Z</published><updated>2021-05-25T16:21:26.875000Z</updated><author><name>sandeep</name><uri>https://forge.codesys.com/u/sandeep/</uri></author><id>https://forge.codesys.com0e03246f7e37f1aa6fbca32ca7c25e26d25658c7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Have you finished working on it?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Shared memory between Python and Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/61ce3cdabb/?limit=25#c009" rel="alternate"/><published>2020-02-27T14:56:47.241000Z</published><updated>2020-02-27T14:56:47.241000Z</updated><author><name>tommy99</name><uri>https://forge.codesys.com/u/tommy99/</uri></author><id>https://forge.codesys.comdf09005b7c5d1a6f0fd16af79ae0329b78e816a1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I need to read a variable, defined in Codesys, in my Python script. I want to use shared memory to do that. There are some examples for Codesys shared memory access.&lt;br/&gt;
Could someone tell me how to write the Python code to read the values in shared memory?&lt;br/&gt;
I mean, i know how to setup the memory in Codesys but I miss the Python part.&lt;/p&gt;
&lt;p&gt;Thank you guys!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>