
OMRON
CHAPTER 10 – Recipes
Release 2.0
Page 161
CHAPTER 10
Recipes
This chapter describes CX-Supervisor recipes and the procedures associated with the creation,
amendment and removal of recipes using the Recipe Editing facility. The use of recipes during the
running of a project is also described.
What is a Recipe?
A recipe is a means of preparing a sequence of steps which can be repeated verbatim as and when
required. A typical use for a recipe is to initialise some point data values prior to the commencement
of a particular operation under the control of a CX-Supervisor project.
A CX-Supervisor recipe consists of one or more
ingredients,
each of which relates to a point. Each
ingredient assigns a value to a point by means of a
target value
.
A suite of CX-Supervisor recipes may be created for any project. In runtime, the recipes are a great
time-saver that eliminate mistakes that may otherwise be made were the repetitive tasks they perform
left to human endeavour.
It is possible to achieve simple point initialisation using the CX-Supervisor script language. This
approach works perfectly well for relatively straight-forward applications. However, further
functionality is provided using the recipe system, such as the ability to modify a recipe while the CX-
Supervisor project is being executed in runtime.
Recipe Components
Before proceeding any further with the description of recipes, some basic recipe terminology must be
introduced:
♦
Recipe
. A recipe is a set of pre-defined steps used to perform a particular task. A CX-
Supervisor project may contain none or many. Recipes are defined in the development
environment and executed, or downloaded, in the runtime environment.
♦
Ingredient
. Each recipe consists of at least one ingredient. Each ingredient must be related to an
existing point.
♦
Target Value
. An ingredient must specify a target value for its related point. This is the value to
which the point is set in runtime when the recipe is downloaded.
♦
Validation Code
. Recipe validation code is CX-Supervisor script code which is used to check
point values before downloading a recipe.
♦
Download
. A recipe is downloaded during runtime. This process involves identifying the
appropriate recipe and executing the validation code, if any exists. The download is complete
when each ingredient has set its point to the target value.
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...