This ObjectType defines the metadata for a recipe and methods for handling individual recipes.

image021.png

Figure 14 – Overview RecipeType

Table 54 – Definition of RecipeType

Attribute

Value

BrowseName

RecipeType

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

Subtype of the BaseObjectType defined in OPC 10000-5

HasProperty

Variable

ExternalId

RecipeIdExternalDataType

PropertyType

Optional

HasProperty

Variable

InternalId

RecipeIdInternalDataType

PropertyType

Mandatory

HasProperty

Variable

IsPrepared

Boolean

PropertyType

Mandatory

HasProperty

Variable

LastModified

UtcTime

PropertyType

Mandatory

HasProperty

Variable

LinkedProducts

ProductIdDataType[]

PropertyType

Optional

HasComponent

Object

Handle

--

FileType

Optional

HasComponent

Method

LinkProduct

--

--

Optional

HasComponent

Method

UnlinkProduct

--

--

Optional

HasComponent

Method

Prepare

--

--

Mandatory

HasComponent

Method

Unprepare

--

--

Mandatory

ExternalId

RecipeId for identifying the recipe outside the vision system. The ExternalId is only managed by the environment.

InternalId

System-wide unique ID for identifying a recipe. This ID is assigned by the vision system.

LastModified

The time, when this recipe was last modified in the recipe store of the vision system. It is assumed that this value is consistent between recipes on the system so that it can be used to order recipes on the system by modification time. As it is possible that the vision system may not be synchronized with a time server, this value may not be valid for comparisons between systems.

LinkedProducts

Array of ProductIds which this recipe is linked to. May be empty.

Handle

FileType object for handling transfer of recipe data between client and server. The data is treated as a binary blob by the server. This method is optional for clients not supporting transfer of the actual recipe contents.