Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:sw:01-mervis:multiple-history-intervals-hidden [2020/06/01 09:00] – jan_kozak | en:sw:01-mervis:multiple-history-intervals-hidden [2025/07/09 13:45] (current) – added warning about history and ram ofojt | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~NOTOC~~ | + | ~~NOTOC~~ |
| ====== Advanced history log configuration ====== | ====== Advanced history log configuration ====== | ||
| - | */ | + | <WRAP group> |
| - | ====== Multiple history log intervals ====== | + | <WRAP half column 81%> |
| - | This tutorial describes how to store values into a PLC in different save periods. By doing so you can save a lot of memory space reserved for data, increasing the PLC’s backup storage time. This feature is useful especially for backing up a large amount of data. The solution is also suitable for PLCs connected to the Mervis DB through a connection billed per amount of data used. | + | This guide demonstrates how to log historic values in [[#multiple_logging_intervals|different intervals]] and also how to set up and use the [[#asynchronous_history_logging|asynchronous history logging]] into a database. By using this feature you can considerably decrease the memory space needed for history logs, increasing the duration of PLCs backup - this is useful especially in case of backing up a large amount of data (variables). The solution is also a good choice for projects in which the PLC is connected to Mervis DB via connections charged by used data volume. |
| - | + | </ | |
| - | /* | + | <WRAP half column 15%> |
| - | This guide demonstrates how to log historic values in [[#vice_intervalu_pro_zapis_do_historie|different intervals]] and also how to set up and use the [[#asynchronni_zapis_do_historie|asynchronous history logging]] into a database. By using this feature you can considerably decrease the memory space needed for history logs, increasing the duration of PLCs backup - this is useful especially in case of backing up a large amount of data (variables). The solution is also a good choice for projects in which the PLC is connected to Mervis DB via connections charged by used data volume. | + | ;;# |
| - | */ | + | < |
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | ;;# | ||
| + | </ | ||
| + | </WRAP> | ||
| Generally speaking, we recommend setting the save periods as long as possible to save up the PLC’s memory and decrease the load on both your network and servers. | Generally speaking, we recommend setting the save periods as long as possible to save up the PLC’s memory and decrease the load on both your network and servers. | ||
| Line 24: | Line 31: | ||
| {{: | {{: | ||
| - | /* | + | {{page> |
| - | ===== Multiple logging intervals | + | |
| - | */ | + | ===== Multiple logging intervals ===== |
| Right-click on **History**. A menu will open - click on **Add New History**. | Right-click on **History**. A menu will open - click on **Add New History**. | ||
| Line 47: | Line 54: | ||
| If you did everything correctly, you now have 5 different history log save periods. | If you did everything correctly, you now have 5 different history log save periods. | ||
| - | <WRAP center round important 60%> | + | < |
| + | {{ : | ||
| + | <WRAP half column 13%> | ||
| + | {{ : | ||
| + | </ | ||
| + | <WRAP half column 83%> | ||
| + | **Attention: | ||
| Do not mistake these **save period** settings with those for configuring the **communication period** for storing into the Mervis DB. | Do not mistake these **save period** settings with those for configuring the **communication period** for storing into the Mervis DB. | ||
| + | </ | ||
| </ | </ | ||
| You can now import the required variables into the **History log**. You can change the save periods later with the already imported variables. | You can now import the required variables into the **History log**. You can change the save periods later with the already imported variables. | ||
| - | /* | ||
| ===== Asynchronous history logging ===== | ===== Asynchronous history logging ===== | ||
| Right-click on **History** and in the menu select **Add New History**. If you already have a history log created, click on it. | Right-click on **History** and in the menu select **Add New History**. If you already have a history log created, click on it. | ||
| Line 61: | Line 74: | ||
| < | < | ||
| - | '' | ||
| * If set to '' | * If set to '' | ||
| * If set to '' | * If set to '' | ||
| - | < | + | < |
| * If set to '' | * If set to '' | ||
| * When set to '' | * When set to '' | ||
| Line 71: | Line 83: | ||
| {{: | {{: | ||
| - | <WRAP center round info 85%> | + | < |
| - | A typical application is a temperature sensor (ie. an outdoor thermometer), | + | {{ : |
| + | <WRAP half column 13%> | ||
| + | {{ : | ||
| + | </ | ||
| + | <WRAP half column 83%> | ||
| + | **Note:** \\ | ||
| + | A typical application is a temperature sensor (ie. an outdoor thermometer), | ||
| + | </ | ||
| </ | </ | ||
| - | */ | ||