Counter readings of the infinite counters
Both of these measurement values are generated and saved together with the remaining measurement data. However, they are set to NaN provided that "Cnt.Inf." mode was not activated for the relevant measurement channel (see Measurement channels). If "Cnt.Inf." mode is active, the measurement value contains the current counter reading of the infinite counter. In return, the measurement channel that is assigned to the relevant universal input as standard is set to NaN.
Switching the measurement channels is necessary as the data type of the standard measurement channels is f32 (32 Bit floating point) and thus does not cover the necessary value range or provide the necessary level of accuracy. However, the two measurement values detailed in this chapter are s64 (64 Bit signed) types and are thus perfectly suitable for saving infinite counter readings. It must be noted counter readings are always saved internally as whole numbers. This means that if a floating-point number is specified for the "Pulse" parameter, the server moves the comma accordingly and transmits an integer multiplication factor to the 4-Channel Data Logger . This does not affect the visualisation and download of the data as the myDatanet server takes the movement of the comma into consideration before displaying/issuing the number.
All of the necessary settings for both of the measurement channels are implemented by the "Measurement channels" configuration section (see Measurement channels). This also applies to title of the measurement channel. Although the "Cnt.Inf." label is added on so that it can be differentiated from the relevant measurement channel assigned to the universal input as standard.
Additional explanation on calculating the counter reading for an infinite counter:
Assumption: The counter returns one pulse per 5l. The counter reading should be displayed in [m³] on the server interface. Eight pulses were registered by the universal input. The previous counter reading was 0.03m³.
| Parameter | Value |
|---|---|
| Pulse | 5 |
| Pulse unit | l |
| Pulse factor | 0.001 |
| Unit | m³ |
Counter reading [m³] = previous counter reading + { ( registered pulses * pulse [l] ) * pulse factor }
Counter reading [m³] = 0.03 + { ( 8 * 5 ) * 0.001 } = 0.07