Reconnecting to PLC OPC UA Server failure|OPC UA Implementation: Stacks, Tools, and Samples|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Reconnecting to PLC OPC UA Server failure
Avatar
Patrick Paulsen
New Member
Members
Forum Posts: 1
Member Since:
11/29/2017
sp_UserOfflineSmall Offline
1
02/01/2018 - 10:11
sp_Permalink sp_Print

Hello,

i got a pretty weird problem with a PLC Connection...

Once my Connection is seup and everything is running i subscribe 6 monitored itemss to one subscription to track valuechanges.

On Top of the "reaction" to each item i got a seperate thread reading and writing to the PLC. 

When a new program Version is send to the PLC my connection drops ( whih is expected i supose ?)

From time to time my Connection is not able to reconnect and stops the network adapter doesnt even try to connect anymore (checked with wireshark). 

This happens in 1 out of 10 trys. When i restart my client everything reconnects and works again.

The last error in the trace is ""Opc.Ua.ServiceResultException" but i got no idea why it ssometimes works and sometimes doesent. anyone ideas ?

Iam currently not 100% certain that its a cclient side problem but since i cant influence the opc server  (SIEMENS Built in OP UA) i want to make sure that there is no way to get this working consistenly before telling my customer to restart the client in case of server crashes :/

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 25
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1341
Posts: 4546