<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Handle watchdog timeout</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1051f7ec6a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1051f7ec6a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1051f7ec6a/</id><updated>2021-12-03T10:38:17.268000Z</updated><subtitle>Recent posts to Handle watchdog timeout</subtitle><entry><title>Handle watchdog timeout</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1051f7ec6a/?limit=25#0bfc" rel="alternate"/><published>2021-12-03T10:38:17.268000Z</published><updated>2021-12-03T10:38:17.268000Z</updated><author><name>kristiankroier</name><uri>https://forge.codesys.com/u/kristiankroier/</uri></author><id>https://forge.codesys.com4d335090acaa77923155da14e3a73b5113ccffab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;So now the exception handler is working I can set a global variable. But when the exception is called my visualization is made unavailable. I can see the tasks not halted by the watchdog keeps increasing the cycle count but the IEC-cycle count stops increasing.&lt;br/&gt;
Shouldn't the watchdog only halt the task causing problems and letting the rest of the system continue working?&lt;/p&gt;
&lt;p&gt;I tried creating a sub-application to my main application and move the visualization there. This results in the sub-application being stopped when the exception occurs as well but this can be restarted which is adequate for testing but not really for production.&lt;br/&gt;
Any suggestions?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Handle watchdog timeout</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1051f7ec6a/?limit=25#7ada" rel="alternate"/><published>2021-12-02T11:03:22.574000Z</published><updated>2021-12-02T11:03:22.574000Z</updated><author><name>kristiankroier</name><uri>https://forge.codesys.com/u/kristiankroier/</uri></author><id>https://forge.codesys.com51b9025194aa4eb10318e0cbb516d0a6b7c34d9d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you. That helped me move forward.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Handle watchdog timeout</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1051f7ec6a/?limit=25#e1fa" rel="alternate"/><published>2021-12-01T13:44:25.747000Z</published><updated>2021-12-01T13:44:25.747000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.combaab0d9a7983ec75cc4e9d4f7ee4716cb00b88c4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You can add an exception handler by double clicking the Task Configuration, see attached.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Handle watchdog timeout</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1051f7ec6a/?limit=25#9643" rel="alternate"/><published>2021-12-01T13:18:00.612000Z</published><updated>2021-12-01T13:18:00.612000Z</updated><author><name>kristiankroier</name><uri>https://forge.codesys.com/u/kristiankroier/</uri></author><id>https://forge.codesys.com438ec093ee3e237b3ab19e9dc41046138ce4034f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;What is the preferred way to handle a watchdog timeout on a SoftPLC? According to the documentation the timed out task will be suspended and that is fine but is there some way to determine this from the code to handle the event by e.g. raising an alarm or restarting the SoftPLC?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>