01/07/2022
Hi,
I have developed OPC UA SERVER application using CSharp(C#) language.
The requirement is OPC UA Server shall support reverse connection. Sever send a request to client.
My questions is --
When no TCP communication channel is currently opened with OPC UA client, then OPC UA server shall periodically send a ReverseHello message to OPC UA client. How to handle this one?
I have configured below details in configuration file for reverse connect.
<ServerConfiguration>
<ReverseConnect>
<Clients>
<ReverseConnectClient>
<EndpointUrl>opc.tcp://localhost:65300</EndpointUrl>
<MaxSessionCount>2</MaxSessionCount>
<Enabled>true</Enabled>
</ReverseConnectClient>
</Clients>
<ConnectInterval>15000</ConnectInterval>
<ConnectTimeout>30000</ConnectTimeout>
<RejectTimeout>60000</RejectTimeout>
</ReverseConnect>
</ServerConfiguration>
01/07/2022
How to configure, server periodically send a ReverseHello message to OPC UA client?
I have used below config
<ServerConfiguration>
<ReverseConnect>
<Clients>
<ReverseConnectClient>
<EndpointUrl>opc.tcp://localhost:65300</EndpointUrl>
<MaxSessionCount>2</MaxSessionCount>
<Enabled>true</Enabled>
</ReverseConnectClient>
</Clients>
<ConnectInterval>15000</ConnectInterval>
<ConnectTimeout>30000</ConnectTimeout>
<RejectTimeout>60000</RejectTimeout>
</ReverseConnect>
</ServerConfiguration>
1 Guest(s)