Checking for Errors Before Downloading

After you complete the Download dialog box, the Recipe Builder examines the recipe for errors. The following figure provides a flowchart of the steps the Recipe Builder performs before downloading the recipe.

Examining a Recipe for Errors During a Download

Notice that the program examines all recipe items and variables for an identifier and a value. Variables are not downloaded, however. If the formula of a recipe item references a variable, that variable must exist in the recipe and must have a value, otherwise the download aborts.

Also notice that the Completion Status field is updated prior to downloading. Refer to the section Defining the Completion Status Indicator for more information about possible Completion Status field values.

Handling Errors

Should the Recipe Builder find errors prior to downloading the recipe, it displays an error message box with the following text:

Precheck of recipe recipe
completed with x database errors

You can display these errors by selecting the View button on the message box. When you select this button, the Precheck Error List dialog box appears and displays a list of errors.

Common download precheck errors include an active download interlock, downloading to a node that is not running SAC, attempting to download a recipe item without a formula or override value, and attempting to download to a tagname that does not exist. To correct these, or any other errors, you must cancel the download first. For additional information about handling precheck errors, refer to the section Understanding Audit Trail and Error File Messages.

NOTE: If the Recipe Builder encounters precheck errors for the upload or download interlock, the Item No. field in the Precheck Error List dialog box is left blank for that block. To correct the error for either interlock, open the database and make the necessary changes or change the interlock with the Advanced Options dialog box.

See Also