EndpointReceiver (FB)

FUNCTION_BLOCK EndpointReceiver EXTENDS CBML.ETrig IMPLEMENTS IOPCUAClientDiscoveryCallback

InOut:

Scope

Name

Type

Comment

Inherited from

Input

xExecute

BOOL

Rising edge: Starts defined operation
FALSE: Resets the defined operation after ready condition was reached

ETrig

Output

xDone

BOOL

TRUE: Ready condition reached

ETrig

xBusy

BOOL

TRUE: Operation is running

ETrig

xError

BOOL

TRUE: Error condition reached

ETrig

Input

hClient

RTS_IEC_HANDLE

EndpointUrl

OpcUa_String

ConnectionSetup

REFERENCE TO ConnectionSetup

DestUserTokenPolicy

REFERENCE TO OpcUa_UserTokenPolicy

DestServerCertificate

REFERENCE TO OpcUa_ByteString

Output

eErrorID

ERROR