Updating an Existing Recipe
SECTION 10 Recipes
157
Enter the recipe validation code using any standard CX-Supervisor script
language constructs. The validation code should check any possible invalid
point value or error condition. The point value being checked is the value of
the ingredient about to be downloaded, or the current point value if the point is
not an ingredient of the recipe being downloaded.
In the event of a failure, the script language should perform a premature
<Return>. This has the effect of failing the recipe validation check and abort
the attempt to download the recipe.
The recipe validation code should not contain any command which requires
user input (e.g. a Message command). This is because the validation script
would not have been completed (and appropriate action taken) at the time that
user input is requested. Instead, if a message box is required, then a point
should be used as an error status value, and set to an appropriate value. This
point can then be checked in an 'on condition' script and the appropriate
message displayed from there.
If the validation code exits normally, the recipe is downloaded in the normal
way.
10-5
Updating an Existing Recipe
Open the Recipe Editor dialog box as described in chapter 10, Viewing
Recipes in the Recipe Editor.
To modify an existing recipe, highlight the recipe entry from the recipe list and
click the
button.
This results in the Modify Recipe dialog box being displayed, a dialog box
based on the Add Recipe dialog box, as shown below:
Содержание 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...