<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Get and Set Values On Running Application in Plc</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/44d10efeec/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/44d10efeec/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/44d10efeec/</id><updated>2020-02-27T14:58:24.705000Z</updated><subtitle>Recent posts to Get and Set Values On Running Application in Plc</subtitle><entry><title>Get and Set Values On Running Application in Plc</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/44d10efeec/?limit=25#7e3f" rel="alternate"/><published>2020-02-27T14:58:24.705000Z</published><updated>2020-02-27T14:58:24.705000Z</updated><author><name>mkeller</name><uri>https://forge.codesys.com/u/mkeller/</uri></author><id>https://forge.codesys.com2fd523c06bc4e710ba7441eeb556353f5fac47df</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;lam.le hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
@M.Schaber: What if we (OEM) want to create a binary (a tool) which run on device and can talk with codesys runtime to read PLC variables. How can we do that?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You can integrate the &lt;a class="" href="https://www.codesys.com/products/codesys-runtime/plchandler.html" rel="nofollow"&gt;CODESYS PLCHANDLER&lt;/a&gt; or you can communicate with the &lt;a class="" href="https://www.codesys.com/products/codesys-runtime/opc-ua-server.html" rel="nofollow"&gt;CODESYS OPC UA Server&lt;/a&gt; if the feature is available on your runtime.&lt;/p&gt;
&lt;p&gt;BTW: If you are an OEM customer you could send such questions to our OEM Support.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Martin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Get and Set Values On Running Application in Plc</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/44d10efeec/?limit=25#d702" rel="alternate"/><published>2020-02-27T14:58:24.142000Z</published><updated>2020-02-27T14:58:24.142000Z</updated><author><name>lam.le</name><uri>https://forge.codesys.com/u/lam-le/</uri></author><id>https://forge.codesys.com6e388b268c08f4cc99fd747e1ff91be40aae27e5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;@M.Schaber: What if we (OEM) want to create a binary (a tool) which run on device and can talk with codesys runtime to read PLC variables. How can we do that?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Get and Set Values On Running Application in Plc</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/44d10efeec/?limit=25#99cd" rel="alternate"/><published>2020-02-27T14:58:22.480000Z</published><updated>2020-02-27T14:58:22.480000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com07799574061539c78a715036ac423d35475573d5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you are OEM, your runtime team did receive appropriate training at the time when the runtime was ported to your hardware, this is part of the starter package.&lt;/p&gt;
&lt;p&gt;So you should ask your runtime people.&lt;/p&gt;
&lt;p&gt;But you should not underestimate the effort.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://wiki.python.org/moin/EmbeddedPython" rel="nofollow"&gt;hard or impossible to get it running&lt;/a&gt;&lt;a class="" href="https://wiki.python.org/moin/PyMite" rel="nofollow"&gt;PyMite&lt;/a&gt; or &lt;a class="" href="https://wiki.python.org/moin/Tiny%20Python" rel="nofollow"&gt;TinyPython&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Get and Set Values On Running Application in Plc</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/44d10efeec/?limit=25#3e80" rel="alternate"/><published>2020-02-27T14:58:21.896000Z</published><updated>2020-02-27T14:58:21.896000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com8ea5047a692fd4e71bf1db5171ee2c46fa32d5ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; osmaneliar&lt;/p&gt;
&lt;p&gt;We are OEMs. How can I create runtime module ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Get and Set Values On Running Application in Plc</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/44d10efeec/?limit=25#935e" rel="alternate"/><published>2020-02-27T14:58:20.263000Z</published><updated>2020-02-27T14:58:20.263000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comce41622d3365a9b3e6576293f395853af82cb9c3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The CODESYS Script Engine runs in the CODESYS IDE, not in the runtime. (It's purpose is to automate development tasks users can also perform manually in the IDE.) Thus, reading and writing variables internally uses the monitoring API of the CODESYS IDE, and cannot be used standalone.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://www.python.org/" rel="nofollow"&gt;python.org&lt;/a&gt;) and one of the OPC Libraries for python you can find on the net. This also requires that you set up an appropriate "Symbol Configuration" within the project, and an OPC server.&lt;/p&gt;
&lt;p&gt;To run a python script from ST language, you need to spawn a python interpreter. Depending on your runtime system, you may be able to install a python interpreter there, and start it as an external process. But still, you don't have any communication between the IEC code and python. Another possibility is to use a Server running python, and use tcp/ip from the runtime to connect to the server and communicate.&lt;/p&gt;
&lt;p&gt;Technically, it should also be possible to create a runtime module containing a python interpeter (on appropriate platforms). But this option is only available to our OEMs, normal end users usually cannot create runtime modules.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Get and Set Values On Running Application in Plc</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/44d10efeec/?limit=25#7e98" rel="alternate"/><published>2020-02-27T14:58:19.681000Z</published><updated>2020-02-27T14:58:19.681000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.come921b0acd00104b6f353e96585fce7c8155dd7e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; osmaneliar&lt;/p&gt;
&lt;p&gt;Is possible to get or set values when application is running on plc. Can I connect application directly with python? I mean application started in plc and it is running mode so I created boot application. Can I use created application ? &lt;/p&gt;
&lt;p&gt;Can I run python script with ST Language.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>