Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

Understand error messages returned by recipe script functions

Understand error messages returned by recipe script functions

  • Last UpdatedJul 28, 2025
  • 1 minute read

You troubleshoot recipe applications using diagnostic error codes returned by a recipe function. This section includes a list of recipe function error codes and how to use the RecipeGetMessage() function to show the message associated with an error code.

The RecipeLoad() function sets the value of the analog ErrorCode tag to 0 if it is successful. If RecipeLoad() fails, it sets the ErrorCode tag to the number of the specific error condition.

To retrieve the error code of a recipe function, it must be equated to an InTouch analog tag. The following example shows a script statement to return a recipe function error code:

ErrorCode = RecipeLoad(FileName, UnitName, RecipeName);

TitleResults for “How to create a CRG?”Also Available in