The Method GetRecipe is used to get the recipe content for a given RecipeId. The RecipeId has to match the system-wide unique Id property of the RecipeIdDataType associated with the recipe on the TTD. The output parameter Recipe is used to return the recipe.
The signature of this Method is specified below. Table 23 and Table 24 specify the Arguments and AddressSpace representation, respectively.
Signature
GetRecipe (
[in]0:StringRecipeId,
[out]RecipeDataTypeRecipe)
Table 23 – GetRecipe Method Arguments
Argument |
Description |
RecipeId |
The id of the recipe that is to be retrieved. |
Recipe |
The recipe. |
Method Result Codes (defined in Call Service)
Result Code |
Description |
Bad_NotFound |
See OPC 10000-4 for a general description. Returned when there is no Recipe with the given RecipeId. |
Table 24 – GetRecipe Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
GetRecipe |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |
0:HasProperty |
Variable |
0:OutputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |