FC_InitLogDataList

 

FC_InitLogDataList - General Information

Overview

Type:

Function

Available as of:

V1.0.4.0

Task

Initialization of the ST_LogDataList data structure.

Description

All of the functions provided by the template that access the ST_LogDataList data structure use this function. Each user that accesses the ST_LogDataList data structure directly (by avoiding the functions provided by the template) must verify that the xInit Flag in the structure is TRUE. If not, this function must be executed.

Interface

Output

Data type

Description

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

Input/Output

Data type

Description

iq_stLogDataList

ST_LogDataList

Log data list to be initialized.

Return Value

Data type

Description

BOOL

TRUE: Execution successful.

FALSE: Initialization of the data structure failed.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

UnexpectedProgramBehavior

SemaphoreMeCreateFailed

45

Generating a semaphore of the MutualExclution type failed.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Initialization of the iq_stLogDataList list was successful.

SemaphoreMeCreateFailed

Enumeration name:

SemaphoreMeCreateFailed

Enumeration value:

45

Description:

Generating a semaphore of the MutualExclution type failed.

Issue

Cause

Solution

-

Generating a semaphore of the MutualExclution type failed.

Retry to initialize the iq_stLogDataList list.

Please inform your Schneider Electric representative about this detected error.