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

Recipe Manager with New Recipes

Recipe Manager with New Recipes

aFouraker
Occasional Contributor

I am using a utility that I have used succefully with the XM controller to save and load recipes from the file system of the controller using the "RecipeManCommands." 

Previously, I could make a new recipe in the required text format and with the correct naming convention and these recipes would be recognized by the recipeman methods. Now however, the recipes are not recognized even with the correct formatting. For example, the recipes shown here with the red arrow are accesible because they were saved with the recipeman methods but the ones without an arrow were copies of the recipes and they will not load. On the XM controller this worked. The end goal is to be able to offload and modify a recipe with a text editor and reload it. 

aFouraker_0-1639768704628.png

The error code is 16#4003. If the Upload of recipes is commanded from the recipe manager it does find these recipes. 

3 REPLIES 3

TheCodeCaptain
Community Moderator
Community Moderator

Hi aFouraker,

just tried it with a minimal project and just worked fine in version 1.12.

You may try it with this project and figure out where you have the issue in yours?

Project file is attached.

You can also get a larger project here:

https://forge.codesys.com/prj/codesys-example/recipe-manageme/home/Home/ 

2021-12-20_12h06_18.png

I have some trouble using the Recipe Manger using the PLC code in de last comment (also if i start from scratch).

every time i try the command load from or read and save i get from the recipe manager 16#4003 error.
ERR_RECIPE_NOT_FOUND

UDINT 16#4003 The recipe does not exist

see attachment for configuration and code.

Why is it not working as intended?

HmiGuide
Community Moderator
Community Moderator

I attached a demo program with test visu and description what to do, to write and read a recipe. The code was written for MLC, but works identical for ctrlXPLC 1.12.3.

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