FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
02-22-2024 09:29 AM
Hello,
I am really annoyed at the moment.
Recipe manager was working good and without any problems. Since updating ctrlX to V2.04 following strange issue:
After OFF/ON of ctrlX existing recipes are NOT found. RecipeManager always has result 16#4003
With this result a new recipe is created.
In this example:
A recipe located in: PLCLogic\AllRecipes\Programme
with name: test-2.ProgrammDaten.prg
should be loaded.
This program exists on ctrlX:
RecipeManager says it doesn't exist and creates a new one with that name.
The new created recipe works. It can be loaded, saved,... switching to another and back, no problem.
Till next OFF/ON or RESTART
Then the same again. Existing recipes are NOT recognised.
Solved! Go to Solution.
02-23-2024 08:28 AM
Good morning, try using one of the options described in the attached manual.
Similar things also happened in other versions and the recipes disappeared as if by magic. I solved it as described in the manual and now I can always work with them, the recipes, without problems.
Best Regards
Jordi Laboria
E-mail: jordi.laboria@boschrexroth.es
https://www.youtube.com/channel/UCzE-ieCIkyMsuvyE0UDji9g
DCET/SLF4-ES
02-23-2024 12:16 PM - edited 02-23-2024 02:43 PM
Hi Jordi,
thanks, very intersting information. I wondered why some recipes worked, others not. Now, I know.
-Recipes which are working: if they are known and inserted into recipes by hand, as written on page 44.
-Recipes "not exist" after power OFF/ON: recipes which are created in runtime with variable name. Recipes that can't be inserted by hand (as on page 44) because they are unkown. They are working as long as power is on, but after power off, they are lost (even they still exist on flash).
-this sounds like the RecipeManager is loosing recipe definitions.
I think, recipe manager fills the table with created recipes as shown below, the yellow marked recipes.
After power OFF all the entries are lost.
The big question is, how to help recipemanager to remember the list?
Because the recipe names are individual and I don't know them before. Do you have any hint?
By the way, the next chapter "USB" is very interesting for me, too:)
Thanks a lot for that
edited 14:20pm
Did a test: With 'GetRecipeNames' I check what recipes are created and known.
The result is:
These recipes are knwon with name. At this stage, the recipes can be used without issues.
Now, a restart (no power OFF/ON) of ctrlX:
Recipe "test6" is lost
Taking a look on ctrlX flash where recipes are located many more are there (all with extension ".ProgrammDaten.prg":
When opening the file where I list the programs, to sort a programnumber to a programname, a list used in my Visu, the file has following entries:
Complete different to what can be read out with recipe manager and GetRecipeNames. A complete mismatch.
The recipe definition looks that way:
The recipe "ProgrammDaten" is working because it is fix in definition. But all others are unknown and created during runtime.
My opinion, there is a big bug with recipe manager. Recipe manager must not loose recipes! Otherwise this function is nonsense!
And this bug was not with v1.20 and before. I use it that way since more than half a year without that issue.
03-11-2024 11:56 AM
Hello alink,
could you please send me your project?
I would like to see how it worked in the 120 version. Which release/patch did you use exactly?
You can send it to matthias.dietrich@boschrexroth.de
Thank you.
04-03-2024 10:09 AM - edited 04-03-2024 10:12 AM
Issue is identified:
Due to converting from 1.20 to 2.04 settings in recipe manager were lost. A circumstance detected in this post already:
Missing path of recipe manager read/write with PLC V2.04 (boschrexroth.com)
Only recipes which are created in Engineering work. But recipes created during runtime don't.
Now, the issue that during runtime created recipes are not known anymore after OFF/ON (they are lost) is attributable to this setting:
Setting was lost during converting v1.20 -- v2.04
In recipe manager:
If not activated, during runtime created recipes are lost after OFF/ON or restart.
If activated during runtime created recipes are saved and can be used after OFF/ON or restart.
Taking a look to "Recipe_Manager.GetRecipeNames"
Before OFF/ON
After OFF/ON:
Documentation of recipe manager is confusing and doesn't describe what is meant in an understandable way.
Thanks for help @matze