Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
Server state changed unexpectedly
August 5, 2016
14:37, EEST
Avatar
Izak
Member
Members
Forum Posts: 3
Member Since:
August 5, 2016
sp_UserOfflineSmall Offline

Hello,
We are using Prosys and as OPC server Kepware is used. Quite frequently, at some occassions every hour we get a notification that the “server state” has been changed.
Example:
2016-08-03 05:04:16.635 WARN Server state changed unexpectedly from “Running” to “CommunicationFault” in connection state “CONNECTED”.
2016-08-03 05:04:17.802 WARN Server state changed unexpectedly from “CommunicationFault” to “Running” in connection state “CONNECTED”.
Normally it switches from Running -> CommunicationFault -> Running again within some second.
We have been trying to see why this happens from the OPC server log file but cannot connect any events there that can explain the “server state change” that Prosys is refering to.
Do you have some ideas what can trigger this server state change?

BR Andreas

August 5, 2016
15:40, EEST
Avatar
Heikki Tahvanainen
Member
Members
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

Hi,

The server state monitoring in the SDK is done by reading value attribute from the ServerStatus node. The ServerStatus node is a standard node which can be found by browsing Objects->Server->ServerStatus (NodeId i=2256).

As a first step, you can try setting different values to status check interval and status check timeout.

By default, the SDK does the server status checking once every second. The interval can be changed with UaClient.setStatusCheckInterval method.

The default timeout for these status checks is 10 seconds which should be long enough for all normal situations. The statusCheckTimeout can be changed with method UaClient.setStatusCheckTimeout.

Hopefully this helps to solve your issue. If not, let us know.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 40
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 734
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6521
Newest Members:
wilfredoforeman, ptdenriqueta, basilpullman, Richardmip, mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1047, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1