Is it possible to have EURange.High lower than EURange.Low ? | OPC Certification and Interoperability Testing | Forum

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
nries@hilscher.com
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@dsinteroperability.com
Cleveland, Ohio, USA
Moderator
Members

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification
Forum Posts: 73
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
nries@hilscher.com
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: 95

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Newest Members:

bennettj@meaust.meap.com

Forum Stats:

Groups: 2

Forums: 9

Topics: 472

Posts: 1323

 

Member Stats:

Guest Posters: 1

Members: 83206

Moderators: 10

Admins: 3

Administrators: michael.bryant@opcfoundation.org, thomas.burke@opcfoundation.org, Randy Armstrong

Moderators: matthias.damm@ascolab.com, s.hoppe@beckhoff.com, paul.hunkar@dsinteroperability.com, jouni.aro@prosys.fi, tim.fortin@honeywell.com, Jim.Luth@Schneider-Electric.com, Karl-Heinz Deiretsbacher, stefan.hoppe@opcfoundation.org, alexander.allmendinger@opcfoundation.org, Karl Deiretsbacher