The FB_Robot is registered to the global Application Logger.
Further information can be found under Using the Application Logger in this help.
Input |
Data type |
Description |
---|---|---|
i_ifParent |
APL.IF_LoggerPoint |
Parent logger point under which the FB_Robot is registered. |
i_sName |
STRING[80] |
The name of the FB_Robot logger point that is shown in the Application Logger has to be declared here. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostics message |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
LoggerPointAlreadyRegistered |
67 |
The logger point is already registered. |
OK |
Ok |
0 |
Ok |
ExecutionAborted |
MaxNumberOfLoggerPointsExceeded |
68 |
The maximum number of logger points was exceeded. |
ExecutionAborted |
ServiceNotRegistered |
69 |
The service is not registered. |
InputParameterInvalid |
NameInvalid |
53 |
The name is invalid. |
InputParameterInvalid |
ParentInvalid |
70 |
The parent is invalid. |
InputParameterInvalid |
ParentNotRegistered |
71 |
The parent is not registered. |
UnexpectedProgramBehavior |
UnexpectedFeedback |
13 |
A feedback value was invalid. |
Enumeration name: |
LoggerPointAlreadyRegistered |
Enumeration value: |
67 |
Description: |
The logger point is already registered. |
Registering the function block FB_Robot as logger point to the Application Logger was successful.
The logger point is already registered in the Application Logger.
Enumeration name: |
MaxNumberOfLoggerPointsExceeded |
Enumeration value: |
68 |
Description: |
The maximum number of logger points was exceeded. |
Issue |
Cause |
Solution |
---|---|---|
Registering the function block FB_Robot as logger point to the Application Logger was not successful. |
There are already Gc_udiMaxNumberOfLoggerPoints logger points registered in the Application Logger (the Application Logger itself is also a logger point). |
The global parameter Gc_udiMaxNumberOfLoggerPoints has to be set to a greater value to register all logger points of the project. |
Enumeration name: |
NameInvalid |
Enumeration value: |
53 |
Description: |
The name is invalid. |
Issue |
Cause |
Solution |
---|---|---|
Registering the function block FB_Robot as logger point to the Application Logger was not successful. |
An invalid name has been transferred at the input i_sName. |
Ensure that at the input i_sName a name is transferred that does not include a ':'. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
Registering the function block FB_Robot as logger point to the Application Logger was successful.
Enumeration name: |
ParentInvalid |
Enumeration value: |
70 |
Description: |
The parent is invalid. |
Issue |
Cause |
Solution |
---|---|---|
Registering the function block FB_Robot as logger point to the Application Logger was not successful. |
An invalid object has been transferred at the input i_ifParent. |
Ensure that at the input i_ifParent an object of the type APL.FB_LoggerPoint or APL.IF_ApplicationLogger is transferred. |
Enumeration name: |
ParentNotRegistered |
Enumeration value: |
71 |
Description: |
The parent is not registered. |
Issue |
Cause |
Solution |
---|---|---|
Registering the function block FB_Robot as logger point to the Application Logger was not successful. |
The logger point transferred at the input i_ifParent is not registered in the Application Logger. |
The logger point transferred at the input i_ifParent must be registered in the Application Logger first. |
Enumeration name: |
ServiceNotRegistered |
Enumeration value: |
69 |
Description: |
The service is not registered. |
Issue |
Cause |
Solution |
---|---|---|
Registering the function block FB_Robot as logger point to the Application Logger was not successful. |
The Application Logger communication service is not registered. |
The communication service of the Application Logger has to be registered first. The method APL.IF_ApplicationLogger.RegisterCommunicationService has to be called successfully once, before a logger point can be registered in the ApplicationLogger. |