Recipe management customize

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
aperez
Posts: 8
Joined: Fri Feb 26, 2016 9:42 am

Recipe management customize

Post 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

User avatar
Russ C.
Posts: 201
Joined: Thu Nov 16, 2017 3:32 pm
Contact:

Re: Recipe management customize

Post 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.
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB
http://www.beijerelectronics.us

prichlin
Posts: 13
Joined: Thu Feb 20, 2020 7:59 am

Re: Recipe management customize

Post 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!

Post Reply