VisionConditions are generated to signal important events during the operation of the vision system which require interaction, i.e. conditions.
All non-inherited properties are optional and stay optional on the concrete sub-types because these ConditionTypes will be used under very different operational circumstances in the vision system; it is therefore not possible to specify that, e.g. a jobId shall be mandatory, since an error condition may be triggered during the preparation of a recipe, when no job is running.
However, the intention is for the server to provide as much information to the client as possible, i.e. fill as many properties as possible.
The EventType for VisionConditions is formally defined in Table 132.
Figure 41 – Overview VisionConditionType
Table 132 – VisionConditionType
Attribute |
Value |
|||||
BrowseName |
VisionConditionType |
|||||
IsAbstract |
True |
|||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
|
Subtype of the AcknowledgeableConditionType defined in OPC 10000-9 |
||||||
HasSubtype |
ObjectType |
VisionWarningConditionType |
Defined in 11.4.5 |
|||
HasSubtype |
ObjectType |
VisionErrorConditionType |
Defined in 11.4.6 |
|||
HasSubtype |
ObjectType |
VisionPersistentErrorConditionType |
Defined in 11.4.7 |
|||
|
|
|
|
|
|
|
HasProperty |
Variable |
CausePath |
String |
PropertyType |
Optional |
|
HasProperty |
Variable |
MeasId |
MeasIdDataType |
PropertyType |
Optional |
|
HasProperty |
Variable |
PartId |
PartIdDataType |
PropertyType |
Optional |
|
HasProperty |
Variable |
ExternalRecipeId |
RecipeIdExternalDataType |
PropertyType |
Optional |
|
HasProperty |
Variable |
InternalRecipeId |
RecipeIdInternalDataType |
PropertyType |
Optional |
|
HasProperty |
Variable |
ProductId |
ProductIdDataType |
PropertyType |
Optional |
|
HasProperty |
Variable |
ExternalConfigurationId |
ConfigurationIdDataType |
PropertyType |
Optional |
|
HasProperty |
Variable |
InternalConfigurationId |
ConfigurationIdDataType |
PropertyType |
Optional |
|
HasProperty |
Variable |
JobId |
JobIdDataType |
PropertyType |
Optional |
|
HasProperty |
Variable |
ResultId |
ResultIdDataType |
PropertyType |
Optional |
|
HasProperty |
Variable |
ErrorCode |
UInt64 |
PropertyType |
Optional |
|
HasProperty |
Variable |
ErrorString |
String |
PropertyType |
Optional |
|
HasProperty |
Variable |
StopReaction |
Boolean |
PropertyType |
Mandatory |
|
HasProperty |
Variable |
BlockReaction |
Boolean |
PropertyType |
Mandatory |