FB-Name

UA_ServerGetUriByIndex

This Function Block is used to get the server-URI with a given index.

VAR_INPUT

B

Execute

BOOL

FB performs its task on rising edge on this input.

B

ConnectionHdl

DWORD

Connection handle.

B

ServerIndex

UDINT

ServerArray Index.

B

Timeout

TIME

Maximum time to response.

VAR_OUTPUT

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.

B

ServerUri

Vendor specific

Shall be STRING or WSTRING. The recommendation for new implementation is to use WSTRING.

The URI from the ServerArray with the given ServerIndex.

Notes: -

UA_ServerGetUriByIndex

BOOL

Execute

Done

BOOL

DWORD

ConnectionHdl

Busy

BOOL

UDINT

ServerIndex

Error

BOOL

TIME

Timeout

ErrorID

DWORD

ServerUri

Vendor specific