Recipemancommands, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 722

L-force | PLC Designer
General Editors
720
DMS 4.1 EN 03/2011 TD29
13.12.2
RecipeManCommands
CreateRecipe: This method creates a new recipe in the specified recipe definition and
afterwards reads the current plc values into the new recipe. At the end the new recipe
would be stored in the default file.
Parameters:
RecipeDefinitionName - Name of the recipe definition.
RecipeName - Name of the recipe.
Return values:
ERR_NO_RECIPE_MANAGER_SET, ERR_RECIPE_DEFINITION_NOT_FOUND,
ERR_RECIPE_ALREADY_EXIST, ERR_FAILED, ERR_OK
CreateRecipeNoSave: This method creates a new recipe in the specified recipe
definition and afterwards reads the current plc values into the new recipe.
Parameters:
RecipeDefinitionName - Name of the recipe definition.
RecipeName - Name of the recipe.
Return values:
ERR_NO_RECIPE_MANAGER_SET, ERR_RECIPE_DEFINITION_NOT_FOUND,
ERR_RECIPE_ALREADY_EXIST, ERR_FAILED, ERR_OK
DeleteRecipe: This method deletes a recipe from a recipe definition.
Parameters:
RecipeDefinitionName - Name of the recipe definition.
RecipeName - Name of the recipe.
Return values:
ERR_NO_RECIPE_MANAGER_SET, ERR_RECIPE_DEFINITION_NOT_FOUND,
ERR_RECIPE_NOT_FOUND, ERR_FAILED, ERR_OK
DeleteRecipeFile: This method deletes the standard recipe file from a recipe.
Parameters:
RecipeDefinitionName - Name of the recipe definition.
RecipeName - Name of the recipe.
Return values:
ERR_NO_RECIPE_MANAGER_SET, ERR_RECIPE_DEFINITION_NOT_FOUND,
ERR_RECIPE_NOT_FOUND, ERR_RECIPE_FILE_NOT_FOUND, ERR_OK
LoadAndWriteRecipe: This method loads a recipe from the standard recipe file and
afterwards writes the recipe into the plc variables.