Download history log from PLC

The following guide describes the process of downloading a local PLC history, eg. without the need to connect the PLC to the Mervis DB service. After the download, a CSV file is generated for potential further use.

Patron
Neuron
Gate
Unipi 1.1
Axon

For this tutorial, we already have:

  1. switched the Mervis IDE to Full mode
  2. created a history log and imported variables into it
  3. a complete project can be seen on the picture below the article

Note: This tutorial serves as an addendum to the Storing data in a History log. For this reason we recommend to start by creating a project according to the mentioned guide and to use it to apply the guide below.

Right-click on History log. A menu will appear, in which click on Download history.

Yet another dialogue window will be displayed. Enter the file name and set the location the file will be downloaded into. The default download location is in the folder of the opened Mervis IDE project. The next step is to set the from/to time interval and to choose whether time should be saved in UTC or according to the PLC’s local time. Finish by selecting the PLC you wish to download the history log from.



A CSV file will be created in the selected folder. Its name and contents are determined by the previous settings.