<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to HELP! Runtime Error #81</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/7bfceb9c60/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/7bfceb9c60/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/7bfceb9c60/</id><updated>2020-02-27T22:19:25.140000Z</updated><subtitle>Recent posts to HELP! Runtime Error #81</subtitle><entry><title>HELP! Runtime Error #81</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7bfceb9c60/?limit=25#4de6" rel="alternate"/><published>2020-02-27T22:19:25.140000Z</published><updated>2020-02-27T22:19:25.140000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.comc49e49c7c8a1128c72dd0bb83b4530ce96bce6a9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;yes in the helpfile and in the docs.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>HELP! Runtime Error #81</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7bfceb9c60/?limit=25#eb61" rel="alternate"/><published>2020-02-27T22:19:23.587000Z</published><updated>2020-02-27T22:19:23.587000Z</updated><author><name>MrkTrussell</name><uri>https://forge.codesys.com/u/mrktrussell/</uri></author><id>https://forge.codesys.com97c81b6299ae32b7d0739e60e8c68c6a6c87b4d0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;shooter hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
you have a critical something in the tasktime, on old PLc this has worked, but now the watchdog is a lot stricter.&lt;br/&gt;
check for long loops, or if the program takes too much time while waiting &lt;br/&gt;
any program in a PLC must be complete every watchdog time.&lt;br/&gt;
the watchdog is reset when a program or function block ends.&lt;br/&gt;
this is complete different from  a basic or C program.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #BF0000;"&gt;&lt;strong&gt; Is there a database of these runtime errors somewhere? A lookup table perhaps with descriptions and common causes / remedies?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>HELP! Runtime Error #81</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7bfceb9c60/?limit=25#6ab4" rel="alternate"/><published>2020-02-27T22:19:19.279000Z</published><updated>2020-02-27T22:19:19.279000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com9c3c46326c16957f13bfc03e363463207691b59b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;you have a critical something in the tasktime, on old PLc this has worked, but now the watchdog is a lot stricter.&lt;br/&gt;
check for long loops, or if the program takes too much time while waiting &lt;br/&gt;
any program in a PLC must be complete every watchdog time.&lt;br/&gt;
the watchdog is reset when a program or function block ends.&lt;br/&gt;
this is complete different from  a basic or C program.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>HELP! Runtime Error #81</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7bfceb9c60/?limit=25#2ecf" rel="alternate"/><published>2020-02-27T22:19:17.744000Z</published><updated>2020-02-27T22:19:17.744000Z</updated><author><name>MrkTrussell</name><uri>https://forge.codesys.com/u/mrktrussell/</uri></author><id>https://forge.codesys.come846697579de8bd4b54b58d0c8ceb63b7c251297</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A little more research has lead me to believe that this access violation at address '0x00000000' indicates a null pointer. &lt;br/&gt;
So, I am most likely using something before it's created. Still, I am puzzled as to why this does not create an error on the old PLC.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>HELP! Runtime Error #81</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7bfceb9c60/?limit=25#aa2b" rel="alternate"/><published>2020-02-27T22:19:13.437000Z</published><updated>2020-02-27T22:19:13.437000Z</updated><author><name>MrkTrussell</name><uri>https://forge.codesys.com/u/mrktrussell/</uri></author><id>https://forge.codesys.comaa29a5315d78c788011157367da9d6d5b22cce68</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Well, I was able to get the PLC into RUN mode by disabling the MAIN task (the task causing the error). This was expected, but not acceptable.&lt;/p&gt;
&lt;p&gt;I can't seem to find anything in the code that would create a problem here. This program runs on the last generation of the PLC I'm using. It refuses to run on the latest generation.&lt;/p&gt;
&lt;p&gt;I do have more information stating:&lt;/p&gt;
&lt;p&gt;Instruction at 0x00226DE4 attempted to read data at 0x00000000.&lt;/p&gt;
&lt;p&gt;I think this refers to the access violation, but as I stated previously, this code RUNs on the last generation PLCs.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>HELP! Runtime Error #81</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7bfceb9c60/?limit=25#da61" rel="alternate"/><published>2020-02-27T22:19:11.873000Z</published><updated>2020-02-27T22:19:11.873000Z</updated><author><name>MrkTrussell</name><uri>https://forge.codesys.com/u/mrktrussell/</uri></author><id>https://forge.codesys.com9e90d6ae993345a60d9baf696da8ea1c38346f9b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Does anyone have any information on "Runtime error #81 (access violation Task = MAIN) ?? I can't find any documentation for this error.&lt;/p&gt;
&lt;p&gt;The task throwing the error is the task that runs my main PLC_PRG. I am working on an ABB AC500 PM590 CPU. The error is produced EVERY time I try to RUN the PLC. Therefore, I cannot RUN the PLC.&lt;/p&gt;
&lt;p&gt;The PLC is giving me the following error in conjunction with the above:&lt;br/&gt;
E2: IEC Task 0. Cycle time of IEC task index x - 4 is greater than watchdog time (x = 31 -&amp;gt; IEC task index &amp;gt; 27)&lt;/p&gt;
&lt;p&gt;I have modified the task configuration multiple times now to no avail.&lt;/p&gt;
&lt;p&gt;Any thoughts? Any help is greatly appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>