11.4.4 VisionConditionType

11.4.4.1 Overview

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
BrowseNameVisionConditionType
IsAbstractTrue
References NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the AcknowledgeableConditionType defined in OPC 10000-9
HasSubtypeObjectType VisionWarningConditionType Defined in 11.4.5
HasSubtypeObjectType VisionErrorConditionType Defined in 11.4.6
HasSubtypeObjectType VisionPersistentErrorConditionType Defined in 11.4.7
HasPropertyVariableCausePathStringPropertyTypeOptional
HasPropertyVariableMeasId MeasIdDataType PropertyTypeOptional
HasPropertyVariablePartId PartIdDataType PropertyTypeOptional
HasPropertyVariableExternalRecipeId RecipeIdExternalDataType PropertyTypeOptional
HasPropertyVariableInternalRecipeId RecipeIdInternalDataType PropertyTypeOptional
HasPropertyVariableProductId ProductIdDataType PropertyTypeOptional
HasPropertyVariableExternalConfigurationId ConfigurationIdDataType PropertyTypeOptional
HasPropertyVariableInternalConfigurationId ConfigurationIdDataType PropertyTypeOptional
HasPropertyVariableJobId JobIdDataType PropertyTypeOptional
HasPropertyVariableResultId ResultIdDataType PropertyTypeOptional
HasPropertyVariableErrorCodeUInt64PropertyTypeOptional
HasPropertyVariableErrorStringStringPropertyTypeOptional
HasPropertyVariableStopReactionBooleanPropertyTypeMandatory
HasPropertyVariableBlockReactionBooleanPropertyTypeMandatory
11.4.4.2 Usage of properties in common with VisionEventType

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..

11.4.4.3 Usage of additional properties

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.