<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How can i set or reset an analog function?</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/2032ea3b6c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/2032ea3b6c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/2032ea3b6c/</id><updated>2020-02-27T19:56:08.601000Z</updated><subtitle>Recent posts to How can i set or reset an analog function?</subtitle><entry><title>How can i set or reset an analog function?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2032ea3b6c/?limit=25#f58e" rel="alternate"/><published>2020-02-27T19:56:08.601000Z</published><updated>2020-02-27T19:56:08.601000Z</updated><author><name>andrzey13</name><uri>https://forge.codesys.com/u/andrzey13/</uri></author><id>https://forge.codesys.comf83f146a2967aa24f7649cfb7e49794bf193ddf6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;br/&gt;
I sugest to do it in FBD using SEL function block. It works like IF function. It has got 3 inputs and 1 output. First input is a trigger (your bool varable). When bool=FALSE, then output takes 2 input, when bool=TRUE, then output takes 3 input. So solution is like this. 1in=bool variable, 2in=var_in_out, 3in=your_analog_signal, out=var_in_out. It will work like a buffer.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can i set or reset an analog function?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2032ea3b6c/?limit=25#e3b1" rel="alternate"/><published>2020-02-27T19:56:04.847000Z</published><updated>2020-02-27T19:56:04.847000Z</updated><author><name>Ties22</name><uri>https://forge.codesys.com/u/ties22/</uri></author><id>https://forge.codesys.com32d55d448172c4e94ca5eafeed866166db752c19</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have made an analog function block that will do the analog stuff. If it is possible i want to set and reset the function block with a digitial signal from a button. can anyone give me some advice on how to do this? I can't really find anything that will make me able to combine the digital and analog signals.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>