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: 1026
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: 1026
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: 1026
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: 1919

Currently Online: inilarythikibia
12 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: 731

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

inilarythikibia, rickykennion, PromotionToold, HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466

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

Administrators: admin: 1