The DefectDetectionSensorType represents a sensor or sensing system fitted to the machine module that detects product defects or a quality sampling point that can be triggered by an operator.

The DefectDetectionSensorType is formally defined in the following table.

Table 56 – DefectDetectionSensorType Definition

Attribute

Value

BrowseName

DefectDetectionSensorType

IsAbstract

False

References

Node Class

BrowseName

DataType

TypeDefinition

Other

Subtype of the TMCDeviceType, i.e. inheriting the Instance Declarations of that Node.

0:HasComponent

Object

<SensorFunction>

SensorFunctionType

MP

0:HasComponent

Object

Data

0:FolderType

O

0:HasComponent

Variable

DetectionCountMasterTotal

0:UInt64

0:BaseDataVariableType

M, RO

0:HasComponent

Variable

DetectionCountTotal

0:UInt64

0:BaseDataVariableType

M, RO, HR

0:HasProperty

Variable

DetectionMode

0:Boolean

0:PropertyType

M, RW

0:HasComponent

Method

SetDetectionMode

See below.

O

0:GeneratesEvent

ObjectType

DetectionModeChangeLogType

Conformance Units

TMC Quality Assurance and Control

The components of the DefectDetectionSensorType are further described below.

BrowseName

Description

SensorFunction

The sensor functions that the defect detection sensor or system is measuring.

DetectionCountMasterTotal

The total number of times a detection occurred. The total is never reset to zero.

DetectionCountTotal

The total number of times a detection occurred. The total is reset to zero only when the ResetProductionTotals method in the MachineModuleProductionType is executed successfully.

DetectionMode

When DetectionMode is True, the defect detection sensor or system detects defects and the inner sensor functions are enabled, meaning they can be active or not. When DetectionMode is False, the inner sensor functions are also not active.

The components of the DefectDetectionSensorType have additional subcomponents which are defined in the following table.

Table 57 – DefectDetectionSensorType Additional Subcomponents

BrowsePath

References

NodeClass

BrowseName

DataType

TypeDefinition

Others

Data

0:HasComponent

Variable

<DataItem>

0:BaseDataType

0:BaseDataVariableType

OP, RO

The Method SetDetectionMode enables or disables the defect detection sensor.

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

Signature

SetDetectionMode (

[in] 0:Boolean Enable,

[out] MethodExecutionFeedbackType ExecutionFeedback);

Table 58 – SetDetectionMode Method Arguments

Argument

Description

Enable

Specifies if the method enables, when True, or disables, when False, the defect detection sensor.

ExecutionFeedback

The extended feedback returning a detailed message in case of execution failure.

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