Day change

If an input is operated in Cnt.Day mode, all of the pulses up to the day changing time at midnight based on the time zone selected using the "Time zone" parameter are added up. This parameter is located in the "Basic settings" configuration section (see Basic settings). The current counter reading is calculated at the time of every measurement. The counter reading is recorded in the record interval that generates a rising gradient in the measurement value graphics on the myDatanet server. The highest value of the day equates to the value that was determined during the last record before the day change. At the time of the day change, the temporary memory, in which the counter reading is added up, is set to the difference between the current and last recorded value. This means that if pulses have been detected since the last record before the day change, the measurement value graphic for the new day does not start with 0 but with the calculated counter reading that is dependent on the number of detected pulses. The measurement value graphic for the new day does not start with 0 even if pulses are detected between the day change and first record. The counter reading calculated during the measurement cycle (green line in the following figures) is also required if an unscheduled record should be completed following initiation of a trigger (e.g. by a digital input).

Tip: Additional explanation on the day change
 

Day changing time (cannot be changed)MidnightNumber of pulses between last record and day changeRed line
"Basic settings" configuration section

Measurement cycle1 min.Calculated counter readingGreen line

Record interval7 min.Recorded counter readingBlue line

No new pulses between last record and day change

The counter (green line) is set to 0 when the day changes. A single pulse is detected before the first record. The measurement value graphic (blue line) therefore starts with 1.

New pulses between last record and day change

The counter is set to 4 at the time of the day change so that the pulses detected since the last record are taken into consideration in the first record of the day. Another pulse was also detected before the first record. The measurement value graphic therefore starts with 5.