X90 mobile modules
X90 mobile system User's manual V 1.20 - Translation of the original manual
179
5.4.1.5.8 Characteristic values (minimum and maximum)
The module's characteristic values are recalculated every 300 ms. To prevent values from being lost, it is necessary
to collect this data quickly enough.
To prevent measurements from being lost, a special function has been implemented in the module that records
the minimum and maximum values of all characteristic values calculated in the module. With each edge of bit
MinMaxUpdate01 in register
"Control" on page 157
, a new measurement can be started whereby the minimum
and maximum values are reinitialized. Simultaneously, the current data is copied to the acyclic registers.
The number of collected measurements can then be read using acyclic register
"MinMaxCounter" on page 181
.
The respective values are read using the acyclic minimum and maximum registers.
Example
For Iso10816, these are the Iso10816Min01-04 and Iso10816Max01-04 registers.
Information:
•
If a characteristic value overflow or open circuit occurs, no new values are collected.
•
The minimum and maximum registers are each initialized using the maximum and minimum
of the respective data type. If there is no valid value on the characteristic value for the overall
measurement, then the initial value is retained (e.g. on overflow, open circuit or locked data).
The registers are only updated on an edge of
"MinMaxUpdate01" on page 157
and only valid if
"MinMaxCounter"
on page 181
is not equal to 0. Register
"MinMaxCounter" on page 181
specifies the number of collected mea-
surement cycles for the minimum and maximum.