<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to program debug: infinite loop, negative sqrt,...</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/2d8f94e8d0/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/2d8f94e8d0/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/2d8f94e8d0/</id><updated>2020-02-27T23:30:22.845000Z</updated><subtitle>Recent posts to program debug: infinite loop, negative sqrt,...</subtitle><entry><title>program debug: infinite loop, negative sqrt,...</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2d8f94e8d0/?limit=25#ded7" rel="alternate"/><published>2020-02-27T23:30:22.845000Z</published><updated>2020-02-27T23:30:22.845000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com28e3eaaa2be4385cadf2453d9f3b59d2d86244f9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
I'm using WAGO PFC 750-8202&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
like infinite loop, negative square root&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;hm.. in CODESYS V2.3 there is only the watchdog (on the task) which you could activate to prevent endless loop detection&lt;br/&gt;
sure you could add the implicit check functions to check for 'Division by zero' or check bounds etc... check the help for this.&lt;/p&gt;
&lt;p&gt;Sure in CODESYS V3 or eCOCKPIT there are additional mechanism , plcload supervision (for the whole plc not only for one Task a watchdog) &lt;br/&gt;
impilcit check functions etc&lt;/p&gt;
&lt;p&gt;Anyway I would recommend to use CODESYS V3 no matter if you use CODESYS V3 or eCockbit.&lt;br/&gt;
There are so many Features available - which are from my Point of view mandatory to have - plc logger - html5 webvisu and many more &lt;br/&gt;
- all Ethernet based fieldbus / ethercat ..&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>program debug: infinite loop, negative sqrt,...</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2d8f94e8d0/?limit=25#d165" rel="alternate"/><published>2020-02-27T23:30:18.070000Z</published><updated>2020-02-27T23:30:18.070000Z</updated><author><name>fleaplc</name><uri>https://forge.codesys.com/u/fleaplc/</uri></author><id>https://forge.codesys.coma4e5c7399b278094b7ecd8dd5e88fd0d93b38f7f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;yes, 2.3.9.53&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>program debug: infinite loop, negative sqrt,...</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2d8f94e8d0/?limit=25#f2ee" rel="alternate"/><published>2020-02-27T23:30:16.416000Z</published><updated>2020-02-27T23:30:16.416000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com868473854075329ce2b71666b4c13899818db1ff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
which CODESYS Version?&lt;br/&gt;
You are posting in the V2.3 section is it really CODESYS V2.3&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>program debug: infinite loop, negative sqrt,...</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2d8f94e8d0/?limit=25#1219" rel="alternate"/><published>2020-02-27T23:30:14.749000Z</published><updated>2020-02-27T23:30:14.749000Z</updated><author><name>fleaplc</name><uri>https://forge.codesys.com/u/fleaplc/</uri></author><id>https://forge.codesys.com4b8d674ae80be0a423a2639987baa5390a61c49d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is there in Codesys something like in Simatic "cpu stacks"? a log that show the cause of CPU stop (like infinite loop, negative square root,...)&lt;br/&gt;
I had infinite loop caused by a function in a library, but call stack was empty and not warning message appear..(I'm using WAGO PFC 750-8202)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>