METHOD ReadRecipe : DWORD
Reads the current PLC values into the recipe
Scope
Name
Type
Comment
Return
ReadRecipe
DWORD
Possible last error values:
ERR_RECIPE_DEFINITION_NOT_FOUND ERR_RECIPE_NOT_FOUND ERR_NO_RECIPE_MANAGER_SET ERR_OK DataServer Errors from 16#2000 to 16#20FF, DataSourceDriver Errors from 16#2100 to 16#21FF
ERR_RECIPE_DEFINITION_NOT_FOUND
ERR_RECIPE_NOT_FOUND
ERR_NO_RECIPE_MANAGER_SET
ERR_OK
DataServer Errors from 16#2000 to 16#20FF,
DataSourceDriver Errors from 16#2100 to 16#21FF
DataServer and DataSourceDriver errors can occur if a DataServer and DataSource is configured beneth your current application (CODESYS HMI) and the command is called from the visualization.
See ReturnValues (GVL) for a description of all possible errors.
Input
RecipeDefinitionName
STRING
Name of the recipe definition
RecipeName
Name of the recipe