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: 30
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: 151
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: 30
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: 151
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: 30
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: 30
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: 151
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: 30
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: 24
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: 267

Currently Online:
28 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 111

pramanj: 86

ibrahim: 74

kapsl: 57

gjevremovic: 49

TimK: 41

fred: 41

Xavier: 40

Fransua33: 39

rocket science: 36

Member Stats:

Guest Posters: 0

Members: 1458

Moderators: 17

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1178

Posts: 4983

Newest Members:

ThomasM, louiecrews, wyattcutler005, kristin3354, augustawalpole3, everettpulver, arron51869, roseannagoldschm, moosm, islamaddox

Moderators: Jouni Aro: 906, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 684, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 24, Teppo Uimonen: 21, Markus Johansson: 36, Niklas Nurminen: 0, Matti Siponen: 151, Lusetti: 0

Administrators: admin: 1