<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to RecipeManCommands.ReloadRecipes</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/</id><updated>2024-05-24T09:04:47.524000Z</updated><subtitle>Recent posts to RecipeManCommands.ReloadRecipes</subtitle><entry><title>RecipeManCommands.ReloadRecipes</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/?limit=25#6c3b" rel="alternate"/><published>2024-05-24T09:04:47.524000Z</published><updated>2024-05-24T09:04:47.524000Z</updated><author><name>William Blandon</name><uri>https://forge.codesys.com/u/william-blandon/</uri></author><id>https://forge.codesys.com0092aa7c989efb792d12ddd95a848ffca6677788</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks Edwin.&lt;br/&gt;
I have reviewed the example and I'm doing basically the same when calling the methods. The recipe files are in the right directory. Everything looks okay but simply it doesn't work.&lt;br/&gt;
May migrating to Codesys 3.5.20 will solve this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RecipeManCommands.ReloadRecipes</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/?limit=25#d531" rel="alternate"/><published>2024-05-24T05:02:19.407000Z</published><updated>2024-05-24T05:02:19.407000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com4257c7734eb0ca5b2882497925c16278f932832c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;does this recipe example help you here? &lt;a href="https://forge.codesys.com/prj/codesys-example/home/Home/"&gt;https://forge.codesys.com/prj/codesys-example/home/Home/&lt;/a&gt; &lt;br/&gt;
&lt;a href="https://forge.codesys.com/prj/codesys-example/recipe-manageme/home/Home/"&gt;https://forge.codesys.com/prj/codesys-example/recipe-manageme/home/Home/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and additional keep in mind that all files which are generated / or read should be exist in the iecfilepath&lt;br/&gt;
this means:&lt;br/&gt;
for Windows (Control Win as example)&lt;br/&gt;
c:\ProgramData\CODESYS\CODESYSControlWinV3x64\268E8ADF\PlcLogic &lt;br/&gt;
for Linux&lt;br/&gt;
/var/opt/codesys/PlcLogic&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RecipeManCommands.ReloadRecipes</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/?limit=25#50ab" rel="alternate"/><published>2024-05-23T17:59:00.093000Z</published><updated>2024-05-23T17:59:00.093000Z</updated><author><name>William Blandon</name><uri>https://forge.codesys.com/u/william-blandon/</uri></author><id>https://forge.codesys.coma81c71ec001316d8aa59833fbb6cdfc559bbb0cf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Dave. Thanks for your answer. I still struggling with this. I have done everything according with the Codesys help even I have looked in detail at the example. I have double checked the recipe manager configuration and the use of all the methods.&lt;br/&gt;
There are two methods that do not work as expected. I'm using Codesys 3.5.19.20 and recipe management 4.4.0.0 &lt;/p&gt;
&lt;p&gt;.CreateRecipe just create a recipe in the recipe definition but do not create the file. This have a walk around just giving a .ReadAndSaveRecipe afterwards.&lt;/p&gt;
&lt;p&gt;.ReloadRecipes do nothing but do not generate any error as well. After calling it I call the .GetRecipeCount and the number is always 0. When I create a new recipe (using the function block methods) then the number changes.&lt;br/&gt;
Looks like this method is looking to the wrong directory finding nothing.&lt;br/&gt;
I don't know if there is a missing configuration in the CODESYSControl.cfg file.&lt;/p&gt;
&lt;p&gt;I'm thinking in a walk around for this but I need to create a strings array with the recipe names as retentive and making all the management when deleting and adding recipes. &lt;/p&gt;
&lt;p&gt;Have had some one the same problem?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RecipeManCommands.ReloadRecipes</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/?limit=250#5627" rel="alternate"/><published>2024-05-16T14:58:17.407000Z</published><updated>2024-05-16T14:58:17.407000Z</updated><author><name>dkugler</name><uri>https://forge.codesys.com/u/dkugler/</uri></author><id>https://forge.codesys.coma499dc274e1dd31db03b16a28a9ff51308e38e80</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi William,&lt;/p&gt;
&lt;p&gt;I struggled in the same way as you at the beginning with the recipe manager. This chapter helped me a lot to understand how it has to be used: &lt;br/&gt;
&lt;a href="https://content.helpme-codesys.com/en/CODESYS%20Recipes/_rec_start_page.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20Recipes/_rec_start_page.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Check out the Methode LoadFromAndWriteRecipe / LoadAndWriteRecipe&lt;/p&gt;
&lt;p&gt;Good luck!&lt;br/&gt;
Dave&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RecipeManCommands.ReloadRecipes</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/?limit=250#765c" rel="alternate"/><published>2024-05-16T14:58:10.770000Z</published><updated>2024-05-16T14:58:10.770000Z</updated><author><name>dkugler</name><uri>https://forge.codesys.com/u/dkugler/</uri></author><id>https://forge.codesys.comf8a9f95feaa732f9ee65342616f74033aae13b0c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi William,&lt;/p&gt;
&lt;p&gt;I struggled in the same way as you at the beginning with the recipe manager. This chapter helped me a lot to understand how it has to be used: &lt;br/&gt;
&lt;a href="https://content.helpme-codesys.com/en/CODESYS%20Recipes/_rec_start_page.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20Recipes/_rec_start_page.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Check out the Methode LoadFromAndWriteRecipe / LoadAndWriteRecipe&lt;/p&gt;
&lt;p&gt;Good luck!&lt;br/&gt;
Dave&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RecipeManCommands.ReloadRecipes</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/?limit=25#754f" rel="alternate"/><published>2024-05-16T11:16:26.869000Z</published><updated>2024-05-16T11:16:26.869000Z</updated><author><name>William Blandon</name><uri>https://forge.codesys.com/u/william-blandon/</uri></author><id>https://forge.codesys.com4defa9cf7c3ea66919a3e5e58b86f03874bc4ec7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello. &lt;br/&gt;
I'm trying to use RecipeManCommands.ReloadRecipes Method for getting recipes from files. When I call the method it does not generate any error but also not reload any recipe to the recipe definition. &lt;br/&gt;
Actually I have 6 recipe files on the directory PlcLogic. The rest of the methods work creating recipes, saving to file, etc.&lt;br/&gt;
Does any one have the same issue? it is something to be set on the recipe manager? &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>