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
Capture alarm using JAVA sdk
October 11, 2017
19:03, EEST
Avatar
bijesh.r@tcs.com
Member
Members
Forum Posts: 11
Member Since:
June 21, 2017
sp_UserOfflineSmall Offline

Hi Team,
We are trying to capture alarms generated by the kepware UA server using prosys java SDK..Can you please give me an idea where we need to look into for the same? Also if any sample code available can you please post that too here.

Please treat this with a urgent request since go-live of the project has very much dependency on this.

Regards
Bijesh Roy

October 12, 2017
13:56, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

This depends on the KepServer implementation of course, but we assume that it works according to the OPC UA Specification Part 9., which you could take a look at

https://opcfoundation.org/developer-tools/specifications-unified-architecture/part-9-alarms-and-conditions/

The SampleConsoleClient has an example how you can monitor events (createMonitoredEventItem). Changes in alarms are also provided as events.

To Acknowledge or Confirm the alarms, you can use the respective methods for those instances. You will need to provide the EventId as a parameter to the methods: and that should be available from the events that you receive.

Please, refer to KepServer documentation or their support, if there are questions about how the server is providing alarms in general.

October 16, 2017
13:47, EEST
Avatar
bijesh.r@tcs.com
Member
Members
Forum Posts: 11
Member Since:
June 21, 2017
sp_UserOfflineSmall Offline

Hi Jouni,
Thanks for your response. I have tried the example code to execute with the Kepware server but it failed with following error:
Exception in thread “main” com.prosysopc.ua.StatusException: Bad_MonitoredItemFilterUnsupported (0x80440000) “The server does not support the requested monitored item filter.” StatusCode=Bad_MonitoredItemFilterUnsupported (0x80440000) “The server does not support the requested monitored item filter.”
at com.prosysopc.ua.client.UaClient.checkOperationResult(Unknown Source)
at com.prosysopc.ua.client.Subscription.addItem(Unknown Source)
at com.prosysopc.ua.samples.client.SimpleClient.main(SimpleClient.java:108)
After going through the UA Server documentation we have found that the type of alarm whcih is used here is ExclusiveLimitAlarmType. Can you please confirm if this works with Prosys and if you have any sample to read these alarms?

Any help or pointer will be appreciated.

Regards
Bijesh

October 16, 2017
15:58, EEST
Avatar
Heikki Tahvanainen
Member
Members
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

Hi Bijesh,

Thank you for the report. Have you tried creating the same event subscription with non-modified SampleConsoleClient application? Is the error message same?

Also, have you tried to receive the events related to the ExclusiveLimitAlarmType with a general purpose OPC UA client application such as Prosys OPC UA Client (https://prosysopc.com/products/opc-ua-client/)?

October 16, 2017
16:33, EEST
Avatar
bijesh.r@tcs.com
Member
Members
Forum Posts: 11
Member Since:
June 21, 2017
sp_UserOfflineSmall Offline

Hi Heikki,
I haven’t tried non-modified SampleConsoleClient but checked with with a general purpose OPC UA client application. These fields are not visible at all in the client.
I will check the SampleConsoleClient yet but ifyou have any idea please do let me know,

Regards
Bijesh

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
18 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: 730

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof

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

Administrators: admin: 1