Programming the OPC UA client blocks
5.4 FB231 UA_NamespaceGetIndex
CP 443-1 OPC UA
88 Operating Instructions, 01/2017, C79000-G8976-C427-02
Figure 5-3 Call interface in FBD representation
Parameter - UA_NamespaceGetIndex
Block parameters
The following table explains the formal parameters of the program block.
Table 5- 4 Parameters of the block UA_NamespaceGetIndex
Execute IN BOOL 0, 1 A rising edge 0 → 1 at the parameter starts
processing of the block. As long as Execute =
1, the other input parameters cannot be
Connection identifier supplied by UA_Connect
NamespaceUri IN STRING Max. 254 charac-
ters
Specifies the address (name space URI) of the
target server
Example of the name space of the CPU sym-
bols in the S7-400 with CP 443-1 OPC UA:
http://www.siemens.com/simatic-classic-s7-
Timeout IN TIME 5000 .. 120000 Maximum time for establishing the connection
in milliseconds. If the value is exceeded, pro-
cessing of the block is aborted with error num-
ber B0007001.
If a value is entered outside the permitted
range, the default value of 60000 (60 seconds)
NamespaceIndex OUT WORD 0 .. 65535 Output of the name space index of the name
space specified by the "NamespaceUri" param-
eter.
The namespace indexes 0 and 1 are reserved
and specified by the OPC Foundation.