<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Reset output of a FB</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f3bd4f9fa7/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f3bd4f9fa7/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/f3bd4f9fa7/</id><updated>2022-02-22T11:11:48.187000Z</updated><subtitle>Recent posts to Reset output of a FB</subtitle><entry><title>Reset output of a FB</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f3bd4f9fa7/?limit=25#db93" rel="alternate"/><published>2022-02-22T11:11:48.187000Z</published><updated>2022-02-22T11:11:48.187000Z</updated><author><name>bjarne-pagaard</name><uri>https://forge.codesys.com/u/bjarne-pagaard/</uri></author><id>https://forge.codesys.com370b90f9e3d552684b0a47682966512ffa1b7d26</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
The xExecute bit on the function block instance needs a rising edge to start its asynchronous task.&lt;br/&gt;
So setting it false, then true, should clear the outputs and restart the execution of you function block instance.&lt;/p&gt;
&lt;p&gt;Ifm uses the common behaviour model, so you will see the same behaviour for other function blocks.&lt;br/&gt;
Hope this helps.&lt;br/&gt;
-Bjarne&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Reset output of a FB</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f3bd4f9fa7/?limit=25#29ee" rel="alternate"/><published>2022-02-22T10:51:21.790000Z</published><updated>2022-02-22T10:51:21.790000Z</updated><author><name>libi</name><uri>https://forge.codesys.com/u/libi/</uri></author><id>https://forge.codesys.com2bce02d6b97bffda2ed544df18974ec9a250856f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, I currently using the function block ifmDevice.LinuxSysCallAsync and when i used it his output like wCMDResult and xDone are still the same, i would like to reset that output in order to reuse the function block for example:&lt;/p&gt;
&lt;p&gt;this function will do a linux command and when it's done, wCMDResult will have 1 and xDone become true then i would like to use an other linux command and use some if condition but as the output already have result they automatically pass through the condition and do not execute the command&lt;/p&gt;
&lt;p&gt;if someone can help me &lt;br/&gt;
Cordially&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>