Runtime-based Recipe Management through Function Blocks

For applications that require programmatic control over recipe operations, a set of function blocks are available for recipe management.

  • These function blocks give the PLC program full control over recipe operations at runtime.
  • Examples:
    • Automatic changeovers triggered by a HMI selection.
    • Barcode scan.
    • Manufacturing execution system integration.
    • Sequence-driven production.

Important Notes

  • Always monitor these outputs from the function blocks:
    • Done
    • Busy
    • Error
  • Reset the Execute input between operations.
  • Do not trigger the next function until the previous one completes.

Function Block

Description

RecipeApplyInstance

Copy values to from a recipe instance to the program data.

RecipeClose

Close a recipe object.

RecipeOpen

Open a recipe file and create a recipe object.

RecipeQuickLoad

Load a recipe file and immediately apply the items it contains.

RecipeSave

Save a recipe object to a file.

RecipeSaveRetainVars

Save all retain variables, and their values, into a new recipe file.

RecipeStoreInstance

Store the present values of the program data in a recipe instance.