The macro TTB_PulseCounter calculates the energy consumption derived from the input of a "Pulse Converter".
The consumption since the last download will be displayed via the output "TotalCumEnergy". This output has no engineering unit since it can be energy, total volume or any other measured and cumulated value. You can set the correct engineering unit of the output by defining it in the connected datapoint.
The momentary usage is displayed via the physical output "MomentaryUse". This output has no engineering unit since it can be power, flow or any other momentary value. You can set the correct engineering unit of the output by defining it in the connected datapoint.
Several pulse counter modules can be used in cascade to obtain the sum of all the connected pulse converters.
The macro provides a possibility to update the total cumulated energy. After the update, the macro continues to cumulate the new consumption to the old value.
To calculate and display the current consumption of the day, month, year and the consumption of the previous day, month and year, connect the macro "TTB_Statistics".