FB_ApplicationLoggerHandler - EnableLogger (Method)

Overview

Type:

Method

Available as of:

V1.0.4.0

Task

This method can be used to re-enable the logger.

Description

If the logger was disabled via the method DisableLogger, it can be re-enabled with this method again. A logger message is set to show the enabling.

This method must not be called by the start because the logger is enabled by default.

Interface

Output

Data type

Description

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

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

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

UnexpectedProgramBehavior

ApplicationLoggerItfNotSupported

14

The application logger interface is not supported.

UnexpectedProgramBehavior

ApplicationLoggerNotSet

13

The application logger has not been set.

UnexpectedProgramBehavior

UnexpectedFeedback

3

A feedback value was invalid.

ApplicationLoggerItfNotSupported

Enumeration name:

ApplicationLoggerItfNotSupported

Enumeration value:

14

Description:

The application logger interface is not supported.

Cause

Solution

An error has been detected in the internal execution

Contact your Schneider Electric service representative.

ApplicationLoggerNotSet

Enumeration name:

ApplicationLoggerNotSet

Enumeration value:

13

Description:

The application logger has not been set.

Cause

Solution

The global variable G_ifApplicationLogger has been changed.

Make sure not to write the variable G_ifApplicationLogger.

Output q_etDiag shows GD.ET_Diag.UnexpectedProgramBehavior

An error has been detected in the internal execution.

Contact your Schneider Electric service representative.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The application logger logs further messages.

UnexpectedFeedback

Enumeration name:

UnexpectedFeedback

Enumeration value:

3

Description:

A feedback value was invalid.

Cause

Solution

An error has been detected in the internal execution.

Contact your Schneider Electric service representative.