FC_InitLogDataList - General Information
Type: |
Function |
Available as of: |
V1.0.4.0 |
Initialization of the ST_LogDataList data structure.
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.
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostic. A value unequal GD.ET_Diag.Ok equates an error message. |
|
q_etDiagExt |
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. |
Data type |
Description |
---|---|
BOOL |
TRUE: Execution successful. FALSE: Initialization of the data structure failed. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
UnexpectedProgramBehavior |
45 |
Generating a semaphore of the MutualExclution type failed. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
Initialization of the iq_stLogDataList list was successful.
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. |