Not able to read the Siemens WinCC SCADA server state #1232
Replies: 3 comments 2 replies
-
|
what is this: are you server? are you client? whats the point... your code shows that your server-class-instance checks its own serverstate!?
this error does not come from python-opcua library and is more likely a networkproblem which you dont catch in your program! |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Andreas, I am client. How can I check my sever state bearing URL given in the below code. hda_client = Client("opc.tcp://WINCCSERVERA:4862") It will be good of you if you can help me on how can I check my server state.. He me acting as a client. Thanks Rajnish Vishwakarma |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Andrea's Here I m acting as a client with below the URL hda_client = Client("opc.tcp://WINCCSERVERA:4862") How can read my server status having the URL of OPCUA server as "opc.tcp://WINCCSERVERA:4862" It will be good of you if you can help me... On how can I read my server status as I have tired using the below code but getting RUNNING status for both when STOPPED AND RUNNING For the SERVR state node. server_state_info = server.get_node("i=2256").get_data_value() Plz help with correct methods to use. Thanks Rajnish Vishwakarma |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am facing too much exceptions , like :
[WinError 10053] An established connection was aborted by the software in your host machine
I used to read the server state and accordingly take actions .
I am using the below code to get the server status :
Client URL:
After i shut downt my WINCC SCADA , still i m getting the same status as State:ServerState.Running
How can i get my status correctly using free opcua.
Main idea is , my program should keep continuous running and check server state before every request and if server state is STOP , then not send requests and if connection is available then make request.
Pls help anyone .
Thanks and Regards
Rajnish Vishwakarma
Beta Was this translation helpful? Give feedback.
All reactions