T_ALY_HistoricalStream_Desc

Syntax
Definition:
FUNCTION_BLOCK T_ALY_HistoricalStream_Desc EXTENDS T_ALY_JsonPayload
VAR_OUTPUT
sSource : STRING(255);
sStreamTopic : STRING(255);
sStreamAlias : STRING(255);
sStreamSystemID : GUID;
sLayout : GUID;
nCycleTime: UDINT;
nDataSize : UDINT;
arrRecords : ARRAY [0..cMaxRecordCount] OF T_RecordTimestamps;
sStorage : GUID;
nHistStreamID : LINT;
sSystemAlias : STRING(255);
sRecordName : STRING(255);
sAddress : STRING(255);
eSymbolMode : E_SymbolMode;
arrSymbols : ARRAY [0..255] OF T_ALY_Symbol;
END_VARInheritance hierarchy
T_ALY_JsonPayload
T_ALY_HistoricalStream_Desc
Outputs
Name | Type | Description |
|---|---|---|
sSource | STRING(255) | Data source name |
sStreamTopic | STRING(255) | Topic name of the recorded stream |
sStreamAlias | STRING(255) | Alias name of the stream |
sStreamSystemID | GUID | SystemID GUID of the stream |
sLayout | GUID | Layout GUID of the recording |
nCycleTime | UDINT | Cycle time of the recording |
nDataSize | UDINT | Data size of an entry of the recording |
arrRecords | ARRAY [0..cMaxRecordCount] OF T_RecordTimestamps | Timestamp of the various recordings |
sStorage | GUID | Individual GUID of the Storage |
nHistStreamID | LINT | Specific ID of the historical stream |
sSystemAlias | STRING(255) | The system alias of the recorded data. |
sRecordName | STRING(255) | The name of the recording |
sAddress | STRING(255) | The address of the recorded data. |
eSymbolMode | Recording mode | |
arrSymbols | ARRAY [0..255] OF T_ALY_Symbol | List of recorded symbols |
Methods
Name | Definition location | Description |
|---|---|---|
Reset |
| Reset all values in the payload FB. |
Init_JsonValue | Inherited from T_ALY_JsonPayload | Initialization of the FB with JSON object. |
Development Environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT v3.1.4022.25 | PC or CX (x64, x86, Arm®) | Tc3_AnalyticsStorageProvider |