Difference between revisions of "Blocks Dataloger"

From IPLOG
Jump to: navigation, search
Line 21: Line 21:
 
Writes binary value to datalogger
 
Writes binary value to datalogger
 
{| class="wikitable"
 
{| class="wikitable"
| colspan="5" |[[#Asynchronous operations|Asynchronous interface]]
+
| colspan="5" |[[Libraries for IEC 61131-3|Asynchronous interface]]
 
|-
 
|-
 
|in
 
|in
Line 39: Line 39:
 
Writes signed integer value to datalogger
 
Writes signed integer value to datalogger
 
{| class="wikitable"
 
{| class="wikitable"
| colspan="5" |[[#Asynchronous operations|Asynchronous interface]]
+
| colspan="5" |[[Libraries for IEC 61131-3|Asynchronous interface]]
 
|-
 
|-
 
|in
 
|in
Line 57: Line 57:
 
Writes unsigned integer value to datalogger
 
Writes unsigned integer value to datalogger
 
{| class="wikitable"
 
{| class="wikitable"
| colspan="5" |[[#Asynchronous operations|Asynchronous interface]]
+
| colspan="5" |[[Libraries for IEC 61131-3|Asynchronous interface]]
 
|-
 
|-
 
|in
 
|in
Line 75: Line 75:
 
Writes string value to datalogger
 
Writes string value to datalogger
 
{| class="wikitable"
 
{| class="wikitable"
| colspan="5" |[[#Asynchronous operations|Asynchronous interface]]
+
| colspan="5" |[[Libraries for IEC 61131-3|Asynchronous interface]]
 
|-
 
|-
 
|in
 
|in

Revision as of 12:38, 9 November 2018

Back to Libraries

Datalogger library

To support for datalogger functionality package metel-datalogger must be installed first.

Maximum writing rate is 100 key-value pairs per second. Minimal writing period of key-value pair is 100 ms.

Capacity for raw integer values (including bools) is 1 080 000 entries.

Capacity for raw string values is 1 080 000 entries.

Integer values are compressed to aggregation tables by seconds, minutes, hours and days. Stored are count, sum, min, max and first value for each key in given period.

Capacity of aggregation tables are 1 080 000 for seconds and minutes, 876 000 for hours and 730 000 for days.

After fill tables capacity, oldest values will be automaticaly removed.

Logging

DATALOGGER_W_BOOL

Writes binary value to datalogger

Asynchronous interface
in KEY string key for logged value
in VALUE bool value

DATALOGGER_W_DINT

Writes signed integer value to datalogger

Asynchronous interface
in KEY string key for logged value
in VALUE dint value

DATALOGGER_W_UDINT

Writes unsigned integer value to datalogger

Asynchronous interface
in KEY string key for logged value
in VALUE udint value

DATALOGGER_W_STRING

Writes string value to datalogger

Asynchronous interface
in KEY string key for logged value
in VALUE string[255] value