8.13 SensorFunctionType ObjectType

8.13.1 Overview

The SensorFunctionType describes a single measuring function or quality sampling function and is formally defined in the following table.

Table 59 – SensorFunctionType Definition
Attribute Value
BrowseNameSensorFunctionType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType defined in OPC 10000-5 - Part 5: Information Model, i.e. inheriting the Instance Declarations of that Node.
0:HasComponentObject<DefectReason>DefectReasonTypeOP
0:HasPropertyVariableDetectionMode0:Boolean0:PropertyTypeM, RW
0:HasComponentMethodLoadReferenceFeaturesSee below.O
0:HasComponentVariableSensorValue0:Number0:AnalogUnitTypeO, RO
0:HasComponentMethodSetDetectionModeSee below.O
0:HasComponentObjectUIInfoUIInformationTypeO
0:GeneratesEventObjectTypeDetectionModeChangeLogType
Conformance Units
TMC Quality Assurance and Control
BrowseName Description
<DefectReason>The defect reasons triggered by the sensor function.
DetectionModeWhen DetectionMode is True, the sensor function measures the sensor value and the inner defect reasons are enabled, meaning they can be active or not. When DetectionMode is False, the inner defect reasons are also not active.
SensorValueThe value measured for the sensor function.
UIInfoThe visualization resources to display the SensorFunctionType on the User Interface.

8.13.2 LoadReferenceFeatures Method

The Method LoadReferenceFeatures loads binary profiles to be used as references for defect detection.

The signature of this Method is specified below. Table 60 specifies the Arguments representation.

Signature

	LoadReferenceFeatures (
	  [in]  0:ByteString[]     				Features,
	  [out] MethodExecutionFeedbackType		ExecutionFeedback);
Table 60 – LoadReferenceFeatures Method Arguments
Argument Description
FeaturesThe list of binary profiles used as references for a detection system.
ExecutionFeedbackThe extended feedback returning a detailed message in case of execution failure.

8.13.3 SetDetectionMode

The Method SetDetectionMode enables or disables the defect detection sensor.

The signature of this Method is specified below. Table 61 specifies the Arguments representation.

Signature

	SetDetectionMode (
	  [in]  0:Boolean     					Enable,
	  [out] MethodExecutionFeedbackType		ExecutionFeedback);
Table 61 – SetDetectionMode Method Arguments
Argument Description
EnableSpecifies if the method enables, when True, or disables, when False, the sensor function.
ExecutionFeedbackThe extended feedback returning a detailed message in case of execution failure.

The Method SetDetectionMode sets the DetectionMode of the sensor function and of its components, i.e. the defect reasons.