
Lenze · ApplicationTemplate · 1.3 EN - 04/2013 151
Appendix
Recipe manager
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
12.4.5.6 GetRecipeCount
...outputs the number of recipes within the recipe definition.
[12-13] Example: Program view
VAR
_RecipeManCommands : RecipeManCommands;
_stRecipeDef : STRING := 'MM_Par_Modul1'; [name of the recipe definition]
_RecipeCount : INT;
END_VAR
_RecipeCount := _RecipeManCommands.GetRecipeCount(_stRecipeDef);
Komentáře k této Příručce