8.14 DefectReasonType ObjectType

8.14.1 Overview

The DefectReasonType describes a defect reason that is monitored by a SensorFunction. The DefectReasonType is formally defined in the following table.

Table 62 – DefectReasonType Definition
Attribute Value
BrowseNameDefectReasonType
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:HasPropertyVariableDetectionMode0:Boolean0:PropertyTypeM, RW
0:HasComponentVariableDetectionCountMasterTotal0:UInt640:BaseDataVariableTypeM, RO
0:HasComponentVariableDetectionCountTotal0:UInt640:BaseDataVariableTypeM, RO, HR
0:HasComponentObjectUIInfoUIInformationTypeO
0:HasComponentMethodSetDetectionModeSee below.O
0:GeneratesEventObjectTypeDetectionModeChangeLogType
0:GeneratesEventObjectTypeDefectDetectedLogType
Conformance Units
TMC Quality Assurance and Control
BrowseName Description
DetectionModeWhen DetectionMode is True, the defect reason is triggered. When DetectionMode is False, the defect reason is not active, i.e. never triggered.
DetectionCountMasterTotalThe total number of times the defect reason occurred. The total is never reset to zero.
DetectionCountTotalThe total number of times a defect reason occurred. The total is reset to zero only when the ResetProductionTotals method in the MachineModuleProductionType is executed successfully.
UIInfoThe visualization resources to display the DefectReasonType on the User Interface.

8.14.2 SetDetectionMode

The Method SetDetectionMode enables or disables the defect detection sensor.

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

Signature

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