Avatar

Please consider registering
guest

sp_LogInOut Log In sp_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 RSS sp_TopicIcon
Bad_NoCommunication when reading 'Value' attribute
June 30, 2015
14:22, EEST
Avatar
feherz
Member
Members
Forum Posts: 3
Member Since:
June 30, 2015
sp_UserOfflineSmall Offline

Hi all,

I am trying to read/write a ‘value’-attribute from my OPC Server.

When I try to read the value I get the following errormessage:

attribute: Value
com.prosysopc.ua.StatusException: Bad_NoCommunication (0x80310000) “Communication with the data source is defined, but not established, and there is no last known value available.” StatusCode=Bad_NoCommunication (0x80310000) “Communication with the data source is defined, but not established, and there is no last known value available.”

It might be due to the client doesn’t seem to use my Endpoint.
06/30/2015 16:17:47.034 INFO Using an alternate endpoint URL ‘opc.tcp://ibhlinkua_001211:48010’ instead of the requested ‘opc.tcp://192.168.3.200:48010’

‘opc.tcp://ibhlinkua_001211:48010’ is not reachable but the other one is.

Does anybody has an idea why I get that Bad_NoCommunication Exception?

Kind regards
Felix

July 1, 2015
6:44, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

feherz said
I am trying to read/write a ‘value’-attribute from my OPC Server.

When I try to read the value I get the following errormessage:

attribute: Value
com.prosysopc.ua.StatusException: Bad_NoCommunication (0x80310000) “Communication with the data source is defined, but not established, and there is no last known value available.” StatusCode=Bad_NoCommunication (0x80310000) “Communication with the data source is defined, but not established, and there is no last known value available.”

This status code comes from the server, so you have a working connection to the server established, but the server does not have a working connection to the device that is providing the Value for the variable.

StatusException in general is related to operational errors, whereas ServiceException is related to the service call errors. If the service call succeeds, there may still be bad quality values coming from the server for individual operations, such as the read operation in this case.

It might be due to the client doesn’t seem to use my Endpoint.
06/30/2015 16:17:47.034 INFO Using an alternate endpoint URL ‘opc.tcp://ibhlinkua_001211:48010’ instead of the requested ‘opc.tcp://192.168.3.200:48010’

The client first makes a connection to ‘opc.tcp://192.168.3.200:48010’ to discover the endpoints of the server: among these, it does not find an exact match, but decides to use ‘opc.tcp://ibhlinkua_001211:48010’ instead. The client is then connecting to this endpoint to establish the actual connection. However, it is still using the original address ‘192.168.3.200:48010’ to initialise the socket connection. So this message is more informative and can usually be ignored.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 738

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6451

Newest Members:

jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1