<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Exception handler return value purpose in _CODESYS 3.5</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/40aab21b48/</link><description>Recent posts to Exception handler return value purpose in _CODESYS 3.5</description><language>en</language><lastBuildDate>Mon, 31 Aug 2026 15:43:24 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/forge/talk/Engineering/thread/40aab21b48/feed.rss" rel="self" type="application/rss+xml"></atom:link><item><title>Exception handler return value purpose in _CODESYS 3.5</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/40aab21b48/?limit=25#34ff</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I was trying to figure out how to correctly handle system exceptions in a CODESYS project, but either the documentation falls short, or I'm unable to find the proper docs.&lt;br/&gt;
I know I can register a function as an exception handler via &lt;code&gt;Task Configuration&lt;/code&gt; &amp;gt; &lt;code&gt;System Events&lt;/code&gt; &amp;gt; &lt;code&gt;Add Event Handler&lt;/code&gt;, which will create a function with the correct interface; I am, however, unable to figure out what the returned DWORD is supposed to be, if anything.&lt;br/&gt;
Is the interface for the exception handler documented and, if so, where can I find it?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nixola</dc:creator><pubDate>Mon, 31 Aug 2026 15:43:24 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com9a61bd3fd579d1e4e873285c89bec6890fccbce7</guid></item></channel></rss>