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 |
The properties which VisionConditionType has in common with VisionEventType have the same semantics and usage as described in Sections 11.4.1.2 and 11.4.1.3..
The following describes the usage of the properties added by VisionConditionType with respect to AcknowledgeableConditionType.
ErrorString
A system specific string classifying the error / warning.
ErrorCode
A system specific numeric code classifying the error / warning.
StopReaction
If the system did stop normal operation because of this error (state machine did transit to error state) this property shall be set to true.
BlockReaction
If the system did stop normal operation and user interaction is needed because of this error this property shall be set to true.