Create a recipe

You can create a recipe with the Recipes editor or any text editor that produces an ASCII text file. You can also create a recipe at runtime by saving the values in input objects in a graphic display, to the file name specified in the Recipe box.
To create a recipe in a graphic display:
  1. In
    FactoryTalk View Studio
    , in the Graphics editor, create an input object for each value the recipe is to contain.
  2. Create a
    Recipe
    object for the display.
  3. At runtime, type values in the input objects.
  4. In the
    Recipe
    field, type a file name and then press
    Enter
    .
  5. In the
    Recipe transfer
    dialog box, click
    Save
    to save the information to a recipe file. The information is stored in the required format.
To create a recipe using the Recipe editor:
  1. In
    FactoryTalk View Studio
    , in the Graphics editor, in the Explorer window, click the
    Graphics
    folder to expand it.
  2. Under the
    Legacy Recipes
    folder, do one of the following:
    • If there are recipes listed, right-click the icon and then select
      New
      .
    • If no recipes are listed, double-click the
      Legacy Recipes
      icon or drag it onto the workspace to open the editor.
  3. On each line, type one entry for a particular input object in the display. An entry is the index number of the object, a comma, and the value you want to load into the input object.
  4. When you have typed all entries for the recipe, save the file, using a name that identifies the recipe. Type this name in the recipe object in a display when you want to use the recipe. Recipe files are given the extension .rcp.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal