The following Objects are defined to extend the DeviceType.

The Property Description describes the defect detected and detection sensor.

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.

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.

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

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

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”.

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] MethodExecutionFeedbackTypeExecutionFeedback

);

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

The Method ResetDetectionCountTotal resets to zero the DetectionCountTotal.

Signature

ResetDetectionCountTotal (

[out]MethodExecutionFeedbackType ExecutionFeedback

);

ResultCode

Description

BadNodeIdUnknown

See table 173 in OPC 10000-4 for the description of these result codes.

BadTypeMismatch

BadOutOfRange

BadNotWritable

BadNotFound

Argument

Description

ExecutionFeedback

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

Method Result Codes

The Method SetDetectionMode enables or disables the defect detection sensor.

Signature

GetPage (

[in]Boolean Enable

[out]MethodExecutionFeedbackTypeExecutionFeedback

);

ResultCode

Description

BadNodeIdUnknown

See table 173 in OPC 10000-4 for the description of these result codes.

BadTypeMismatch

BadOutOfRange

BadNotWritable

BadNotFound

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

Please report errors or issues with the site to webmaster.

Copyright © 2024 - OPC Foundation

ResultCode

Description

BadNodeIdUnknown

See table 173 in OPC 10000-4 for the description of these result codes.

BadTypeMismatch

BadOutOfRange

BadNotWritable

BadNotFound