TCW242-S_R1.0 – July 2021
Page 48
Read Channel 21 Description
03
5160
16 bytes UTF-8
Read Channel 22 Description
03
5168
16 bytes UTF-8
Read Channel 23 Description
03
5176
16 bytes UTF-8
Read Channel 24 Description
03
5184
16 bytes UTF-8
10.
Data Logger
The logger utilizes a circular buffer in FLASH memory. When it is full, the new data overwrites the
oldest one. In this manner FLASH memory stores full log all the time. There isn’t a command to clear
the log. A copy of the full log is always available for download.
The number of records depends on how long descriptions and what kind of characters are used. In
the worst case (15 bytes description with characters from the highest part of UTF-8) the number of
records is about 52371. This number is enough for 36 days with records every 1 minute.
In most cases, the data logger can keep 71400 records, which is enough for 49 days with records
every 1 minute.
The new records can be periodically uploaded as a file to a dedicated HTTP server in time intervals –
1, 2, 3, 4, 6, 8, 12, and 24 hours. The file is in CSV format. A semicolon is used as a delimiter.
The first row of the log file is always the header. All rows, including the header, start with a record
ID and time stamp.
The structure of one row (a record) of the log is as follows:
ID
Time
Type of
record
Channels -
values/units
Relays -
conditions
Channels -
states/units
Alarms -
values/descriptions
ID
32-bit unique number for every row (record).
Time
a time stamp of record, in format dd.mm.yyyy, hh:mm:ss.
Type of record
following types of records are available:
"Time"
for periodical record;
"Event"
for record initiated by alarm condition;
"Type"
for header record;
"Start"
after power-up condition;
"Restart"
after reset condition;
"Power Down"
after power-down condition;
"Bad"
for a problematic record
Channels - values/units
Channels 1 to 24 values/units
Relays - conditions
Relays 1 to 4 conditions
Channels - states/units
Channels 1 to 24 states/units
For chanel types General, Cumulative and Discrete following states
are available:
0 – “Undefined”
1 – “Normal”
2 – “Indeterminate”
3 – “Warning”
4 – “Minor”
5 – “Major”
6 – “Critical”
For chanel type Counter following states are available:
8 – “Undefined”
9 – “Normal”
10 – “Indeterminate”
11 – “Warning”
12 – “Minor”
Содержание TCW242-S
Страница 1: ......
Страница 52: ...TCW242 S_R1 0 July 2021 Page 52 Appendix A Fig 1 Fig 2...