6.4 OpticalVerifierDevice

6.4.1 General

This OPC UA ObjectType represents an optical verifier device (1D or 2D codes). It defines additional methods and properties required for managing optical code verifiers or to get additional information on their scan events.

Figure 9 shows an overview for the OpticalVerifierDeviceType with its Methods and related ObjectType. It is formally defined in Table 13.

Figure 9 – OpticalVerifierDeviceType overview

6.4.2 ObjectType definition

The OpticalVerifierDeviceType is formally defined in Table 13.

Table 13 – OpticalVerifierDeviceTypeDefinition
Attribute Value
BrowseNameOpticalVerifierDeviceType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of OpticalReaderDeviceType defined in 6.3.
HasComponentMethodScanOptional
GeneratesEventObjectTypeOpticalVerifierScanEventTypeDefined in 7.5.

The OpticalVerifierDeviceType ObjectType is a concrete type and can be used directly.

6.4.3 ObjectType Description

6.4.3.1 Method Scan

This method starts the scan process of the optical verifier device synchronous and returns the scan results. It overwrites the Scan method of the OpticalReaderDeviceType defined in 0.

Signature

	Scan (
		[in]	ScanSettings				Settings
		[out]	OpticalVerifierScanResult []		Results
		[out]	AutoIdOperationStatusEnumeration	Status
		);
	
Argument Description
SettingsConfiguration settings for the scan execution. The ScanSettings DataType is defined in 9.3.7.
Results Results of the scan execution. The OpticalVerifierScanResult DataType is defined in 9.3.11.
Status

Returns the status of the scan operation.

The AutoIdOperationStatusEnumeration DataType is defined in 9.2.1.

Method Result Codes

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