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
Mnonitoring alarms
October 12, 2021
14:49, EEST
Avatar
Sabari
Member
Members
Forum Posts: 62
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline

Hello,
I’m trying to monitor alarms generate on simulator from my application opc ua.
Could someone please help me?

Thank you.

October 12, 2021
15:44, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 321
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

You will need to make a Subscription and use MonitoredEventItems to monitor Alarms. See SampleConsoleClient for an example of how to use MonitoredEventItems.

October 13, 2021
16:56, EEST
Avatar
Sabari
Member
Members
Forum Posts: 62
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline

Hello,

When i try to monitore my node, i got this error :
attribute: EventNotifier
mer. oct. 13 15:54:08 CEST 2021 Subscription created: ID=1979590177 lastAlive=null
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.”

But in uaExpert, i see the event by using server node from server

October 14, 2021
8:35, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 321
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

This error suggests that the Server doesn’t support the requested Monitored Item Filter which in this case is an EventFilter. If you have followed the example in SampleConsoleClient, the filter should only have standard Event fields as its SelectClauses and exclude Events of GeneralModelChangeEventType with its WhereClauses. Do you have access to the Server’s logs to check if they would specify why it has rejected the filter?

Also, are you trying to make the MonitoredItem for the Server Node in your OPC UA Client? If not, have you verified that the Node you’ve chosen supports subscribing to Events meaning that its EventNotifier Attribute has the SubscribeToEvents flag set to true?

October 14, 2021
10:20, EEST
Avatar
Sabari
Member
Members
Forum Posts: 62
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline

Hello,
how to make MonitoredItem for the Server in my OPC UA Client application ?

October 14, 2021
10:26, EEST
Avatar
Sabari
Member
Members
Forum Posts: 62
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline

How to get Server object from opc ua client ?

October 14, 2021
11:13, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 321
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

The NodeId of the Server Object is standardized and it is ns=0;i=2253 for all OPC UA Servers following the specification. You can make a MonitoredEventItem using this NodeId to monitor all Events (including Alarms) generated by the Server.

October 14, 2021
12:16, EEST
Avatar
Sabari
Member
Members
Forum Posts: 62
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline

Hello,
thank you for your reply.
So i have another question, how can i monitor only Alarms generated by the Server ?

October 14, 2021
15:00, EEST
Avatar
Jimmy Ni
Moderator
Members

Moderators
Forum Posts: 26
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline

Hello Sabari,
Alarms are subtype of Events. Not possible to separate them, as Matti has answered previously: “You can make a MonitoredEventItem using this NodeId to monitor all Events (including Alarms) generated by the Server.”. Please refer to the OPC UA Specification Part 9 and the PDF Client development tutorial in the SDK folder for detailed information.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
11 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 685

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6259

Newest Members:

fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule, rashadbrownrigg, christi10l, ahamad1, Flores Frederick, ellenmoss

Moderators: Jouni Aro: 1009, 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