RecipeManCommands.CreateRecipe (METH)ΒΆ
METHOD CreateRecipe : DWORD
Creates a new recipe in the given recipe definition
The method reads the current PLC values to the new recipe and saves them as a recipe file with the default name.
The default name is <recipe>.<recipe definition>.<recipe extension>
. At the end the new recipe would be stored in the default file.
- InOut:
Scope
Name
Type
Comment
Return
CreateRecipe
DWORD
Possible last error values:
See ReturnValues (GVL) for a description of all possible errors.
Input
RecipeDefinitionName
STRING
Name of the recipe definition
RecipeName
STRING
Name of the recipe