Counter Log icon

Counter Log

Counter Log stores counter values and displays data across different time intervals.

Counter log

Picture 1: Counter log settings

Input Value can be linked to any object value of type double, integer and boolean. If the input value is boolean type, then the number of impulses (lead edge switching) is counted.

Ignore Count Down setting prevents writing the negative counter values to database (e.g. when the meter is reset to 0). Filter Counter Resets function can be used when meter measuring the input values is replaced with new one or is reset to zero. This will create an inconsistency in the measured data (will be calculated as change in consumption). By calling the Filter Counter Resets the database is rewritten to compensate for the change.

Maximum limit for database size can be set (Delete Old Data) in days (Days to Delete Old Data).

Data can be scaled (Scaling) before it is written to database.

Multiple calculated values (Total Value, Last 24 Hours, Today Count, Yesterday Count, Daily Average, This Month Count, Previous Month Count, Monthly Average *) are available for user interface display or to use in other tasks (e.g. in *Program task to alert users of high consumptions or to send monthly consumption reports).

Entries are displayed under Data tab and it can be backed up, restored, exported and filtered using buttons in toolbar.

User Interface

Data Logger control enables viewing the data on theme panels.

Counter log UI

Picture 2: Counter log UI

Examples

Example 1: Logging electricity consumption

  1. Use electricity consumption for Input value (e.g. kWh meter).
  2. Make the UI control.

Example 2: Logging gas consumption from impulse meter

  1. Use impulse meter for Input value (e.g. impulse meter 1m3 = 100imp).
  2. Scale the data to log the value in correct units (e.g. to get m3, K = 0.01) .
  3. Make the UI control.

Example 3: Monthly energy report

  1. Use consumption for Input value.
  2. Create Program task. Add Run command, select Send Mail function from the user node. Generate a energy report text including the calculated values in the text.
  3. Create Schedule task. Add Run command, select Program task from step 2. Set event repeat type to Monthly and set the day of month to send the report.

This website uses cookies

We use cookies to personalise content, use live chat, provide social media features and to analyse our traffic. We also share information about your use of our site with analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.