<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/</id><updated>2024-07-25T08:45:54.894000Z</updated><subtitle>Recent posts to Working with timer Ton Tof</subtitle><entry><title>Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/?limit=25#4dc5" rel="alternate"/><published>2024-07-25T08:45:54.894000Z</published><updated>2024-07-25T08:45:54.894000Z</updated><author><name>haiderm</name><uri>https://forge.codesys.com/u/haiderm/</uri></author><id>https://forge.codesys.comd0abc1ee33e554d1f78548c076e7cb56e66725fb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks, you saved me on that problem. Such a weird implementation.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/?limit=25#dada" rel="alternate"/><published>2024-07-25T08:45:49.746000Z</published><updated>2024-07-25T08:45:49.746000Z</updated><author><name>haiderm</name><uri>https://forge.codesys.com/u/haiderm/</uri></author><id>https://forge.codesys.com832e80494669811275f3931c8f283d97509e7fff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks, you saved me on that problem. Such a weird implementation.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/?limit=25#e4ce" rel="alternate"/><published>2024-07-25T08:45:46.358000Z</published><updated>2024-07-25T08:45:46.358000Z</updated><author><name>haiderm</name><uri>https://forge.codesys.com/u/haiderm/</uri></author><id>https://forge.codesys.com7b4a3d20c7f870f66e6ae4b561faf4a89893b693</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks, you saved me on that problem. Such a weird implementation.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/?limit=25#e947" rel="alternate"/><published>2024-07-25T08:45:39.807000Z</published><updated>2024-07-25T08:45:39.807000Z</updated><author><name>haiderm</name><uri>https://forge.codesys.com/u/haiderm/</uri></author><id>https://forge.codesys.com206da20557f7182d59eb56da7ec81bd3e95cd66c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks, you saved me on that problem. Such a weird implementation.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/?limit=25#dea6" rel="alternate"/><published>2022-04-20T12:38:35.257000Z</published><updated>2022-04-20T12:38:35.257000Z</updated><author><name>song</name><uri>https://forge.codesys.com/u/song/</uri></author><id>https://forge.codesys.com4437be26a966a79192119dfb60b0561fcdd65dd6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;;k;;'k;'hhh&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/?limit=25#b0b0" rel="alternate"/><published>2022-04-20T12:38:11.366000Z</published><updated>2022-04-20T12:38:11.366000Z</updated><author><name>song</name><uri>https://forge.codesys.com/u/song/</uri></author><id>https://forge.codesys.comfc669b8b9618e69e8ca893e912d47a349b0f563b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;img alt="" src="https://"/&gt;&lt;img alt="" src="../&amp;lt;img%20src=" width="50%"/&gt;https://"&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/?limit=100#4142/26ce/47a6/ffc8/4594" rel="alternate"/><published>2020-03-13T11:28:13.188000Z</published><updated>2020-03-13T11:28:13.188000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.com2509f300c21144d00f59dec968a1ccd30ceaa4b0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In automation, when you use a variable, you use a value. This value is never updated when you reads it. &lt;br/&gt;
This behavior is due to how the code is executed at runtime. It is executed line by line, from the first one to the last one, and (in general) restart from the first.&lt;br/&gt;
So for a timer (which is a function block updating some values), to get your outputs updated, you need to call the instance writing the outputs.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/?limit=25#4142/26ce/47a6/ffc8" rel="alternate"/><published>2020-03-10T13:41:19.449000Z</published><updated>2020-03-10T13:41:19.449000Z</updated><author><name>meerbarbe</name><uri>https://forge.codesys.com/u/meerbarbe/</uri></author><id>https://forge.codesys.comd9202bfd094dc1ab30a6cebc32873df0b1c241e8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Since I'm completely new in this field, it shocks me how counterintuitive timers are. Thank you for the appreciation.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/?limit=100#4142/26ce/47a6" rel="alternate"/><published>2020-03-10T13:11:42.815000Z</published><updated>2020-03-10T13:11:42.815000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.come06b6119fd66ecb8ec4e6854828b43f3d177a4ff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In case you missed it, what the thread autor is discovering is the general behavior of any functionblock in automation (from codesys or other provider). To update a function block output, you have to call its instance.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working with timer Ton Tof</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9932849165/?limit=25#4142/26ce" rel="alternate"/><published>2020-03-09T16:15:05.125000Z</published><updated>2020-03-09T16:15:05.125000Z</updated><author><name>meerbarbe</name><uri>https://forge.codesys.com/u/meerbarbe/</uri></author><id>https://forge.codesys.coma2337ca033d757b15dfb4d56612f5e88c51e8855</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have no words. Thank you very much for your time, you've just spared me hours and hours of trial and error.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>