![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-v2-0/cx-supervisor-v2-0_user-manual_744213189.webp)
CHAPTER 10 – Recipes
OMRON
Page 166
Release 2.0
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.
Updating an Existing Recipe
Open the Recipe Editor dialog as described in chapter 10, Viewing Recipes in the Recipe Editor.
Summary of Contents for CX-SUPERVISOR - V2.0
Page 2: ...CX Supervisor User Manual Software Release 2 0...
Page 3: ......
Page 5: ...CX Supervisor User Manual OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor User Manual OMRON Page iv Revision 2 0...
Page 11: ...CX Supervisor User Manual OMRON Page viii Revision 2 0...
Page 13: ...CX Supervisor User Manual OMRON Page x Revision 2 0...
Page 15: ...CX Supervisor User Manual OMRON Page xii Revision 2 0...
Page 17: ...CX Supervisor User Manual OMRON Page xiv Revision 2 0...
Page 19: ...CX Supervisor User Manual OMRON Page xvi Revision 2 0...
Page 21: ...CX Supervisor User Manual OMRON Page xviii Revision 2 0...
Page 23: ......
Page 67: ......
Page 97: ......
Page 137: ...CHAPTER 7 Graphics Library OMRON Page 114 Release 2 0...
Page 183: ...CHAPTER 9 Animation OMRON Page 160 Release 2 0...
Page 215: ......
Page 263: ......
Page 269: ......
Page 274: ...OMRON CHAPTER 16 Connecting to Omron Industrial Components Release 2 0 Page 251...
Page 275: ......
Page 285: ......
Page 319: ......
Page 331: ......
Page 351: ......
Page 359: ...GLOSSARY OF TERMS CX Supervisor User Manual OMRON Page 336 Release 2 0...