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
Cannot connect to Kepware
September 16, 2015
4:02, EEST
Avatar
harshit
Member
Members
Forum Posts: 6
Member Since:
September 11, 2015
sp_UserOfflineSmall Offline

I am using this code to connect to Kepware OPC server, but everytime I am getting the error

client = new UaClient(“opc.tcp://localhost:49320/Kepware.KEPServerEX.V5/MP.TT1._System._Rate”);

Error

Requested endpoint not supported by the server: opc.tcp://localhost:49320/Kepware.KEPServerEX.V5/MP.TT1._System._Rate [http://opcfoundation.org/UA/SecurityPolicy#None,None]

September 16, 2015
9:01, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

The URL does not look like a valid connection URL for Kepware. Please, try

opc.tcp://localhost:49320
September 16, 2015
9:57, EEST
Avatar
harshit
Member
Members
Forum Posts: 6
Member Since:
September 11, 2015
sp_UserOfflineSmall Offline

It is working but where can I insert the kepware tag path i.e. Kepware.KEPServerEX.V5/MP.TT1._System._Rate

September 16, 2015
10:15, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

In OPC UA you use NodeId:s when you make a read or write request or subscribe for changes.

You should find the correct NodeId to the tags using a graphical client, such as Prosys OPC UA Client. Note that the NodeId contains a NamespaceIndex and a value (string, integer or such).

Once you have the NodeId, you can use that as a parameter for UaClient.readValue(), for example.

September 16, 2015
10:29, EEST
Avatar
harshit
Member
Members
Forum Posts: 6
Member Since:
September 11, 2015
sp_UserOfflineSmall Offline

I currently have Kepware’s OPC Quick client. How can I get the nodeId of the tag I want to read ?

Sorry, I am new to this!

September 16, 2015
11:52, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

I don’t know that application myself. You should be able to browse the address space and look at the Attibutes of the nodes (objects and variables).

I suggest to refer to the user manual of your application – or check the Prosys OPC UA Client.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
9 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: 682

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