8 OPC UA ObjectTypes ToC Previous Next

8.31 RecipeType Definition ToC Previous Next

8.31.4 Method AddRecipeElement ToC Previous Next

AddRecipeElement is a method to add an additional RecipeElement to the recipe. Table 86 and Table 87 specify the Arguments and AddressSpace representation, respectively.

Signature

AddRecipeElement (
[in] NodeId ElementType
[in] String ElementName
[in] NodeId[] PreviousElements
[out] NodeId ElementNodeId
);

Table 86 – AddRecipeElement Method Arguments

Argument Description
ElementType NodeId of the Object that should be removed
ElementName A user-readable name of the element
PreviousElements The NodeIds of the directly previous Elements. If the element is the start Element use the Recipe node.
ElementNodeId The NodeId of the created RecipeElement

Table 87 – AddRecipeElement Method AddressSpace definition

Attribute Value
BrowseName AddRecipeElement
References NodeClass BrowseName DataType TypeDefinition ModellingRule
0:HasProperty Variable InputArguments Argument[] 0:PropertyType Mandatory
0:HasProperty Variable OutputArguments Argument[] 0:PropertyType Mandatory

Previous Next