Updating An Existing Recipe - Omron CX-SUPERVISOR - V2.0 User Manual

Table of Contents

Advertisement

CHAPTER 10 – Recipes
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.
Page 166
OMRON
Release 2.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents