Data Logging

Overview

With the data logging the continuous logging of all relevant EP9224 data can be started.

These data are written to a 40-line ring buffer. In the case of the EP9224-0037 the memory is 25 lines..

On the first error the recording is stopped so that the data can be evaluated after an error or during normal operation.

In the event of an error, data are still written for a few cycles. The switching-off of a channel is indicated by OFF.

The writing rate or scanning rate is 10 ms in the factory setting. The value can be adjusted from 1 ms to 1000 ms in the CoE.

Setting the sampling rate via CoE object 8040:11

Data Logging 1:
EP9224 – Setting the sampling rate

Starting the logger

The logger is started/stopped via the process data

These must be enabled via the PDO mapping 0x1610 (see PDO settings).

DPO LOG Control

Data Logging 2:
EP9224 - DPO LOG Control

The log file is written when stopping the logger or in the case of an error.

The state of the logger can be tracked in the PDO input area.

To do this it is necessary to activate the PDO 0x1A10 (see PDO settings).

DPO LOG Status

Data Logging 3:
EP9224 - DPO LOG Status

Upload the file from the EP9224

The EP9224 creates the file, giving it the name logdata.csv. This cannot be changed.

When uploading, for example, it must be specified accordingly in TwinCAT.

Data Logging 4:
EP9224 - Uploading the file

Structure of the logging file: logdata.csv

The data are saved in the CSV format, so that simple viewing with EXCEL or a corresponding interpretation is possible.

Data Logging 5:
EP9224 – Structure of the logdata.csv file

Header

Field

Description

Device Name

Name of the module

File Version

Version number
(Note: when importing from EXCEL the version, e.g. 1.5, is interpreted/displayed as a date (1st May))

Reason for which the snapshot was taken

Reason for stopping the data logger

Age of snapshot

time elapsed from stopping the data logger until the upload

System timestamp (0 if DC not supported)

current timestamp when uploading

Columns

Type

Description

Time offset additional to snapshot age

The age of the measured values in the row in relation to the stopping of the data logger (0 = stop, > 0 older values) in ms

I(U...)

present current values of the channels Us / Up 1 - 4 in 100 mA

Internal Temperature

internal module temperature in °C

Us / Up

Input voltage Us and Up at the 7/8" input in V

Sum Current Us / Up

Sum current of Us and Up in A

I²t(U...)

virtual overload, incremented or decremented depending on the nominal current

  • from 10% warning
  • at 100% shut-off

Example: slow exceeding of the current (simulation with potentiometer)

logdata.csv (zip)

Data Logging 6:
EP9224 - logdata.csv

Description: