<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to run and control a python script in codesys </title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e4a665d191/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e4a665d191/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/e4a665d191/</id><updated>2021-04-28T07:26:26.049000Z</updated><subtitle>Recent posts to How to run and control a python script in codesys </subtitle><entry><title>How to run and control a python script in codesys </title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e4a665d191/?limit=25#e99c" rel="alternate"/><published>2021-04-28T07:26:26.049000Z</published><updated>2021-04-28T07:26:26.049000Z</updated><author><name>alien</name><uri>https://forge.codesys.com/u/alien/</uri></author><id>https://forge.codesys.coma3eaeb92fdf0484c1e183d037fafd5e8a42b0845</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;I just started to use python script in codesys! My question is: is it possible to run a script in codesys and it executes the code as long as plc is running?&lt;br/&gt;
For example, reading an string of integer value real-time and store them in Excel file and also read the Excel file and import them to codesys for further manipulation!&lt;br/&gt;
Thanks for your help in advance!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>