15:36, EEST
March 31, 2015
Dear Sir/ Madam
I searched on this forum and I saw there were people able to connect to a Kep server.
Nonetheless, they didn’t elaborate enough how they actually did it.
I am using a limited version of Prosys UA client SDK.
I am trying to connect it to Kep Server version 5 (Kepware) and I am trying the following
client = new UaClient(“opc.tcp://192.168.1.29:???”);
but it has not been successful.
I previously used OpenScada instead of Prosys client SDK and I didn’t need to specify a port number to make a connection.
I used Opens Scada ConnectionInformation and Server classes to make a connection.
I tried various ports but it has not been promising.
If you can advice me on this matter, I will be grateful.
Thank you
Kind regards
Seong
6:23, EEST
January 30, 2014
7:28, EEST
December 21, 2011
I guess you have used OPC DA with openSCADA.
OPC UA is a bit different, and you can define the TCP/IP port in which the server is listening to connections. This is more secure, since you can control connections per server in the firewall, for example. On the other hand, you will need to know the port number in the client, when you are making connections. Different servers use different port numbers by default, and you will need to find the complete address from the server application.
10:48, EEST
March 31, 2015
Hi gjevremovic and Mr Jouni Aro,
Thank you for your kind comments. I am delighted that I got your attention.
I right-clicked Kep server v5 tray icon and went to UA configuration Setting and made a configuration.
It now works fine. The default port is 49320 as gjevremovic stated.
Thank you.
Kind regards
Seong
18:40, EEST
April 25, 2015
Hi,
Can you please let me know what type of a configuration change you made for this to work?. I am also the Prosys Client Java SDK limited version and having issues in connecting to the Kepware Server. Getting the BadConnection exception.
Tried the following way,
UaClient client = new UaClient(
“opc.tcp://123.456.7.890:49320/UA/Kepware.KEPServerEX.V5”);
Tried different ports but of no use. Not sure where I am going wrong. I am trying to print the server status to the console.
DataValue value = client.readValue(Identifiers.Server_ServerStatus_State);
But I am not able to connect to the server. Please let me know how I can move forward and what is the mistake I am doing.
Thanks,
seong said
Hi gjevremovic and Mr Jouni Aro,
Thank you for your kind comments. I am delighted that I got your attention.
I right-clicked Kep server v5 tray icon and went to UA configuration Setting and made a configuration.
It now works fine. The default port is 49320 as gjevremovic stated.
Thank you.
Kind regards
Seong
16:07, EEST
June 13, 2015
jvarma80 : Did you get this to work?
This is my first attempt to try to get the UA Client to connect to Kepware and having looked at numerous prosysopc posts,the information seems to be vague at best. I’m having the same problems as you.
I’m not sure if this is deliberate obfuscation (I hope not) on behalf of prosys. The standard response seems to be “READ THE README in the docs folder”. Well, I have done and am none the wiser.
PROSYS -This post deserves a reply!
8:13, EEST
December 21, 2011
I am sorry that connecting to KepServerEX has not been documented better.
However, in OPC UA, connections require that you find out the correct endpointUrl of the server. We don’t necessarily know these URLs ourselves, and it is better to ask server specific features from the server manufacturer.
We looked this up now, and it seems that the default URL to the KepServerEX is
– there is no server name part in the URL. ‘localhost’ must be replaced with the actual hostname or IP address, if you are connecting from remote, of course.
Most Users Ever Online: 1919
Currently Online:
11 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, dalenegettingerModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1