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, EET
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, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 801
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, EET
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, EET
Avatar
Heikki Tahvanainen
Moderator
Members

Moderators
Forum Posts: 270
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, EET
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: 78

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

pramanj: 86

hbrackel: 74

ibrahim: 65

kapsl: 57

gjevremovic: 49

TimK: 41

fred: 36

Fransua33: 35

Rainer Versteeg: 32

peterrob45: 25

Member Stats:

Guest Posters: 0

Members: 652

Moderators: 10

Admins: 1

Forum Stats:

Groups: 3

Forums: 14

Topics: 685

Posts: 2953

Newest Members:

Ravish Roshan, Max Braun, Predixer, LorraineXu, FF, Jonas, HA198273465, RaeHoffman, susandaigle23, m.scaglioni

Moderators: Jouni Aro: 801, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 230, Heikki Tahvanainen: 270, Jukka Asikainen: 1

Administrators: admin: 0