<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Functions</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/10592a59f4/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/10592a59f4/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/10592a59f4/</id><updated>2020-02-27T22:26:53.011000Z</updated><subtitle>Recent posts to Functions</subtitle><entry><title>Functions</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/10592a59f4/?limit=25#ec29" rel="alternate"/><published>2020-02-27T22:26:53.011000Z</published><updated>2020-02-27T22:26:53.011000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com3a3abe577b280c246fef14ba4c8bb7ac40ab22ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;you can also time a task, i am running a standard blinker with a task on 100 ms.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Functions</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/10592a59f4/?limit=25#02ce" rel="alternate"/><published>2020-02-27T22:26:51.421000Z</published><updated>2020-02-27T22:26:51.421000Z</updated><author><name>KarlosT</name><uri>https://forge.codesys.com/u/karlost/</uri></author><id>https://forge.codesys.com7ab683e58e4a5f0699766544cdb8c4109ad58c2d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply!&lt;/p&gt;
&lt;p&gt;In the end I used a function block exactly like you recommended! It took a while for the penny to drop where I was going wrong, but I guess that the point of learning something new! &lt;/p&gt;
&lt;p&gt;I'm really getting into ST and IEC 61131-3!&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Karl&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Functions</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/10592a59f4/?limit=25#6cc3" rel="alternate"/><published>2020-02-27T22:26:47.017000Z</published><updated>2020-02-27T22:26:47.017000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comdbb8d01b27ebfb1e940f5891ec1da0e7f713eb0d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; scott_cunningham&lt;/p&gt;
&lt;p&gt;Functions do not keep memory - they are made to do some quick thing and that's it - no timers, no counters, etc. (there are ways around this, but avoid this - functions are for "a+b = c" type operations)&lt;/p&gt;
&lt;p&gt;Use one FB to be your signal generator. You can then link the output to all four other FBs inputs.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Functions</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/10592a59f4/?limit=25#2f9d" rel="alternate"/><published>2020-02-27T22:26:45.308000Z</published><updated>2020-02-27T22:26:45.308000Z</updated><author><name>KarlosT</name><uri>https://forge.codesys.com/u/karlost/</uri></author><id>https://forge.codesys.comc740a9497cd04d7cc536f601b06e53c10086e6a2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;br/&gt;
I'm fairly new to programming and I'm struggling using Functions. I'm writing a piece of code that will use one timer for 4 applications within the program... I understand FB's but it's functions I'm unsure of. I'm not sure how to call the function, or how to get a result out of it...&lt;/p&gt;
&lt;p&gt;The idea is to have a variable pulsed signal from the function, then use that multiple times and they will have their own setpoints... I've hit a wall at the moment, so any help will be appreciated.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Karl&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>