Skip to main content

Recipe management

This library provides the recipe management for Baumüller controllers.

TB_RecipeHandler

TB_RecipeHandler

This block can be used to implement recipe management on a PCC via the controller

Eingänge

Name:Type:Description:
DataANYHere you have to connect the data that you want to handle with this function block
_File_TMPLFILE_TMPLWith this structure, the FB is connected to the FILE_TMPL structure connected to the file blocks, which can be found in the library "TECH_FB_STRUCTS".
a_RecipeListSTRING_100_ARRAYAll recipes are listed in this array

Ausgänge

Name:Type:Description:
x_DoneBOOLThe action was accomplished successfully
x_BusyBOOLIndicates that the function block is being processed.
w_ErrorIDWORDError number of the function block:
» WORD#5000: Recipe index is larger than the recipe array
» WORD#9999: Recipe name is invalid or empty

For all other error numbers see help of the file blocks from "SYSTEM2_PCC03_40bd03"
x_ErrorBOOLBlock error.
Darstellung in FBD

TB_RecipeHandler

TB_RecipeHandler

This block can be used to implement recipe management on a PCC via the controller

Eingänge

Name:Type:Description:
DataANYHere you have to connect the data that you want to handle with this function block
_File_TMPLFILE_TMPLWith this structure, the FB is connected to the FILE_TMPL structure connected to the file blocks, which can be found in the library "TECH_FB_STRUCTS".
a_RecipeListSTRING_100_ARRAYAll recipes are listed in this array

Ausgänge

Name:Type:Description:
x_DoneBOOLThe action was accomplished successfully
x_BusyBOOLIndicates that the function block is being processed.
w_ErrorIDWORDError number of the function block:
» WORD#5000: Recipe index is larger than the recipe array
» WORD#9999: Recipe name is invalid or empty

For all other error numbers see help of the file blocks from "SYSTEM2_PCC03_40bd03"
x_ErrorBOOLBlock error.
Darstellung in FBD