Constant
|
ERR_OK
|
UDINT
|
16#0
|
The operation succeeded
|
ERR_FAILED
|
UDINT
|
16#1
|
The operation failed
|
ERR_PARAMETER
|
UDINT
|
16#2
|
Wrong parameter
|
ERR_NOTINITIALIZED
|
UDINT
|
16#3
|
The dataserver object is not initialized. The dataserver is necessary if the recipe management is used in combination with the CODESYS HMI.
|
ERR_NOTIMPLEMENTED
|
UDINT
|
16#C
|
The dataserver does not implement the interface IDataServer4, which is necessary if the recipe management is used in combination with the CODESYS HMI.
|
ERR_NO_OBJECT
|
UDINT
|
16#10
|
Not all recipe definition variables can be written via the dataserver. Only the valid recipe definition variables are written.
|
ERR_NOMEMORY
|
UDINT
|
16#11
|
The dataserver did not get enough memory
|
ERR_RECIPE_FILE_NOT_FOUND
|
UDINT
|
16#4000
|
The recipe file was not found.
|
ERR_RECIPE_MISMATCH
|
UDINT
|
16#4001
|
The content of the recipe file does not match the current recipe. This error is only generated when the storage type is textual (see "RecipeManager" "Storage Type" in your project) and when a variable name in the file does not match the variable name in the recipe definition. The recipe file is not loaded when this error occurs.
Possible reasons:
|
ERR_RECIPE_SAVE_ERR
|
UDINT
|
16#4002
|
The save operation failed.
Possible reasons:
-
The file cannot be created or opened because the disk is full.
-
The configured file path does not exist (see "RecipeManager" "File Path" in your project).
-
The configured file extension is not allowed by the runtime (see "RecipeManager" "File Extension" in your project).
|
ERR_RECIPE_NOT_FOUND
|
UDINT
|
16#4003
|
The recipe does not exist
|
ERR_RECIPE_DEFINITION_NOT_FOUND
|
UDINT
|
16#4004
|
The recipe definition does not exist
|
ERR_RECIPE_ALREADY_EXIST
|
UDINT
|
16#4005
|
The recipe already exists in the recipe definition. Use another name to create a new recipe.
|
ERR_NO_RECIPE_MANAGER_SET
|
UDINT
|
16#4006
|
The global recipe manager is not set.
Possible reasons:
|
ERR_RECIPE_NOT_ALL_VARIABLES_WERE_LOADED
|
UDINT
|
16#4007
|
The recipe definition contains more variables than the recipe file. In this case the variable values from the recipe file are written anyway. This is only an info not an error.
|
ERR_RECIPE_NOMEMORY
|
UDINT
|
16#4008
|
The recipe definition has no free memory to create an new recipe.
Possible reasons:
-
This can happen when the option "save recipe changes to recipe files automatically" is not set in the recipe manager of the current application. In this case only 50 recipes per recipe definition are possible.
-
If the option "save recipe changes to recipe files automatically" is set the error cannot happen. When the disk is full the error ERR_RECIPE_SAVE_ERR is created.
|
ERR_RECIPE_MANAGER_LOCKED_DURING_ONLINE_CHANGE
|
UDINT
|
16#4009
|
The recipe manager was locked during online change.
Possible reasons:
|
ERR_SOURCE_EXHAUSTED
|
UDINT
|
16#40A0
|
Used for UTF8 helper
|
ERR_TARGET_EXHAUSTED
|
UDINT
|
16#40A1
|
Used for UTF8 helper
|
ERR_SOURCE_ILLEGAL
|
UDINT
|
16#40A2
|
Used for UTF8 helper
|