FB_LogDataListDiagSource - General Information

Overview

Type:

Function block

Available as of:

1.1.2.0

Inherits from:

-

Implemented:

-

Access restriction:

PUBLIC

Task

Diagnostic source that gives out the data of the template LogDataList.

Interface

Input

Data type

Description

i_xEnable

BOOL

A rising edge FALSE -> TRUE activates the POU, a falling edge TRUE -> FALSE deactivates the POU.

A deactivated POU does not execute any actions.

i_xDiagQuit

BOOL

A rising edge FALSE -> TRUE acknowledges pending exceptions of the POUs. Exceptions occurring during initialization can only be acknowledged by disabling the POUs.

Output

Data type

Description

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 accept user commands.

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value unequal to GD.ET_Diag.Ok corresponds to 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.

Input/Output

Data type

Description

iq_stComStructure

ST_DiagnosticsManagerToDiagSource

Communication structure between the FB_DiagnosticsManager and diagnostic sources.

iq_stLogDataList

ST_LogDataList

Address to the instance of the template LogDataList.