<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to two Applications, one Controler</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3a4808c54f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3a4808c54f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/3a4808c54f/</id><updated>2020-02-27T14:20:38.160000Z</updated><subtitle>Recent posts to two Applications, one Controler</subtitle><entry><title>two Applications, one Controler</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3a4808c54f/?limit=25#8a2f" rel="alternate"/><published>2020-02-27T14:20:38.160000Z</published><updated>2020-02-27T14:20:38.160000Z</updated><author><name>lam.le</name><uri>https://forge.codesys.com/u/lam-le/</uri></author><id>https://forge.codesys.comd67e9717b6e0373a6ffbb6f5ef838c01ff7dea82</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;@dFx: your code looks like you are running two functions within an App, not switching between 2 Applications?&lt;br/&gt;
The hierarchy is as follow:&lt;/p&gt;
&lt;p&gt;PLC device &lt;br/&gt;
............PLC Logic &lt;br/&gt;
........................Application1&lt;br/&gt;
...................................xxx&lt;br/&gt;
........................Application2&lt;br/&gt;
...................................xxx&lt;/p&gt;
&lt;p&gt;And there isn't a way to add a logic to select which Application to run in PLC Logic level?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>two Applications, one Controler</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3a4808c54f/?limit=25#77a8" rel="alternate"/><published>2020-02-27T14:20:37.697000Z</published><updated>2020-02-27T14:20:37.697000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.com9527a3343429ce3870372b99329e6d69d6c5b9a1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Simple if block on the main freewheel task ?&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt; &lt;span class="nv"&gt;Test&lt;/span&gt; &lt;span class="nv"&gt;which&lt;/span&gt; &lt;span class="nv"&gt;application&lt;/span&gt; &lt;span class="nv"&gt;we&lt;/span&gt; &lt;span class="nv"&gt;should&lt;/span&gt; &lt;span class="nv"&gt;run&lt;/span&gt;
&lt;span class="k"&gt;IF&lt;/span&gt; &lt;span class="nv"&gt;AppSelectedIs2&lt;/span&gt; &lt;span class="k"&gt;THEN&lt;/span&gt;
&lt;span class="o"&gt;//&lt;/span&gt; &lt;span class="nv"&gt;run&lt;/span&gt; &lt;span class="nv"&gt;app2&lt;/span&gt;
&lt;span class="nv"&gt;APP2&lt;/span&gt;&lt;span class="ss"&gt;()&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ELSE&lt;/span&gt;
&lt;span class="o"&gt;//&lt;/span&gt; &lt;span class="nv"&gt;run&lt;/span&gt; &lt;span class="nv"&gt;app1&lt;/span&gt;
&lt;span class="nv"&gt;APP1&lt;/span&gt;&lt;span class="ss"&gt;()&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;span class="nv"&gt;END_IF&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>two Applications, one Controler</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3a4808c54f/?limit=25#6cdf" rel="alternate"/><published>2020-02-27T14:20:37.271000Z</published><updated>2020-02-27T14:20:37.271000Z</updated><author><name>phil1987</name><uri>https://forge.codesys.com/u/phil1987/</uri></author><id>https://forge.codesys.comeca23fe5dad0eb9a6a37a2cda97690c4f276e299</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;i have two Applications on one Controller.&lt;br/&gt;
I want to start with Application1 and switch to Application2 via Button in Application1 and switch to Application1 with a Button in Application2.&lt;/p&gt;
&lt;p&gt;I think i need a command "Set active Application "Application1" in Visu Application2?&lt;/p&gt;
&lt;p&gt;Have anyone a good idea?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>