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: 1010
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: 518

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 683

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

digitechroshni, LouieWreve, Kickbiche, karrimacvitie5, graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma

Moderators: Jouni Aro: 1010, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1