RecipeWorX

A Recipe is a list of ingredients that is used to create a product. A recipe specifies the amount of each ingredient and is categorized by product variation. In RecipeWorX, recipes simplify work with a large set of data tags (recipe parameters). Each recipe consists of any number of recipe parameters.

 

The Recipes branch within the Project Explorer in Workbench enables you to specify a list of ingredients that are used to create a product, such as cookies. Features of recipes include:

RecipeWorX Architecture

RecipeWorX consists of the following key components:

Recipe Folders

 To Add a Recipe Folder:

  1. Open the Workbench, then expand your project, then expand the Platform Services node, then the Recipes node.

  2. Right-click the contained Recipes node then click on Add Folder, as shown below.

Add Folder from the Project Explorer

 

-OR-

 

Select the contained Recipes node then click on the Add Folder button, shown below, in the Edit section of the Home ribbon in the Workbench.

 

Add Folder Button

  1. This opens the Folder properties, shown below, beneath the Project Details section of the Workbench. Enter a name in the Folder Name text entry field.

Folder Properties

  1. Click Apply to save your changes then Close to return to the Workbench. Your new folder will now appear in the Project Explorer within the selected Recipes node.

Overview of Recipe Configuration

The following section provides an overview of how recipes are configured. Recipes are organized in a tree structure of folders, subfolders, recipes, and recipe tags (items).

The recipes and recipe items that you configure in Workbench are available as data tags that can be used in several different GENESIS64 client applications.  Note, the steps to create a recipe are similar for creating a recipe folder.

 

To Create a New Recipe:

  1. Start the Workbench, then expand your project. Next, expand the Platform Services node to show the Recipes node.

  2. Right-click the Recipes node in the navigation tree and select Add Recipe, as shown in the figure below.

Add Recipe from the Project Explorer

 

-OR-

 

Select the Recipes node in the Project Explorer, then click on the Add Recipe button, shown below, in the Edit section of the Home ribbon in the Workbench.

 

Add Recipe Button

  1. This opens the Recipe properties window, shown below, beneath the Project Details section in Workbench. Enter a unique name in the Recipe Name field.

Recipe Properties

  1. In the General Settings section of the window, check the The recipe is enabled checkbox to activate the recipe in the recipe server configuration.
    Enabled recipes are available to client applications.

  2. Enter a Description for the recipe (optional) in the text entry field..

  3. Use the Percentage Type pulldown to select from either 'Use Absolute Value' or 'Use Tag'. A Percentage allows you to create a smaller or larger variation of a recipe without needing to change the individual values in each of the Recipe items. When the values are downloaded to the data tags, the percentage will then be applied values downloaded.

  4. If you selected 'Use Absolute Value', you'll be able to enter a Percentage Value in the text entry field. If you selected 'Use Tag', you'll be able to enter a tag name in the Percentage Tag text entry field or click on the button to open the Data Browser to select your preferred tag.

  5. In the Tags List section, you can enter a Tag Name in that column or click on the button to open the Data Browser to select your preferred tag. You can also provide a Name in that column field. The Data Type column field turns into a pulldown menu, where you can select from NATIVE, FLOAT, DOUBLE, BOOL, BYTE, WORD, DWORD, CHAR, SHORT, LONG or STRING. You can then enter a Unit in that column field.

  6. Click the Apply button to enforce your changes.

See Also:

Unified Data Manager