<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Python script access to Codesys variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5fb15b7029/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5fb15b7029/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/5fb15b7029/</id><updated>2020-02-27T15:31:34.148000Z</updated><subtitle>Recent posts to Python script access to Codesys variables</subtitle><entry><title>Python script access to Codesys variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5fb15b7029/?limit=25#bc73" rel="alternate"/><published>2020-02-27T15:31:34.148000Z</published><updated>2020-02-27T15:31:34.148000Z</updated><author><name>RollTide-96</name><uri>https://forge.codesys.com/u/rolltide-96/</uri></author><id>https://forge.codesys.com0a4ca20d424f977f8bd5ffb8c3e9f4484bb725d7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is it possible to write a Python program/script to access the variables in the Codesys program?  I have searched the Python forum for a mention of Raspberry Pi and vice versa, but do not see any posts of the two together.  Is there a library or a way to access "SymbolFile" variables (like the standard version of Codesys)?&lt;/p&gt;
&lt;p&gt;I have a PiTFT touch screen from Adafruit: &lt;a class="" href="http://www.adafruit.com/product/1601" rel="nofollow"&gt;http://www.adafruit.com/product/1601&lt;/a&gt;.&lt;br/&gt;
I would like to program it to be an HMI for the Codesys code, similar to the Web Visualization functionality.  I tried the web visu on the PiTFT screen but had some connection issues (asked about that on another topic already started).&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>