Fb230 Ua_Connect; Function And Call Interface - Ua_Connect - Siemens SIMATIC S7-400 Operating Instructions Manual

Industrial ethernet
Hide thumbs Also See for SIMATIC S7-400:
Table of Contents

Advertisement

The minimum value of SessionTimeout" is 30 seconds. If the value is exceeded, the
connection is terminated.
The parameter allows a server to to reduce bound resources if the client does not use the
session for a longer period of time.
An adequate time, however, ensures that the session is not terminated immediately if, for
example, data cannot be transferred immediately due to network disruptions.
The value of "SessionTimeout" should generally be higher than the values of "Timeout" for
the "UA_Connect" blocks used.
MonitorConnection
With this input parameter the status of a connection without data traffic is checked. When
this connection monitoring time elapses, a frame is sent to check the status of the
connection to the server.
So that when there is no data traffic and the reaction of the connection monitoring time does
not terminate the session immediately using the "SessionTimeout" parameter it is
recommended that you select a value for "MonitorConnection" that is ´lower than half of
"SessionTimeout".
5.3

FB230 UA_Connect

5.3.1

Function and call interface - UA_Connect

Function of the block
With the block you establish a connection from the CP as OPC UA client to a UA server and
open a session.
As the target address, you specify the URL of the UA server at the "ServerEndpointUrl"
parameter.
You store the connection information at the "SessionConnectInfo" parameter in a data block.
For its function, UA_Connect also requires SFC49 and SFC51. Copy the SFCs from the
standard block library to the UA_Connect in the block container of the CPU and supply the
parameters of the SFCs.
CP 443-1 OPC UA
Operating Instructions, 01/2017, C79000-G8976-C427-02
Programming the OPC UA client blocks
5.3 FB230 UA_Connect
83

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp 443-1 opc ua

Table of Contents