Uploading A Recipe - Omron CX-SUPERVISOR - V2.0 User Manual

Table of Contents

Advertisement

OMRON
The Modify Target pushbutton allows the target value for an ingredient to be modified by means of
the Modify Ingredient dialog (shown above). An ingredient must already be selected from the list of
ingredients for this recipe. Any change to the target value is of a temporary nature and is not
permanently changed in the recipe definition. Any number of ingredients may be modified in this
way before the recipe is downloaded.
Selecting the OK pushbutton attempts to download the recipe. If for some reason the recipe
definition can't be found, the following error message appears: "Unable to find recipe".
One recipe download must be completed before another recipe download is started. If a recipe
download is already in progress when another is started, the following error message appears: "A
recipe download is currently in progress".
If any validation code has been entered for this recipe, the validation is conducted first. If the
validation is successful, the recipe is downloaded.
downloaded and the following error message appears: "Unable to download selected recipe".
If there is no validation code to execute, the recipe is downloaded anyway. The download process
consists of setting each ingredient to its specified target value.
The download may fail at this stage if there are problems communicating with a PLC.
communications failure results in the error message "Downloading recipe failed". A delay in
response from the PLC of more than one minute results in the error message "Recipe transfer timed
out".
When the recipe download is complete, all the ingredients are saved and the CX-Supervisor runtime
environment continues to run in the normal manner. An event is logged stating that the recipe was
successfully downloaded.

Uploading a Recipe

There are two ways of uploading a recipe definition in runtime. The first method is to use a CX-
Supervisor script function attached to a graphical object on a page, such as a push button. The
function call is:
Release 2.0
UpLoadRecipe("<NameOfRecipe>")
CHAPTER 10 – Recipes
If the validation fails, the recipe is not
A
Page 173

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents