Read (FB)ΒΆ

FUNCTION_BLOCK Read EXTENDS CBML.ETrig IMPLEMENTS IReader, IOPCUAClientDataAccessCallback, IMemoryHandler

This function block reads values from the OPC UA server.

InOut:

Scope

Name

Type

Comment

Inherited from

Input

xExecute

BOOL

ETrig

Output

xDone

BOOL

ETrig

xBusy

BOOL

ETrig

xError

BOOL

ETrig

Input

itfValueSet

IValueSet

The values to read

itfConnection

IConnection

The connection of the UA.Client

Output

eErrorID

ERROR

The error code of the request

xValueSetDiagnosis

BOOL

TRUE: At least one value in the ValueSet has diagnostic information - Check all UA.Value.eError
FALSE: All values in the ValueSet report NO_ERROR

Methods:

Structure: