Generic data logging

One data set consists of:
ID (8 any char) + TimeStamp + msec + Datatype (num) + Datatype (txt) + Length (following data) + max 32 data
|
Parameter |
Value |
|---|---|
|
ID = |
ID of LogGeneric_Input (max 8 any characters) |
|
DataType = |
DataType of LogGeneric_Input (1…7) |
|
Length = |
Length of LogGeneric_Input (max 88) BINARY (58); BYTE (88); INT (50); UINT (58); DINT (29); UDINT (31); REAL (27) |
Example

IEC 60870 data logging

|
Parameter |
Description |
|---|---|
|
IecType = |
IecType of LogIec60870_Input (1…7) |
|
Slot/Con/Idx/NoDP = |
Pin group of LogIec60870_Input (1…7) |
|
Quality_Bits(Byte) = |
IV/NT/SB/BL/CA/CY/QOV (packed in 1 byte) of LogIec60870_Input (1…7) |
|
Quality (SQ) = |
SQ of LOG_IEC60870_INPUT (1…7) |
|
GADU = |
Calculated internally, from Automation Builder configurator (Gadu1+Gadu2) |
|
IAD3/2/1(n) = |
Calculated internally, for every datapoint separately, from Automation Builder configurator (IAD1+IAD2+IAD3) |
|
n = |
1 or 16, in case of DP is n=2 |
|
VAR(n) = |
Variable |
|
IEC type |
Values |
Meaning |
|---|---|---|
|
SP1 |
- |
SinglePoint 1 |
|
SP16 |
- |
SinglePoint 16 |
|
DP |
- |
DoublePoint |
|
IT1 |
- |
IntegratedTotal 1 |
|
IT16 |
- |
IntegratedTotal 16 |
|
ME1 |
- |
MeasurementValue 1 |
|
ME16 |
- |
MeasurementValue 16 |
|
Quality_Bits(Byte): |
Quality.0: = IV; |
Quality with quality invalid |
|
Quality.1: = NT; |
Quality not topical |
|
|
Quality.2: = SB; |
Quality substituted |
|
|
Quality.3: = BL; |
Quality blocked |
|
|
Quality.4: = CA; |
Quality with quality carry |
|
|
Quality.5: = CY; |
Quality with quality counter adjusted |
|
|
Quality.6: = QOV; |
Quality Overflow Quality |
|
|
Quality.7: = Reserve; |
(*Reserve - Quality*) |
|
|
Quality SQ(Byte) |
SQ |
Quality sequence number (Range: 0 to 31) |
Example
