<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Running CODESYS headless as a Server?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2cca598853/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2cca598853/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/2cca598853/</id><updated>2021-07-07T11:04:19.532000Z</updated><subtitle>Recent posts to Running CODESYS headless as a Server?</subtitle><entry><title>Running CODESYS headless as a Server?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2cca598853/?limit=25#4464" rel="alternate"/><published>2021-07-07T11:04:19.532000Z</published><updated>2021-07-07T11:04:19.532000Z</updated><author><name>mem-leak</name><uri>https://forge.codesys.com/u/mem-leak/</uri></author><id>https://forge.codesys.com86a5ff8ae1dae2b4f78f6c25c6578047137886b0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Does any one know if it is possible to run CODESYS headlessly as a server?&lt;/p&gt;
&lt;p&gt;From some brief experiments I have been able to run it headlessly and pass it a single script to be executed e.g.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;"C:\Program Files\CODESYS 3.5.16.30\CODESYS\Common\CODESYS.exe" --noUI --profile='CODESYS V3.5 SP16 Patch 3' --runscript='myScript.py'&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This seems to start CODESYS execute the script and close the tool.&lt;/p&gt;
&lt;p&gt;I would like to know if it is possible to start CODESYS without the UI and to pass a series of scripts to it (not necessarily known when the CODESYS tool is started). Does the tool support this? Or does anyone have any hints about how one might do this?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>