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

L-force | PLC Designer
General Editors
DMS 4.1 EN 03/2011 TD29
721
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_RECIPE_MISMATCH,
ERR_FAILED, ERR_OK
LoadFromAndWriteRecipe: This method loads a recipe from the specified recipe file
and afterwards writes the recipe into the plc variables.
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_FILE_NOT_FOUND, ERR_RECIPE_MISMATCH,
ERR_FAILED, ERR_OK
LoadRecipe: This method loads a recipe from the standard recipe file.
The standard recipe file name is
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_RECIPE_MISMATCH,
ERR_FAILED, ERR_OK
ReadAndSaveRecipe: This method reads the current plc values into the recipe and
afterwards stores the recipe into the standard recipe file.
The content of an existing file would be overridden.
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