<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Fb_exit debug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/</id><updated>2020-02-27T13:52:49.496000Z</updated><subtitle>Recent posts to Fb_exit debug</subtitle><entry><title>Fb_exit debug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/?limit=25#aceb" rel="alternate"/><published>2020-02-27T13:52:49.496000Z</published><updated>2020-02-27T13:52:49.496000Z</updated><author><name>Joan M</name><uri>https://forge.codesys.com/u/joan-m/</uri></author><id>https://forge.codesys.comaff9d88eb72c7e376a264705fa88bd53eacf3d4f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Looks good Josep, along the lines of the ADSLOG Beckhoff specific functions.  Nice.&lt;/p&gt;
&lt;p&gt;Thank you for sharing!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fb_exit debug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/?limit=25#381d" rel="alternate"/><published>2020-02-27T13:52:49.317000Z</published><updated>2020-02-27T13:52:49.317000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.com0cfb1b7cfa2481765d48744b7ea7df61d8098ab7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;At the end I have used this functions:&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Captura de 2017" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2578"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fb_exit debug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/?limit=25#127d" rel="alternate"/><published>2020-02-27T13:52:49.143000Z</published><updated>2020-02-27T13:52:49.143000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.com0066f5e5ae25a5261117d913109872194857ec88</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks Joan.&lt;/p&gt;
&lt;p&gt;I will test the pragmas.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fb_exit debug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/?limit=25#8218" rel="alternate"/><published>2020-02-27T13:52:48.971000Z</published><updated>2020-02-27T13:52:48.971000Z</updated><author><name>Joan M</name><uri>https://forge.codesys.com/u/joan-m/</uri></author><id>https://forge.codesys.comaafb08665b00d85ad6f5096a804957d37130f226</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Oh, and another option (specifically for Beckhoff) &lt;a class="" href="https://infosys.beckhoff.com/content/1033/tcplclibsystem/html/tcplclibsys_adslogdint.htm?id=4109655218661787585" rel="nofollow"&gt;https://infosys.beckhoff.com/content/1033/tcplclibsystem/html/tcplclibsys_adslogdint.htm?id=4109655218661787585&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It could help a lot in the kind of situation you propose...&lt;/p&gt;
&lt;p&gt;You can always ask the manufacturer of your software if this is implemented there if the message pragmas are not.&lt;/p&gt;
&lt;p&gt;Message pragmas work in all Codesys versions, but I have not found a way to show values other than predefined strings which is better than nothing.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fb_exit debug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/?limit=25#d217" rel="alternate"/><published>2020-02-27T13:52:48.350000Z</published><updated>2020-02-27T13:52:48.350000Z</updated><author><name>Joan M</name><uri>https://forge.codesys.com/u/joan-m/</uri></author><id>https://forge.codesys.come22d440285adaccf58cbc7392b76d646c4cbfd73</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Josep,&lt;/p&gt;
&lt;p&gt;Try message pragmas, with that you will be able to send texts into the debug window of your codesys application.&lt;/p&gt;
&lt;p&gt;See: &lt;a class="" href="https://infosys.beckhoff.com/content/1033/tc3_plc_intro/9007199390952075.html?id=134509795542249697" rel="nofollow"&gt;https://infosys.beckhoff.com/content/1033/tc3_plc_intro/9007199390952075.html?id=134509795542249697&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fb_exit debug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/?limit=25#bc51" rel="alternate"/><published>2020-02-27T13:52:48.190000Z</published><updated>2020-02-27T13:52:48.190000Z</updated><author><name>rickj</name><uri>https://forge.codesys.com/u/rickj/</uri></author><id>https://forge.codesys.com3be996cdb63b22e2608830e9535de7169992e68b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Data is still retained in memory is it not?  If debug strings are written to array elements prior to and during FB_exit() wouldn't they still be there for examination?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fb_exit debug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/?limit=25#832c" rel="alternate"/><published>2020-02-27T13:52:48.001000Z</published><updated>2020-02-27T13:52:48.001000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.com0b68dda28900c9a80e4f9725fd5fe36e4db23e56</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;But i need it to use on Fb exit, which is called ending execution when tasks are stopped.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fb_exit debug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/?limit=25#da29" rel="alternate"/><published>2020-02-27T13:52:47.837000Z</published><updated>2020-02-27T13:52:47.837000Z</updated><author><name>rickj</name><uri>https://forge.codesys.com/u/rickj/</uri></author><id>https://forge.codesys.com45d1eb863d9f2a159eab4c48c880da04365d7adb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Use a global string array and index to implement your own message queue.  You can display it on a visualization using a table widget.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fb_exit debug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81a778ad80/?limit=25#ae72" rel="alternate"/><published>2020-02-27T13:52:47.675000Z</published><updated>2020-02-27T13:52:47.675000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.com7e768bf15e4e13582a5590f36c22b3bf19a711c3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dears.&lt;/p&gt;
&lt;p&gt;I need to debug some lines on a Fb_exit method.&lt;/p&gt;
&lt;p&gt;Breakpoints seems that doesnt works.&lt;/p&gt;
&lt;p&gt;Do you know if It is possible to launch logs from this method (something similar to printk)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>