6 OPC UA ObjectTypes ToC Previous Next

6.3 OpticalReaderDeviceType ToC Previous Next

6.3.3 ObjectType Description ToC Previous Next

6.3.3.1 Object Images ToC

For quality and testing purposes, the actual image taken by the optical reader can be accessed with this object. E.g. the picture might be checked by engineers if the optical decoding does not deliver the expected results.

The Images Object is formally defined in Table 12.

Table 12 – Images definition

Attribute Value
BrowseName Images
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasTypeDefinition ObjectType FolderType      
Organizes Object <ImageName>   FileType OptionalPlaceholder

The list of FileType Objects contains the images taken by the optical reader.

The MIME type of an image is provided through the MimeType Property of the FileType.

6.3.3.2 Method Scan ToC

This method starts the scan process of the optical reader device synchronous and returns the scan results. It overwrites the Scan method of the AutoIdDeviceType defined in 6.1.3.3.

Signature

Scan (
[in]	ScanSettings				Settings
[out]	OpticalScanResult []			Results
[out]	AutoIdOperationStatusEnumeration	Status
);

Argument Description
Settings Configuration settings for the scan execution. The ScanSettings DataType is defined in 9.3.7.
Results Results of the scan execution. The OpticalScanResult DataType is defined in 9.3.10.
Status Returns the status of the scan operation.
The AutoIdOperationStatusEnumeration DataType is defined in 9.2.1.

Method Result Codes

ResultCode Description
Bad_InvalidState There is already a scan active
Bad_InvalidArgument The scan setting contained an invalid value like infinite duration.
  Other OPC UA status codes defined for the Call Service in OPC 10000-4.

Previous Next