<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Switching between applications to run before starting PLC when using CODESYS ControlWin</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/32747a3480/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/32747a3480/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/32747a3480/</id><updated>2023-05-06T13:25:05.946000Z</updated><subtitle>Recent posts to Switching between applications to run before starting PLC when using CODESYS ControlWin</subtitle><entry><title>Switching between applications to run before starting PLC when using CODESYS ControlWin</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/32747a3480/?limit=25#b502" rel="alternate"/><published>2023-05-06T13:25:05.946000Z</published><updated>2023-05-06T13:25:05.946000Z</updated><author><name>tonihoo</name><uri>https://forge.codesys.com/u/tonihoo/</uri></author><id>https://forge.codesys.comc57a5a167062fccbec69780cde997ab57190126a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi. We have special use case for Codesys where we want to use windows laptop with Peak or Kvaser CANopen adapter to run applications. We use these applications for testing CANopen controlled mobile machinery module assemblies before mounting them to real machine.&lt;/p&gt;
&lt;p&gt;So far I have found out that I can create an application folder with boot application and CODESYSControl.cfg to C:\ProgramData\CODESYS\CODESYSControlWinV3x64\testapplication\ and modify CODESYSControl.cfg from C:\ProgramData\CODESYS\CODESYSControlWinV3x64\B4A102F1\ to include created path.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;[SysFile]&lt;/span&gt;
&lt;span class="na"&gt;FilePath&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;C:\ProgramData\CODESYS\CODESYSControlWinV3x64\testapplication\&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;In that way when I start PLC, it loads application from \testapplication\ instead of application inside \B4A102F1\ path.&lt;/p&gt;
&lt;p&gt;Can i just copy application folders to C:\ProgramData\CODESYS\CODESYSControlWinV3x64\ and create script which modifies CODESYSControl.cfg to decide which application opens when I start PLC? Is this a bad idea or is there something better to switch between different applications before starting windows soft plc? &lt;/p&gt;
&lt;p&gt;It would be ideal to install only ControlWin runtime to the laptop without the actual IDE. Switching between apps should be as simple as possible for the user.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>