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:
- InFactoryTalk View Studio, in the Graphics editor, create an input object for each value the recipe is to contain.
- Create aRecipeobject for the display.
- At runtime, type values in the input objects.
- In theRecipefield, type a file name and then pressEnter.
- In theRecipe transferdialog box, clickSaveto save the information to a recipe file. The information is stored in the required format.
To create a recipe using the Recipe editor:
- InFactoryTalk View Studio, in the Graphics editor, in the Explorer window, click theGraphicsfolder to expand it.
- Under theLegacy Recipesfolder, do one of the following:
- If there are recipes listed, right-click the icon and then selectNew.
- If no recipes are listed, double-click theLegacy Recipesicon or drag it onto the workspace to open the editor.
- 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.
- 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