Downloading A Recipe - Omron CX-Supervisor User Manual

Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Using Recipes in Runtime

10-10-2 Downloading a Recipe

162
Note that it is possible to change the name of an existing recipe in runtime
simply by typing a new name in the Recipe Name: field of the Modify Recipe
dialog box and then clicking the OK button. The re-named recipe appears in
the available list of entries displayed in the Recipes dialog box and is also
available in the development environment using the Recipe Editor.
To download an existing recipe, highlight the recipe from the recipe list and
click the
button. See chapter 10, Downloading a Recipe for more
information.
To upload an existing recipe, highlight the recipe from the recipe list and click
the
button. See chapter 10, Uploading a Recipe for more information.
Click the
button to send a copy of the recipe to the printer. See chapter 10,
Printing Recipes for a typical example of the formatted output.
A summary of recipe information is available by click the
Recipe Information dialog box opens (see chapter 10, Viewing Recipes in the
Recipe Editor for an example).
There are two ways of downloading a recipe definition in runtime. The first
method is to use a CX-Supervisor script function attached to a graphical object
on a page, such as a push button. The function call is:
DownLoadRecipe("<NameOfRecipe>")
The other way to download a recipe, is to display the Recipe Viewer as
described in the previous chapter. Highlight the desired recipe from the recipe
list and click the
button. The Download Recipe dialog box opens:
The Modify Target button allows the target value for an ingredient to be
modified by means of the Modify Ingredient dialog box (shown above). An
ingredient must already be selected from the list of ingredients for this recipe.
Any change to the target value is of a temporary nature and is not permanently
changed in the recipe definition. Any number of ingredients may be modified in
this way before the recipe is downloaded.
Selecting the OK button attempts to download the recipe. If for some reason
the recipe definition can't be found, the following error message appears:
"Unable to find recipe".
One recipe download must be completed before another recipe download is
started. If a recipe download is already in progress when another is started,
the following error message appears: "A recipe download is currently in
progress".
If any validation code has been entered for this recipe, the validation is
conducted first. If the validation is successful, the recipe is downloaded. If the
validation fails, the recipe is not downloaded and the following error message
appears: "Unable to download selected recipe".
SECTION 10 Recipes
button. The

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents