[Aggregates] :- %Good or %Bad exceeds 100|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
[Aggregates] :- %Good or %Bad exceeds 100
Avatar
Abhijeet Paunikar
Member
Members
Forum Posts: 9
Member Since:
04/21/2017
sp_UserOfflineSmall Offline
1
05/22/2017 - 20:42
sp_Permalink sp_Print sp_EditHistory

Hello Team,

Could anyone please confirm what is expected for below scenario:-

What should be the statuscode/result when %Good or %Bad exceeds 100. As per OPC UA Document, mantis issue 2503 states in such scenario the result will have a status code of Bad_AggregateInvalidInputs. 

But what if i have some good values for a particular processing interval and computation result for a aggregate is having a statuscode as Good. So in that case too, do we have to change the statusCode to Bad_AggregateInvalidInputs.

– Abhijeet.

PS :- I have checked for same scenario in Aggregate Tester Application provided by OPC UA. In that application they are limiting the user to enter a value between 0 to 100 for %Good and %Bad. So got a bit confused.

Avatar
Paul Hunkar
Cleveland, Ohio, USA
Moderator
Members

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-COM
Forum Posts: 112
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
2
05/23/2017 - 10:49
sp_Permalink sp_Print

Abhijeet,

  The Aggregate Tester application behaves as any good client should – it does not allow invalid parameters to be entered.  The Server should always check the input parameters since it cannot be guaranteed a well behaving client.  The Server would see that the %good or %bad are invalid (outside of 0-100) and never even look for historical values.  The historical request for the given item would return a StatusCode of Bad_AggregateInvalidInputs (and no values).  

If the aggregate was part of a monitored item, the item would not be added to a subscription – it would return an error on the add Monitored item. 

Paul

Paul Hunkar - DSInteroperability

Avatar
Abhijeet Paunikar
Member
Members
Forum Posts: 9
Member Since:
04/21/2017
sp_UserOfflineSmall Offline
3
06/19/2017 - 23:30
sp_Permalink sp_Print

Thanks Paul for the reply.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 43
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1444
Posts: 4887