<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to access task cycle in program</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d0f5b49b84/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d0f5b49b84/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d0f5b49b84/</id><updated>2020-02-27T20:45:09.589000Z</updated><subtitle>Recent posts to How to access task cycle in program</subtitle><entry><title>How to access task cycle in program</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d0f5b49b84/?limit=25#95bb" rel="alternate"/><published>2020-02-27T20:45:09.589000Z</published><updated>2020-02-27T20:45:09.589000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comdfc18a6c4f4bef4bb0e75c63c1c86b9c7613641e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
you could use the implcit generated instance which is used by SyslibTaskinfo.lib&lt;/p&gt;
&lt;p&gt;_callTask+'Name of the Task'&lt;/p&gt;
&lt;p&gt;Example:&lt;br/&gt;
Your Task is called ErsteTask then use _callTaskErsteTask &lt;/p&gt;
&lt;p&gt;cu&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: callErsteTask.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=390"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to access task cycle in program</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d0f5b49b84/?limit=25#ff21" rel="alternate"/><published>2020-02-27T20:45:05.573000Z</published><updated>2020-02-27T20:45:05.573000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.come3ae17a39ea53ba24288967bc0df99ebb5c6a807</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;use a time() and when same routine is done again (main loop subtracte newtime with oldtime.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to access task cycle in program</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d0f5b49b84/?limit=25#2828" rel="alternate"/><published>2020-02-27T20:45:03.694000Z</published><updated>2020-02-27T20:45:03.694000Z</updated><author><name>sarathbabu</name><uri>https://forge.codesys.com/u/sarathbabu/</uri></author><id>https://forge.codesys.com1da0bd3cfcb905f565452197ad7f4117dd3529de</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt; &lt;span class="n"&gt;Use&lt;/span&gt; &lt;span class="n"&gt;SysIECTaskGetInfo&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="k"&gt;type&lt;/span&gt; &lt;span class="n"&gt;BOOL&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;SysLibIECTasks&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt; &lt;span class="k"&gt;to&lt;/span&gt; &lt;span class="k"&gt;get&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;information&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="n"&gt;an&lt;/span&gt; &lt;span class="n"&gt;IEC&lt;/span&gt; &lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Have a GOOD DAY&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to access task cycle in program</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d0f5b49b84/?limit=25#4d21" rel="alternate"/><published>2020-02-27T20:45:02.222000Z</published><updated>2020-02-27T20:45:02.222000Z</updated><author><name>Chag</name><uri>https://forge.codesys.com/u/chag/</uri></author><id>https://forge.codesys.comb103c9d0b62cd0cfe4c076e2396becc38f233064</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I know that through TaskConfiguration I can configure or Monitor when i'm online the task cycle ( average, time... in micro sec ). How can I get those informations through program ?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>