Is it possible to have EURange.High lower than EURange.Low ?|OPC Certification and Interoperability Testing|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
Is it possible to have EURange.High lower than EURange.Low ?
Avatar
Niklas Ries
New Member
Members
Forum Posts: 2
Member Since:
03/05/2018
sp_UserOfflineSmall Offline
1
11/07/2018 - 07:45
sp_Permalink sp_Print

When testing with CTT, I have encountered a case were EURange.high is written with -56 and EURange.low with 0. Should this be allowed? If so, then the numeric absolute needs to be taken from the difference of the two, when configuring the percent deadbandValue e.g. :

 

Taken from page 28 of OPC UA Part 8 DataAccess Specification:

DataChange if (absolute value of (last cached value – current value) >
(deadbandValue/100.0) * (abs(high–low) of EURange)))              

 

Thanks

Best Regards,

NRies

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
11/08/2018 - 12:28
sp_Permalink sp_Print

NRies,

   The CTT test many cases, including error cases.   Which test case are you looking at? and in what version of the CTT?   

A range is suppose to be between the lowest value and the highest value a number can vary between.   Sometimes both numbers are negative (i.e. -100 and -50) but even in this case the range of 50 results.

Paul

Paul Hunkar - DSInteroperability

Avatar
Niklas Ries
New Member
Members
Forum Posts: 2
Member Since:
03/05/2018
sp_UserOfflineSmall Offline
3
11/09/2018 - 00:19
sp_Permalink sp_Print

Hi Paul, 

In this case the CTT merely showed the issue I was thinking of sometime before. I am referring to test script 006.js of the AnalogItemType CU. Here a write to the SByte datatype is issued (EURange.low = 0 and EURange.high = -56). My current implementation does not allow setting the low Attribute to a smaller numerical value than the high part. Therefore I was wondering wether the “logic of common sense” (EURange.high being always higher than EURange.low) can be inverted to “EURange.low can be numerically larger than EURange.high” concerning signed values as shown in the example above.

Thanks for your help,

Best Regards

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