6 OPC UA ObjectTypes ToC Previous Next

6.11 DefectDetectionSensorType ToC Previous Next

6.11.4 Additional Objects of the DefectDetectionSensorType ToC Previous Next

The following Objects are defined to extend the DeviceType.

6.11.4.1 Variable Description ToC

The Property Description describes the defect detected and detection sensor.

6.11.4.2 Variable DetectionCountTotal ToC

The DetectionCountTotal Variable counts how many times a defect was detected by the sensor while the DetectionMode is true. Increments at every detection, never reset to zero.

The Value of the Variable DetectionCountTotal shall be persisted both in the OPC UA Server and in the underlying system so that if one fails and/or is replaced, the other will allow restoring the Value when the OPC UA Server and underlying system are on separate hardware infrastructure.

6.11.4.3 Variable DetectionCountMasterTotal ToC

The DetectionCountMasterTotal Variable counts how many times a defect was detected by the sensor while the DetectionMode is true. The Value of theVariable DetectionCountMasterTotal is never reset.

The Value of the Variable DetectionCountMasterTotal shall be persisted both in the OPC UA Server and in the underlying system so that if one fails and/or is replaced, the other will allow restoring the Value when the OPC UA Server and underlying system are on separate hardware infrastructure.

6.11.4.4 Variable DetectionMode ToC

The DetectionMode Variable indicates if the defection sensor is active (when the value is True) or not active (when the value is false).

6.11.4.5 Variable DisplayName ToC

The DisplayName Variable represents an identification to be used for the defect detection sensor in displays and HMI faceplates.

6.11.4.6 Variable SensorValue ToC

The Variable SensorValue is the value of the quantity sensed by the sensor.

A defect detection sensor device may measure multiple physical properties, e.g. net tobacco weight, moisture, foreign matters etc.. Each property measured shall be modelled as a separate SensorValue Variable, which is to this purpose a Mandatory Placeholder Variable.

The type of the Variable SensorValue is AnalogItemType and is defined in OPC 10000-8. Thus SensorValue inherits the Definition Property that shall be used to define the physical property measured. The Definition Property is used to identify the semantics of the measurement, e.g “Measurement of the cigarette diameter” or “Measurement of the cigarette circumference”.

6.11.4.7 Object UIInfo ToC

The Object UIInfo contains information about the User Interface (UI) of the defect sensor. When an Object does not have own UIInfo, then the Object does not require visualisation.

6.11.4.8 Method LoadReferenceImages ToC

The Method LoadReferenceImages loads to the underlying system images to be used as references for visual defect detection.

Signature

LoadReferenceImages (
[in]		Image[]				Images
[out]		MethodExecutionFeedbackType	ExecutionFeedback
);

Argument Description
Images The list of images to be used as references for an image detection system.
ExecutionFeedback The extended feedback returning a detailed message in case of execution failure.

Method Result Codes

ResultCode Description
BadNodeIdUnknown See table 173 in OPC 10000-4 for the description of these result codes.
BadTypeMismatch  
BadOutOfRange  
BadNotWritable  
BadNotFound  

6.11.4.9 Method ResetDetectionCountTotal ToC

The Method ResetDetectionCountTotal resets to zero the DetectionCountTotal.

Signature

ResetDetectionCountTotal (
[out]	MethodExecutionFeedbackType		ExecutionFeedback
);

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

Method Result Codes

ResultCode Description
BadNodeIdUnknown See table 173 in OPC 10000-4 for the description of these result codes.
BadTypeMismatch  
BadOutOfRange  
BadNotWritable  
BadNotFound  

6.11.4.10 Method SetDetectionMode ToC

The Method SetDetectionMode enables or disables the defect detection sensor.

Signature

GetPage (
[in]	Boolean				Enable
[out]	MethodExecutionFeedbackType	ExecutionFeedback
);

Argument Description
Enable Specifies if the method enables or disables the defect detection sensor
ExecutionFeedback The extended feedback returning a detailed message in case of execution failure.

Method Result Codes

ResultCode Description
BadNodeIdUnknown See table 173 in OPC 10000-4 for the description of these result codes.
BadTypeMismatch  
BadOutOfRange  
BadNotWritable  
BadNotFound  

Previous Next