7.31 RecipeType Definition

7.31.1 Overview

The RecipeType defines the structure of an Object of the RecipeType. Figure 42 shows the hierarchical structure and details of the composition. It is formally defined in Table 90.

An Object of the RecipeType represents a recipe. It defines additional methods and properties required for managing a recipe. The description and the structure of the recipe can be found in Annex B.

Figure 42 - Overview RecipeType

7.31.2 ObjectType Definition

Table 90 - RecipeType Definition
Attribute Value
BrowseNameRecipeType
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the BaseObjectType defined in OPC 10000-5
0:HasComponentObject RecipeElementsFolderTypeOptional
0:HasPropertyVariableRecipeId0:String0:PropertyTypeMandatory
0:HasPropertyVariableRecipeName0:LocalizedText0:PropertyTypeMandatory
0:HasComponentMethodAddRecipeElementOptional
0:HasComponentMethodRemoveRecipeElementOptional
0:HasComponentObjectRecipeFile0:FileTypeOptional
Conformance Units
Scales RecipeManagement
Scales FileRecipeManagement

7.31.3 ObjectType Description

RecipeElements defines a folder for all RecipeElements that are part of the recipe.

RecipeId defines a unique identifier of a recipe.

RecipeName defines a user-readable name of the recipe.

RecipeFile is a file that contains the recipe in a vendor-specific format. If a client uploads the file, the recipe elements can be also part of the AddressSpace. But the Method AddRecipeElement and RemoveRecipeElement should not be used. So a recipe uploaded via file transfer cannot be modified via AddRecipeElement or RemoveRecipeElement. This avoids that there is another version of the recipe in the file and the server.

7.31.4 Method AddRecipeElement

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

Signature

	AddRecipeElement(
	[in]	NodeId	ElementType
	[in]	String	ElementName
	[in]	NodeId[]	PreviousElements
	[out]	NodeId	ElementNodeId
	);
Table 91 - AddRecipeElement Method Arguments
Argument Description
ElementTypeNodeId of the Object that should be added
ElementNameA user-readable name of the element
PreviousElementsThe NodeIds of the directly previous Elements. If the element is the start Element use the Recipe node.
ElementNodeIdThe NodeId of the created RecipeElement
Table 92 - AddRecipeElement Method AddressSpace definition
Attribute Value
BrowseNameAddRecipeElement
References NodeClass BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariableInputArgumentsArgument[] 0:PropertyTypeMandatory
0:HasPropertyVariableOutputArgumentsArgument[] 0:PropertyTypeMandatory

7.31.5 Method RemoveRecipeElement

Method to remove a RecipeElement in this recipe with all related references. Table 93 and Table 94 specify the Arguments and AddressSpace representation, respectively.

Signature

	RemoveRecipeElement(
	[in]	NodeId	RecipeElementNodeId
	);
Table 93 - RemoveRecipeElement Method Arguments
Argument Description
RecipeElementNodeIdNodeId of the Object that should be removed
Table 94 - RemoveRecipeElement Method AddressSpace definition
Attribute Value
BrowseNameRemoveRecipeElement
References NodeClass BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariableInputArgumentsArgument[] 0:PropertyTypeMandatory