<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Task configuration</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/484282c01b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/484282c01b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/484282c01b/</id><updated>2020-02-27T13:48:30.399000Z</updated><subtitle>Recent posts to Task configuration</subtitle><entry><title>Task configuration</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/484282c01b/?limit=25#ac48" rel="alternate"/><published>2020-02-27T13:48:30.399000Z</published><updated>2020-02-27T13:48:30.399000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.comf8bbbe490338ea591c21deb737ada9dbace68602</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;in PLC_PRG&lt;br/&gt;
if event1 do task1&lt;br/&gt;
if event2 do task2&lt;/p&gt;
&lt;p&gt;or in taskconfiguration it is also possible&lt;br/&gt;
make 2 tasks set them both on event and do pou1 in event1task&lt;br/&gt;
etc&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Task configuration</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/484282c01b/?limit=25#fb90" rel="alternate"/><published>2020-02-27T13:48:30.325000Z</published><updated>2020-02-27T13:48:30.325000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com52ca0ef241ca3cc0b3cb0d3dd97b0f3888c0a954</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is not how you should use Tasks.&lt;br/&gt;
You should just program this in your application and call the code depending on the state of your system.&lt;/p&gt;
&lt;p&gt;Based on your description I think it is best to have one task which calls one program cyclically.&lt;br/&gt;
From this program you can have conditional calls to your 2 POU's.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Task configuration</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/484282c01b/?limit=25#01a4" rel="alternate"/><published>2020-02-27T13:48:30.251000Z</published><updated>2020-02-27T13:48:30.251000Z</updated><author><name>alexjaw69</name><uri>https://forge.codesys.com/u/alexjaw69/</uri></author><id>https://forge.codesys.com09b05af8d1110bb5600502c592a60f37e5a92b07</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have two tasks and one POU for each task.&lt;br/&gt;
- I would like to run the tasks depending on an event.&lt;/p&gt;
&lt;p&gt;As it is now Task1 is cyclic, and Task2 is triggered by an event. But that means that the evaluation of Task2 is executed only once. But I want Task2 to to run in a cyclic manner when the event is triggered. How should I do?&lt;/p&gt;
&lt;p&gt;I understand that I could set both Task1 and Task2 to be cyclic, but then - how do I j run Task2 (in a cyclic manner) only as long as the condition is true.&lt;/p&gt;
&lt;p&gt;There must be a way to switch between cyclic Tasks depending on some (global) conditions - or?&lt;/p&gt;
&lt;p&gt;I have read the Online Help about the Task Configurator but could not find an answer to my problem.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>