Working with recipe types

This topic provides instructions on how you can create a recipe type with associated recipes. In the example you will create the recipe types using the Recipes panels.

Example

Even in simple installations, one often has the task of transferring a relatively large number of predefined values from the control system to the peripheral devices. If several different sets of "predefined values" or "set points" are needed for operating an installation, then a Recipe Management tool can represent a significant simplification in operation.

Objective

In the following example, the aim is to enable an imaginary brewery to set simultaneously the set point values required for brewing a particular type of beer. As this is only intended as a simple example, it does not include the real-life situation where peripheral devices would return actual values, and additional elements would be required for valves, motors and heaters.

System requirements and conditions of use

  1. Create a datapoint type "beer" containing the datapoint elements "hop", "water", "malt1", "malt2", "yeast", "brewing_time", "boiler" and "temperature".
  2. Your datapoint type should have the following example structure for the set point values:
    recipes create dptype para
  3. Create the datapoint beer_boiler1.
  4. Assign alias names, descriptions and units in the _common config.
  5. Save the datapoint.

Procedure

Once you have made these preparations you can create recipes for your brewery. Open the System Management panel > Settings tab

Creating a recipe type

  1. Click on Recipes.
  2. This opens by default the Activation tab which as yet contains no entries.
  3. Switch to the Recipe types tab.
  4. Click on the New button in the lower left corner recipes new recipe.
  5. Enter "BeerTypes" say as the name. The empty panel of the Recipe type editor is opened.
  6. Enter "Brewery settings" for example as the description.
  7. Then use the DP Selector recipes dp add to insert an element from the datapoint beer_boiler1:
  8. Click on addrecipes dp selector to add each selected element to the table.
  9. Your table might look as follows:
recipes recipe type example
  1. Click on OK when you have assigned all the elements for a recipe type.

If you have set the parameters correctly then the entry is added to the list of recipe types and is given the status of valid:

recipes recipe type

If you have used a non-existent datapoint or an incorrect data type then the following panel opens highlighting the erroneous datapoint element:

recipes dp does not exist

You can either edit this entry, assign a different one or delete it (see Recipe type editor).