FB-Name

UA_MethodGetHandle

This Function Block is used to get the method handle for a method call.

VAR_INPUT

B

Execute

BOOL

FB performs its task on rising edge on this input.

B

ConnectionHdl

DWORD

Connection handle.

B

ObjectNodeID

STRUCT

See UANodeID

B

MethodNodeID

STRUCT

See UANodeID

B

Timeout

TIME

Time to response.

VAR_OUTPUT

B

MethodHdl

DWORD

Method handle.

B

Done

BOOL

FB has completed its task.

B

Busy

BOOL

The FB is not finished and new output values are to be expected.

B

Error

BOOL

Signals that an error has occurred within the FB.

B

ErrorID

DWORD

Error code.

Notes: This FB is deprecated and just for backward compatibility – better use UA_MethodGetHandleList

UA_MethodGetHandle

BOOL

Execute

MethodHdl

DWORD

DWORD

ConnectionHdl

Done

BOOL

STRUCT

ObjectNodeID

Busy

BOOL

STRUCT

MethodNodeID

Error

BOOL

TIME

Timeout

ErrorID

DWORD