L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 726
 
L-force | PLC Designer
General Editors
724
DMS 4.1 EN 03/2011 TD29
GetRecipeNames: This method returns the recipe names from the corresponding 
recipe definition. 
Parameters: 
RecipeDefinitionName - Name of the recipe definition. 
pStrings - The strings were the recipe values should be stored. 
iSize - The size of the string array. 
iStartIndex - The start index. Can be used for a scrolling function. 
Return values: 
ERR_NO_RECIPE_MANAGER_SET, ERR_RECIPE_DEFINITION_NOT_FOUND, ERR_FAILED, 
ERR_OK 
Example: 
We have 50 recipes. We want to create a table which shows 10 recipe names at a time. 
We define a Stringarray strArr: ARRAY[0..9] OF STRING; 
Corresponding to the iStartIndex we can get the recipe names from a specific area. 
iStartIndex := 0; The names 0..9 are returned. 
iStartIndex := 20; The names 20..29 are returned. 
In this example: 
iSize := 10;