cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Recipe manager broken? ctrlX V2.04

Recipe manager broken? ctrlX V2.04

alink
New Contributor

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.

alink_0-1708589694984.png

This program exists on ctrlX:

alink_1-1708589880735.png

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.

4 REPLIES 4

JordiLaboria
Established Member

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

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.

alink_0-1708686658161.png

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.

alink_0-1708694455692.png

The result is:

alink_1-1708694501894.png

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

alink_2-1708694817243.png

Taking a look on ctrlX flash where recipes are located many more are there (all with extension ".ProgrammDaten.prg":

alink_3-1708694951148.png

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:

alink_4-1708695148882.png

Complete different to what can be read out  with recipe manager and GetRecipeNames. A complete mismatch.

The recipe definition looks that way:

alink_5-1708695266915.png

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.

 

 

 

 

 

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.

alink
New Contributor

@JordiLaboria 

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:

alink_0-1712131089766.png

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"

alink_3-1712131347171.png

Before OFF/ON

alink_1-1712131250990.png

After OFF/ON:

alink_2-1712131271972.png

Documentation of recipe manager is confusing and doesn't describe what is meant in an understandable way.

Thanks for help @matze 

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist