<Toc> <Ind> <2. Real-time Database>
16
TI 36J04A10-01E 8th Edition; Feb 05 2007-00
z Value
Value is the fundamental item of a tag. It is the data source from which the value
originates that determines a tag’s type:
- OPC tag: the value comes from the PCS via the OPC server
- Calculated tag: the value is generated by the Exaquantum Calculation Engine
- Manual tag: the value comes from an external unsolicited source such as human
entry, ASCII file import, ODBC/OLE DB or other systems through the data access
API.
OPC data is transferred to Exaquantum in an event-driven way based on the configurable
update (scan) rate and percent deadband. The update rate is the minimum time between
updates. The percent deadband is specified as percentage of the engineering range
which the PCS data must go outside off before a data transfer to Exaquantum occurs.
All three types of tags can have aggregations. Unlike a tag’s original raw values, which
are event-driven in nature, aggregations are time-dependent, being available at the end of
the aggregation period, for example each hour, day or shift.
z Timestamp
The timestamp is used for assigning the value to history and aggregations, allowing them
to be sorted. It is therefore very important how a timestamp is assigned for values. The
source of the timestamp for each tag type is as follows:
- OPC tag timestamps are supplied by the OPC server or by Exaquantum. Whenever
time synchronization is implemented, it is recommended that OPC server time be
used, as this is the time that is closer to the source. However, when there are more
than one OPC servers that are not time-synchronized, Exaquantum time should be
considered.
- Calculated tag timestamps are assigned by Exaquantum when the calculation takes
place.
- Manual tag timestamps are assigned by the program that writes the value.
For example, the Tag Editor (an Exaquantum configuration tool) assigns the system
time at the point of update.
Exaquantum assigns to Aggregation items the timestamp of the aggregation period
1
.
Time synchronization between Exaquantum and the OPC server(s) is important because
the raw value timestamp is used in aggregation calculations that take place at
Exaquantum time.
Time resolution is always ‘seconds’, although the OPC specification defines a 100
nanoseconds resolution interface. Time is rounded to seconds because most client
programs are based on second precision, and therefore values with a finer time resolution
may cause confusion. For example, if a user shows a list of raw values, and performs a
summation with Excel, the summation will look incorrect because Excel rounds the times
to ‘second’ resolution. In this case, the calculated summation would be correct if the times
were not rounded to seconds. The preference, therefore, is to allow Excel (and other
similar tools) not to round the results.
Whenever the time resolution is of particular concern, for example the time of event
messages, Exaquantum does not round such time to seconds
2
.
1
Maximum and Minimum aggregations are time stamped at the point when the Maxima or Minima occur within an
aggregation period.
2
The second resolution is a client issue. The Exaquantum OPC client program rounds the time to seconds, VB
programming interface can handle only second resolution. The RTDB and Historian, however, deal with time in a file
time resolution (100 nanoseconds).