11.4.1 VisionEventType

11.4.1.1 Overview

VisionEvents are generated to signal noteworthy events during the operation of the vision system which do not require interaction.

All non-inherited properties are optional and stay optional on the concrete sub-types because these EventTypes 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 event 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 VisionEvents is formally defined in Table 129.

Figure 38 – Overview VisionEventType
Table 129 – VisionEventType Definition
Attribute Value
BrowseNameVisionEventType
IsAbstractTrue
References NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the BaseEventType defined in OPC 10000-5
HasSubtypeObjectTypeVisionDiagnosticInfoEventTypeDefined in 11.4.2
HasSubtypeObjectTypeVisionInformationEventTypeDefined in 11.4.3
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
11.4.1.2 Usage of inherited properties

The following properties are inherited from BaseEventType and shall be used in VisionEventType in the manner described here.

SourceNode

Reference to the source of the Message. This could be a failing method or, in case of an internally triggered message, the state machine object itself.

SourceName

Name of the Message source.

Severity

Severity of the Information within the boundaries defined by Table 128.

Message

A textual description of the error as a string.

11.4.1.3 Usage of additional properties

The following describes the usage of the properties added by VisionEventType with respect to BaseEventType.

CausePath

Path information string based on the E10 scheme described in 11.6 or an application specific expanded derivation of that.

MeasId, PartId, ExternalRecipeId, InternalRecipeId, ProductId, ExternalConfigurationId, InternalConfigurationId, JobId, ResultId

If the information is somehow linked to one of the (vision system) objects referenced by these Ids, these properties can transport this reference.