Using Recipes in Runtime
SECTION 10 Recipes
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
button. The
Recipe Information dialog box opens (see chapter 10, Viewing Recipes in the
Recipe Editor for an example).
10-10-2 Downloading a Recipe
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".
Содержание CX-Supervisor
Страница 1: ...CX Supervisor Software Cat No W10E EN 01 User Manual Software Release 3 1...
Страница 3: ...Copyright Notice 2...
Страница 16: ...15...
Страница 17: ...16...
Страница 27: ...Tip of the Day SECTION 1 Graphics Editor 26...
Страница 35: ...CX Supervisor Preferences SECTION 2 Pages 34...
Страница 79: ...Responding to Events SECTION 5 ActiveX Objects 78...
Страница 115: ...Printing the Graphics Library SECTION 7 Graphics Library 114...
Страница 181: ...Data Logging SECTION 11 Data Logging 180...
Страница 201: ...Examples SECTION 12 Databases 200...
Страница 243: ...Performance Monitor SECTION 16 Application Analysis Performance Monitor 242...
Страница 253: ...Using with Omron s CX Server OPC SECTION 17 Using CX Supervisor as an OPC Cli 252...
Страница 259: ...Creating a CX Supervisor Client application SECTION 18 Connecting to a remote CX 258...
Страница 263: ...Adding a Point Linked to a Parameter SECTION 19 Connecting to Omron Industrial 262...
Страница 271: ...Data Logging SECTION 20 Best Practices 270...
Страница 275: ...Configuring a Server PC running Windows NT or 2000 Appendix A Configuring a PC 274...
Страница 277: ...Appendix B Frequently Asked Questions 276...
Страница 296: ...Appendix B Frequently Asked Questions 295...
Страница 297: ...Appendix B Frequently Asked Questions 296...
Страница 298: ...Appendix B Frequently Asked Questions 297...
Страница 299: ...Appendix B Frequently Asked Questions 298...
Страница 333: ...Revision history 332...