GetCurrentRecipe

Description: Returns the name of the current recipe
Returns: Text
Usage: Script Only.
Function Groups: Recipe Book
Related to: GetRecipes | GetVersions | GetCurrentVersion | SetCurrentRecipe | SetCurrentVersion |
Format: RecipeBook.GetCurrentRecipe([GetFromTag])
Parameters:  
GetFromTag

Optional Boolean. If FALSE (default), the name of the selected recipe is returned.

If TRUE, the name of the recipe as read out of the PLC is returned if the PLC supports this and if the Recipe Name ingredient tag has been given an address for reading this value.

Comments:

"RecipeBook" must be a reference to a Recipe Book tag object, not the name of the tag.