FB_ApplicationLoggerHandler - GetLoggerPoint (Method)
Type: |
Method |
Available as of: |
V1.0.4.0 |
This method returns the interface to a registered logger point.
By registration to the application logger, the logger points are provided with an identification number.
The application logger itself has the number 1. The other logger points get their number according to the order in which they are registered.
Input |
Data type |
Description |
---|---|---|
i_udiId |
UDINT |
The identification number of the logger point. |
Output |
Data type |
Description |
---|---|---|
q_ifLoggerPoint |
The interface to the logger point. |
|
q_etDiag |
General, library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic 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 |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
InputParameterInvalid |
11 |
The Id is invalid. |
|
UnexpectedProgramBehavior |
14 |
The application logger interface is not supported. |
|
UnexpectedProgramBehavior |
13 |
The application logger has not been set. |
|
UnexpectedProgramBehavior |
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. |
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. |
Enumeration name: |
IdInvalid |
Enumeration value: |
11 |
Description: |
The Id is invalid. |
Cause |
Solution |
---|---|
At the input i_udiId, an invalid value has been transferred. |
At the input i_udiId, a value between udiFirstLogEntryId and udiLastLogEntryId must be transferred. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The logger point interface is returned successfully.
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. |