Page 1 of 1

Recipe management customize

Posted: Thu Apr 21, 2016 7:22 am
by aperez
Hi,

I would like to create my own recipe management but I am having problems with functions.

For example, why I can use this function?
Globals.Recipe1.LoadRecipe(Globals.Tags.RecipeNameToLoad.Value);

but not this?

Globals.Recipe1.SaveRecipe(Globals.Tags.RecipeNamecreate.Value);

The second one is wrong.

Regards
Antonio

Re: Recipe management customize

Posted: Fri Jan 24, 2020 2:43 pm
by Russ C.
Hello,

We understand that this is a very old post. If there is anyone who is still experiencing this or similar issues and require assistance, please visit us at https://www.beijerelectronics.us/en-US/ ... ___support or give us call at 801.708.6690.

Thank you.

Re: Recipe management customize

Posted: Mon Feb 24, 2020 12:12 pm
by prichlin
Hello Aperez,
The syntax for the script commands is different depending on the command. For example, Recipe.SaveRecipe includes options for operator interaction.

Load a recipe entry named MySecondRecipeItem from Recipe1:

Code: Select all

Globals.Recipe1.LoadRecipe("MySecondRecipeItem");
Save the current recipe that is loaded:

Code: Select all

Globals.Recipe1.SaveRecipe(Globals.Tags.SystemTagLatestLoadedRecipeName.Value,false,false);]
Hope this helps!