Programming the OPC UA client blocks
5.3 FB230 UA_Connect
CP 443-1 OPC UA
84 Operating Instructions, 01/2017, C79000-G8976-C427-02
Figure 5-2 Call interface in FBD representation
Parameter - UA_Connect
Block parameters
The following table explains the formal parameters of the program block.
Table 5- 1 Parameters of the block UA_Connect
Execute IN BOOL 0, 1 A rising edge 0 → 1 at the parameter starts
ServerEndpointUrl IN STRING Max. 254 charac-
Address (URL) of the connection partner (serv-
er). Only IPv4 addresses are permitted.
SessionConnectInfo IN UDT See “Meaning” Connection information, see UDT751 UASes-
sionConnectInfo (Page 85).
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)
ConnectionHdl OUT DWORD 1 .. 5 Unique identifier of an established connection
It is required by other blocks as an input pa-
Done OUT BOOL 0, 1 Status parameter for block processing
• 0: Block execution aborted, not yet complet-
ed or not yet started
• 1: Block processing completed without er-
rors
Busy OUT BOOL 0, 1 Status parameter for block processing
• 0: Block not being processed
• 1: Block currently executing