7.7.1 Overview

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

Figure 14 – Overview RecipeType
Table 54 – Definition of RecipeType
Attribute Value
BrowseNameRecipeType
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the BaseObjectType defined in OPC 10000-5
HasPropertyVariableExternalId RecipeIdExternalDataType PropertyTypeOptional
HasPropertyVariableInternalId RecipeIdInternalDataType PropertyTypeMandatory
HasPropertyVariableIsPreparedBooleanPropertyTypeMandatory
HasPropertyVariableLastModifiedUtcTimePropertyTypeMandatory
HasPropertyVariableLinkedProducts ProductIdDataType[]PropertyTypeOptional
HasComponentObjectHandle--FileTypeOptional
HasComponentMethodLinkProduct----Optional
HasComponentMethodUnlinkProduct----Optional
HasComponentMethodPrepare----Mandatory
HasComponentMethodUnprepare----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.