T_ALY_SPRecordData_Cmd

T_ALY_SPRecordData_Cmd 1:

Syntax

Definition:

FUNCTION_BLOCK T_ALY_SPRecordData_Cmd EXTENDS T_ALY_JsonPayload
VAR_INPUT
    sAlias  : T_MaxString;
    sRecordName : T_MaxString;
    eRecording : E_RecordMode;
    sRecorder : GUID;
    sRecorderAlias : T_MaxString;
    sTopic: T_MaxString;
    eDataFormat : E_RawDataFormat;
    nDuration : DINT;
    eRingBufferMode : E_RingBufferMode;
    nRingBufferParameter : DINT;
    eMode : E_SymbolMode;
    sSymbolLayout : GUID;
    arrSymbols : ARRAY [0..255] OF T_ALY_Symbol;
END_VAR

Inheritence hierarchy

T_ALY_JsonPayload

    T_ALY_SPRecordData_Cmd

T_ALY_SPRecordData_Cmd 2: Inputs

Name

Type

Description

sAlias

T_MaxString

Alias name for the Recording

sRecordName

T_MaxString

Name for this record

eRecording   

E_RecordMode

Start or Stop the recording

sRecorder

GUID

Individual GUID of the recorder

sRecorderAlias

T_MaxString

Alias name for the recorder

sTopic

T_MaxString

Topic name of the live stream

eDataFormat

E_RawDataFormat

Store data format. (actually only Binary format is supported)

nDuration

DINT

Duration in minutes of the recording. (-1 unlimited)

eRingBufferMode

E_RingBufferMode

Ringbuffer modus

nRingBufferParameter

DINT

TimeBased => Parameter in minutes

DataBased => Parameter in Megabytes

eMode

E_SymbolMode

Record all symbols or only a subset

sSymbolLayout

GUID

 

arrSymbols

ARRAY [0..255] OF T_ALY_Symbol

If SymbolMode is Subset, only the list of this symbols will be recorded

T_ALY_SPRecordData_Cmd 3: Methods

Name

Definition location

Description

Reset

 

Reset all values inside of the payload FB

Init_JsonValue

Inherited from T_ALY_JsonPayload

Initialize FB with Json object

Init_String

Inherited from T_ALY_JsonPayload

Initialize FB with Json string

GetJsonLength

Inherited from T_ALY_JsonPayload

Get Length of Json payload

GetJsonString

Inherited from T_ALY_JsonPayload

Get Json payload as String

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4022.25

PC or CX (x64, x86, ARM)

Tc3_AnalyticsStorageProvider