<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to POU Execution Time</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1d4b3cc0ab/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1d4b3cc0ab/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1d4b3cc0ab/</id><updated>2020-02-27T23:25:04.951000Z</updated><subtitle>Recent posts to POU Execution Time</subtitle><entry><title>POU Execution Time</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/1d4b3cc0ab/?limit=25#f82c" rel="alternate"/><published>2020-02-27T23:25:04.951000Z</published><updated>2020-02-27T23:25:04.951000Z</updated><author><name>jethridge</name><uri>https://forge.codesys.com/u/jethridge/</uri></author><id>https://forge.codesys.come2393da131906234ae36dce70dd9fe0ea6876eef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You can make that POU a timed task in task configuration. Create a task, set it to cyclic and define your interval time, then add which POUs you want to call in that task.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>POU Execution Time</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/1d4b3cc0ab/?limit=25#3a88" rel="alternate"/><published>2020-02-27T23:25:03.310000Z</published><updated>2020-02-27T23:25:03.310000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.comacf1a027f30527ab7ec7f7540d942f6069cf787a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;the answer is not as simple as the question.&lt;br/&gt;
1&lt;br/&gt;
you can find the executiontime in the tasks when running, however communication is not done in the pou, but in the overhead , meaning you will need to do 2 measurements one with file and the other without.&lt;br/&gt;
the diff is the time.&lt;br/&gt;
2&lt;br/&gt;
this time is never the same and fluctuates due to timing of interupts etc.&lt;br/&gt;
3.&lt;br/&gt;
check if buffer empty, then you can start next writing.&lt;br/&gt;
a plc is not the best daqsystem so check what is needed and the speed needed&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>POU Execution Time</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/1d4b3cc0ab/?limit=25#63ee" rel="alternate"/><published>2020-02-27T23:24:58.783000Z</published><updated>2020-02-27T23:24:58.783000Z</updated><author><name>tonypdean</name><uri>https://forge.codesys.com/u/tonypdean/</uri></author><id>https://forge.codesys.comf2eb74e97e921d4f090131ccecd96cfb2537eb99</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;OK, just a case of RTFM. I am using a Wago 750-8202 and there is a page in the web server which provides exactly this info.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>POU Execution Time</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/1d4b3cc0ab/?limit=25#3edc" rel="alternate"/><published>2020-02-27T23:24:57.134000Z</published><updated>2020-02-27T23:24:57.134000Z</updated><author><name>tonypdean</name><uri>https://forge.codesys.com/u/tonypdean/</uri></author><id>https://forge.codesys.com5a0290a3ec0a7bbbd90c6e96894a6b4331ecedfa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is there a way to monitor how long a pou takes to execute, or how much 'spare' time there is before it is called again? I have a pou that writes data to a file and i want to be sure that i dont call it too fast. I only really need to do this within the codesys development environment.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>