Write (FB)ΒΆ

FUNCTION_BLOCK Write EXTENDS CBML.ETrig IMPLEMENTS IWriter, IOPCUAClientDataAccessCallback, IMemoryHandler

This function block writes values to 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 write

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: