Statistics per value

Updated:

For each selected value you define whether PlantBeat writes it to the history, how often, and how long it is kept. This saves storage for values that rarely change and still keeps fast values complete.

You find the setting in the connection wizard, step 3 "Selected variables": click a value, then the Statistics tab. The list shows "Statistics on" or "Statistics off" for each value.

Record statistics

With the Record statistics checkbox, PlantBeat writes the value to the history. By default it is checked for every selected value.

Without the checkbox, PlantBeat keeps reading the value and shows it live in dashboards and alarms, but does not store it. It is then missing from the history, the export and the operations report.

Recording mode

Recording mode What is stored Good for
Every measurement every value read, that is, at every interval of the connection. This is the default. fast processes where every value counts
On change only when the value differs from the last stored one states, switches, setpoints
Cyclic — average at the end of each interval, the average of all measurements in that interval temperatures, pressures, flow rates over long periods
Cyclic — instantaneous value at the end of each interval, the last value read values where a sample is enough

For the cyclic modes you also set the Interval (seconds), for example 60 for one value per minute.

Accumulated for counters

The cyclic modes offer the Accumulated checkbox. It is meant for counters, such as piece counters or energy meters. PlantBeat then stores the increase in the interval instead of the counter reading. A piece counter with an interval of 3600 thus gives the pieces per hour.

Retention per value

In the Retention (days, empty = default) field you give a value its own retention period. Empty means: the general retention of measurements from "Settings" › "Data" › "Data retention" applies, 30 days by default. Its own period replaces the general one, so it can also be longer. See Retention and storage.

Example: measurements are generally kept for 30 days. You keep the energy meter with "Cyclic — instantaneous value" and an interval of 3600 for 730 days, so that a year-on-year comparison is possible.

Values from record fetches

Values that PlantBeat reads via enable flag and done flag are only read when the enable flag is open. Their statistics are therefore off by default. You can turn them back on in the value's Statistics tab. More under Data records.

Estimate storage needs

The "Data storage" page shows under "Storage headroom" how much space the recording needs and when the storage will probably be full. If measurements are dropped because storage cannot keep up, it shows "Measurements dropped — reduce interval/tag count." A cyclic recording mode or a longer interval helps in that case.

Next steps