Closed djonasdev closed 3 years ago
I found the same issue when connecting to a S7-1215C with latest firmware 4.5.0.
I was able to fix it by specifying a much longer TimeoutHint.
var channel = new UaTcpSessionChannel(
appDescription,
certificateStore,
new AnonymousIdentity(),
discoveryUrl,
options: new UaTcpSessionChannelOptions { TimeoutHint = 30000 });
The time to connect with secure channel is longer in this firmware.
Another way to go is to turn off encryption.
var channel = new UaTcpSessionChannel(
appDescription,
certificateStore,
new AnonymousIdentity(),
discoveryUrl,
securityPolicyUri: SecurityPolicyUris.None);
Then the connection time is immediate.
The connection establishment fails after a short time with a channel
faulted event
:A connection is still possible with the previous firmware version v4.4.1.
Can someone reproduce this phenomenon? I tested it with two different 1212C.
With the
dataFEED OPC UA Demo Client
I'm able to connect and browse the CPU (https://industrial.softing.com/de/produkte/opc-ua-und-opc-classic-sdks/opc-ua-demo-client.html).