Function Description
The function block UA_NamespaceGetIndexList is used to get the namespace indexes of numerous namespace URIs from the server.
This block reads the OPCUA variable Namespace from the server. Then, it searches namespace URI strings given in input in Namespace Array and returns their indexes.
Representation in FBD

Parameter Description
Name |
Type |
Comment |
---|---|---|
EXECUTE |
BOOL |
FB performs its task on rising edge on this input. |
CONNECTIONHDL |
DWORD |
Connection handle. |
NAMESPACEURISCOUNT |
UINT |
Number of NamespaceURIs in Array of NamespaceURIs. |
NAMESPACEURIS |
ASNamespaceURIs |
Array of STRING with the NamespaceURIs. |
TIMEOUT |
TIME |
Maximum time of response. |
Name |
Type |
Comment |
DONE |
BOOL |
FB has successfully completed its task. |
BUSY |
BOOL |
The FB is not finished and new output values are to be expected. |
ERROR |
BOOL |
Signals that an error has occurred within the FB. |
ERRORID |
DWORD |
|
ERRORIDS |
ADWErrorIDs |
Error codes. |
NAMESPACEINDEXES |
AUINamespaceIndexes |
Namespace indexes. |
Runtime Error
Refer to the Appendix for a list of OPC UA detected error codes.