6.11.4 Additional Objects of the DefectDetectionSensorType

The following Objects are defined to extend the DeviceType.

6.11.4.1 Variable Description

The Property Description describes the defect detected and detection sensor.

6.11.4.2 Variable DetectionCountTotal

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

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

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

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

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

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.

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.

6.11.4.9 Method ResetDetectionCountTotal

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.

6.11.4.10 Method SetDetectionMode

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.