beautypg.com

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

Page 725

background image

L-force | PLC Designer

General Editors

DMS 4.1 EN 03/2011 TD29

723

WriteRecipe: This method writes the recipe into the plc variables.
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

ReloadRecipes: This method reloads the list of recipes from the file system.
Parameters:
RecipeDefinitionName - Name of the recipe definition.
Return values:
ERR_NO_RECIPE_MANAGER_SET, ERR_RECIPE_DEFINITION_NOT_FOUND, ERR_FAILED,
ERR_OK

GetRecipeCount: This method returns the recipe count of the corresponding recipe
definition.
Parameters:
RecipeDefinitionName - Name of the recipe definition.
Return values:
-1 : if the recipe definition is not found