This method is used to revert the preparation of a product so that it can no longer be used for starting a job on the vision system.
Signature
UnprepareProduct ([in]ProductIdDataTypeproductId[out]RecipeIdInternalDataTypeinternalId[out]Int32error);
Table 45 – UnprepareProduct Method Arguments
Argument |
Description |
productId |
Identification of a product, which is to be unprepared. |
internalId |
Internal identification of the recipe which is actually unprepared. |
error |
0 – OK Values > 0 are reserved for errors defined by this and future standards. Values < 0 shall be used for application-specific errors. |
Table 46 – UnprepareProduct Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
UnprepareProduct |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
HasProperty |
Variable |
InputArguments |
Argument[] |
PropertyType |
Mandatory |
HasProperty |
Variable |
OutputArguments |
Argument[] |
PropertyType |
Mandatory |
It is expected that the vision system will select a recipe based on the ProductId in the same way as in method PrepareProduct and then unprepare that recipe so that UnprepareProduct is exactly reciprocal to PrepareProduct.
Therefore, state handling is identical to UnprepareRecipe method.