<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CAA File Library - Error Code 5113 -  Job creation of AsyncManager failed</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4b31ede706/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4b31ede706/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/4b31ede706/</id><updated>2021-08-20T14:44:18.170000Z</updated><subtitle>Recent posts to CAA File Library - Error Code 5113 -  Job creation of AsyncManager failed</subtitle><entry><title>CAA File Library - Error Code 5113 -  Job creation of AsyncManager failed</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4b31ede706/?limit=25#0c4d" rel="alternate"/><published>2021-08-20T14:44:18.170000Z</published><updated>2021-08-20T14:44:18.170000Z</updated><author><name>learner00</name><uri>https://forge.codesys.com/u/learner00/</uri></author><id>https://forge.codesys.com807b2199f527853774ff0314fbce32e097ae3305</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When I try simulation mode I take  this  error. If you work windows start your plc, search device, load project try again.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAA File Library - Error Code 5113 -  Job creation of AsyncManager failed</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4b31ede706/?limit=25#9bf3" rel="alternate"/><published>2020-09-21T07:30:52.618000Z</published><updated>2020-09-21T07:30:52.618000Z</updated><author><name>vobi123</name><uri>https://forge.codesys.com/u/vobi123/</uri></author><id>https://forge.codesys.com57e2b56bdf4563317db8d69c943fa95da82d1f66</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've got the same problem. Tim.Manning did you fix it?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAA File Library - Error Code 5113 -  Job creation of AsyncManager failed</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4b31ede706/?limit=25#2618" rel="alternate"/><published>2020-02-27T14:12:16.139000Z</published><updated>2020-02-27T14:12:16.139000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.com00ebdd58f6183c2d4fb0eee12fa734148f63c660</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It seems that error 5113 was introduced in 3.5.12.0&lt;br/&gt;
What if you try with previous version ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAA File Library - Error Code 5113 -  Job creation of AsyncManager failed</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4b31ede706/?limit=25#16c6" rel="alternate"/><published>2020-02-27T14:12:15.785000Z</published><updated>2020-02-27T14:12:15.785000Z</updated><author><name>Tim.Manning</name><uri>https://forge.codesys.com/u/tim-manning/</uri></author><id>https://forge.codesys.com79d29517e3494b4ab2627428e1982da03dda34ff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using the CAA File Library.  In my program, I need to save a number of files while the program is running, as values change.  The files will be saved in pairs, because there is a log file and a configuration file.  In all, the program will require about 160 files.  &lt;/p&gt;
&lt;p&gt;Since the files only have to be saved when a change is made, then usually, these files will only be saved in pairs.  &lt;/p&gt;
&lt;p&gt;However, on a restart, all of the files need to be restored.  So, I would need to open and read about 160 files.  &lt;/p&gt;
&lt;p&gt;In my testing, I've noted that if I attempt to open more than about 6 files at the same time, I get the Error Code 5113 - 'Job creation of AsynchManager failed' while opening the files.  However, it appears the files open OK, because the data is being restored to the program properly.  And, when I write files, the file writes seem to work OK, because the error code returned when I write the file is 0.&lt;/p&gt;
&lt;p&gt;However, if I open more than about 8 files on a restart, I get the same error code, but in this case, I can no longer write files either - I get an error code of 5113 when I attempt to write the files.&lt;/p&gt;
&lt;p&gt;I am obviously running up against some limit in the CAA Asynchronous Manager.  My questions are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;What is the limit that I am hitting?  What resource is limited, and what is the limit?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Is this a hard limit, or is there anyway to modify this limit?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Is there some parameter that I can monitor in the program that will tell me how many of the limited resources I am using?  If there is, then I can modify my program to check that parameter before I attempt to open a file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I am using the CAA File library, which apparently allows file actions to be performed asynchronously.  If I were to use the SysFile library, would I be able to open more files?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</summary></entry></feed>