ST_TcPlcMcLogBuffer (from V3.0)

A variable with this structure forms the LogBuffer of the library. Further information about creating a log buffer can be found under FAQ #10 in the Knowledge Base.

ST_TcPlcMcLogBuffer (from V3.0) 1:

The data in this structure must not be modified by the application.

Syntax

TYPE ST_TcMcLogBuffer:
STRUCT
    ReadIdx:        INT:=0;
    WriteIdx:       INT:=0;
    MessageArr:     ARRAY [0..19] OF ST_TcPlcMcLogEntry;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

ReadIdx

INT

The read index of the buffer.

WriteIdx

INT

The write index of the buffer.

MessageArr

ARRAY

The currently stored messages.

ST_TcPlcMcLogEntry