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

Page 724

Advertising
background image

L-force | PLC Designer

General Editors

722

DMS 4.1 EN 03/2011 TD29

ReadAndSaveRecipeAs: This method reads the current plc values into the recipe and
afterwards stores the recipe into the specified recipe file.
The content of an existing file would be overridden.
Parameters:
RecipeDefinitionName - Name of the recipe definition.
RecipeName - Name of the recipe.
FileName - Name of the file.
Return values:
ERR_NO_RECIPE_MANAGER_SET, ERR_RECIPE_DEFINITION_NOT_FOUND,
ERR_RECIPE_NOT_FOUND, ERR_RECIPE_SAVE_ERR, ERR_FAILED, ERR_OK

SaveRecipe: This method stores the recipe into the standard recipe file. The content of
an existing file would be overridden.
The standard recipe file name is <recipe>.<recipedefinition>.<recipeextension>.
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_SAVE_ERR, ERR_FAILED, ERR_OK

ReadRecipe: This method reads the current plc values into the 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_FAILED, ERR_OK

Advertising