FB-Name

UA_NamespaceGetIndex

This Function Block is used to get the namespace-index of a namespace-URI

VAR_INPUT

B

Execute

BOOL

FB performs its task on rising edge on this input.

B

ConnectionHdl

DWORD

Connection handle.

B

NamespaceUri

STRING

Namespace URI.

B

Timeout

TIME

Maximum time to response.

VAR_OUTPUT

B

NamespaceIndex

UINT

Namespace Index.

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_NamespaceGetIndexList

UA_NamespaceGetIndex

BOOL

Execute

NamespaceIndex

UINT

DWORD

ConnectionHdl

Done

BOOL

STRING

NamespaceUri

Busy

BOOL

TIME

Timeout

Error

BOOL

ErrorID

DWORD