ST_LoggerInterface - General Information

Overview

Type:

Data structure

Available as of:

V1.0.4.0

Inherits from:

-

Description

Interface of the FB_LogDataControl function block as structure.

Structure Elements

Variable

Data type

Description

i_xEnable

BOOL

A rising edge FALSE -> TRUE enables the FB_LogDataControl function block, a falling edge TRUE -> FALSE disables the FB_LogDataControl function block. A deactivated POU does not execute any actions. Enable option for .

i_xDelete

BOOL

TRUE: Deletes the ASCII log data list.

i_xSort

BOOL

TRUE: Triggers sorting of the log data list.

i_xSortAndSave

BOOL

TRUE: Triggers sorting and saving of the log data list.

i_etSortKey

ET_LogDataSortKey

Sorting criteria - Preassigned with ET_LogDataSortKey.SortByTime

i_xSave

BOOL

TRUE: Triggers saving of the log data list.

i_sFileName

STRING

File name, file format and directory which the log data list shall be saved to.

Is preassigned with 'ide0:TPL_LOG.CSV'

i_udiModuleId

UDINT

ID of the module the inputs of which shall be displayed.

i_xUsvCheckOff

BOOL

TRUE: Data are also saved if no UPS is installed.

i_xEnableSaveMsgLog

BOOL

TRUE: The system logger is also saved to a file when saving with i_xSave or i_xSortAndSave.

i_xDiagQuit

BOOL

A rising edge FALSE -> TRUE acknowledges a pending diagnostic message (output q_etDiag <> ET_Diag.Ok).

q_xActive

BOOL

TRUE: The POU is active and has to be executed further.

FALSE: The POU is inactive.

q_xReady

BOOL

TRUE: The POU is ready to operate and accepts user commands.

FALSE: the POU is not ready to operate and does not accept user commands.

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value unequal GD.ET_Diag.Ok equates an error message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = GD.ET_Diag.Ok -> Status message

q_etDiag <> GD.ET_Diag.Ok -> Error message

q_sMsg

STRING[80]

Event-triggered message which gives more detailed information on the diagnostic state.