All of the functions provided in the PD_Template library that access the ST_ExceptionList data structure use this function. Each user that accesses the ST_ExceptionList data structure directly (by avoiding the functions provided by the template) must ensure 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 -> diagnostic message |
Input/Output |
Data type |
Description |
---|---|---|
iq_stExceptionList |
Exception list that shall be initialized. |
Data type |
Description |
---|---|
BOOL |
TRUE - Initialization of the data structure was successful. FALSE - Initialization of the data structure failed. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
Ok |
0 |
Ok |
UnexpectedProgramBehavior |
SemaphoreMeCreateFailed |
45 |
Generating a semaphore of the MutualExclution type failed. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
Initialization of the exception 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_stExceptionList list. Please inform the support team about this error. |