The definition of Time Range in Historical Access|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
The definition of Time Range in Historical Access
Avatar
Hua Zhang
Member
Members
Forum Posts: 4
Member Since:
07/19/2015
sp_UserOfflineSmall Offline
1
12/08/2016 - 00:26
sp_Permalink sp_Print

Hi,

In “OPC UA Part 11 – Historical Access 1.03 Specification.pdf”, there is a description about Range in section 6.8.2.2:

“If the Time does not fall within range that can be stored then the related operationResults entry shall indicate Bad_OutOfRange.”

What’s the definition of this “range” ?

Avatar
Rod Stein
Canada
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
2
12/08/2016 - 10:34
sp_Permalink sp_Print

The term “range” in this clause and in other clauses in 6.8.x refer to the earliest or latest the historical data can be stored.  More specifically the earliest or latest timestamps associated with data the request from the UA Client is trying to store in the HA enabled UA Server.

A simple example is if a user wants to store data that is 24 hours into the future.  The UA Server may, for technical reasons, only be able to store entries 10 minutes into the future.  The result of requesting to store data 24 hours into the future would be a returned status code of Bad_OutOfRange.

Similarly if there is a technical limit to the earliest times that can be stored and a request comes in to store data before that time the same Bad_OutOfRange status would be returned.  This could be for many reasons and the reason is vendor specific and not returned to the UA Client.  The status just says that the range is outside what can be stored.

There is no call in HA that will tell a client what is the earliest or latest timestamp that will be accepted.  This is information the vendor of the HA UA Server must supply.

Regards,

Rod

Rod Stein               Manager of Technology Matrikon OPC               http://www.matrikonopc.com

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