Recipes; What Is A Recipe; Recipe Components; Viewing Recipes In The Recipe Editor - Omron CX-Supervisor User Manual

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

Advertisement

What is a Recipe?

10-1
What is a Recipe?
10-2

Recipe Components

10-3

Viewing Recipes in the Recipe Editor

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.
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.
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.
The Recipe Editor allows the creation, editing, copying and deletion of recipe
definitions. To use the Recipe Editor, CX-Supervisor must currently have a
project open. If no project is currently open, select Open from the Project
menu to open a previously saved project, or select New from the Project menu
to create a new project.
To open the Recipe Editor dialog box, click the
SECTION 10 Recipes
SECTION 10

Recipes

button.
153

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents