Data Logger

Overview

A Data Logger is a system component used to collect, store, manage, and retrieve historical data from PLCs, sensors, devices, or industrial systems over time.

The primary purpose of a data logger is to preserve runtime values so they can later be:

  • visualized
  • analyzed
  • exported

Main Responsibilities

The data logger is responsible for:

  • Reading live values from external systems
  • Timestamping incoming data
  • Storing historical records
  • Managing datasets
  • Retrieving historical values
  • Supplying data to trends and reports

Key Features

Feature Description
Real-Time Data Collection Reads live values continuously
Historical Storage Stores time-series data in databases
Timestamping Associates every value with date and time
Dataset Management Supports multiple logged signals
Import / Export Allows importing and exporting logger configurations or datasets
Historical Retrieval Reads stored values for trends and reports
Multi-Source Support Supports PLCs, OPC UA, MQTT, Modbus, etc.
Data Filtering Filter values by time range or dataset
Retention Management Controls how long data is stored

UI Sections & Configuration

General Settings

Field Description
Name The unique internal identifier assigned to the data logger. This name is used by the system to identify and manage the logger. It should be meaningful and descriptive, such as TemperatureLogger, PowerMeterLogger, or MotorStatusLogger.
Interval in milliseconds(ms) Defines the time interval between consecutive logging operations, measured in milliseconds. For example, a value of 1000 ms means data is collected every second.
Max Points Defines the maximum number of data records (data points) that the logger can store. For example, a value of 100 allows the logger to retain up to 100 records.
Custom database file Allows the logger to store data in a user-specified database file instead of the default storage location. For example,db/trends/1.db
Enabled Controls whether the data logger is active. When enabled, the logger collects and stores data according to its configuration.
Start Starts the data logging process and begins collecting data based on the configured settings.
Stop Stops the data logging process while preserving all previously collected data.
Restart Stops and immediately restarts the logger, typically used to apply configuration changes or recover from temporary issues.
Data Preview Displays a preview of the logged data, allowing users to verify data collection and inspect recent values.

.

Datasets Configuration

Field Description
Name The unique internal identifier assigned to the dataset. For Example TemperatureLogger, PowerMeterLogger, or MotorStatusLogger.
Data Path Specifies the location of the data source that the dataset will monitor and log. The data path identifies the variable, tag, node, sensor, or parameter within the system. It acts as a reference to the actual data value being collected. Examples include 1::Application.PLC_PRG.iValue

Timestamp Configuration

Field Description
Timestamp Format Specifies how timestamps are displayed, either as a Unix timestamp or in a human-readable date and time format.
Time Zone Defines the time zone used for recording and displaying logged timestamps.
Precision Determines the timestamp accuracy, such as seconds or milliseconds.

1::Application.PLC_PRG.iValue
MotorStatusLogger
PowerMeterLogger
TemperatureLogger
db/trends/1.db
100
1000 ms
MotorStatusLogger
PowerMeterLogger
TemperatureLogger