FB_RobotTSeries - RegisterLoggerPoint (Method)
|
Type: |
Method |
|
Available as of: |
V2.0.0.0 |
|
Versions: |
Current version |
This chapter provides information on:
oTask
By calling this method, the FB_RobotTSeries is being registered to the Application Logger.
The FB_RobotTSeries 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_RobotTSeries is registered. |
|
i_sName |
STRING[80] |
Define the name of the FB_RobotTSeries logger point, that is shown in the Application Logger. |
|
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 for the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
|
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
|---|---|---|---|
|
OK |
84 |
The LoggerPoint is already registered. |
|
|
OK |
0 |
Ok |
|
|
ExecutionAborted |
85 |
The maximum number of logger points is exceeded. |
|
|
ExecutionAborted |
86 |
The service is not registered. |
|
|
InputParameterInvalid |
87 |
The parent is invalid. |
|
|
InputParameterInvalid |
88 |
The parent is not registered. |
|
|
UnexpectedProgramBehavior |
9 |
The Feedback is incorrect. |
|
Enumeration name: |
LoggerPointAlreadyRegistered |
|
Enumeration value: |
84 |
|
Description: |
The LoggerPoint is already registered. |
Registering the function block FB_RobotTSeries as logger point to the Application Logger was successful.
The logger point is already registered in the Application Logger.
MaxNumberOfLoggerPointsExceeded
|
Enumeration name: |
MaxNumberOfLoggerPointsExceeded |
|
Enumeration value: |
85 |
|
Description: |
The maximum number of logger points is exceeded. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
Registering the function block FB_RobotTSeries as logger point to the Application Logger was unsuccessful. |
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: |
Ok |
|
Enumeration value: |
0 |
|
Description: |
Ok |
Registering the function block FB_RobotTSeries as logger point to the Application Logger was successful.
|
Enumeration name: |
ParentInvalid |
|
Enumeration value: |
87 |
|
Description: |
The parent is invalid. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
Registering the function block FB_RobotTSeries as logger point to the Application Logger was unsuccessful. |
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: |
88 |
|
Description: |
The parent is not registered. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
Registering the function block FB_RobotTSeries as logger point to the Application Logger was unsuccessful. |
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: |
86 |
|
Description: |
The service is not registered. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
Registering the function block FB_RobotTSeries as logger point to the Application Logger was unsuccessful. |
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 Application Logger. |
|
Enumeration name: |
UnexpectedFeedback |
|
Enumeration value: |
9 |
|
Description: |
The Feedback is incorrect. |
Registering the function block FB_RobotTSeries as logger point to the Application Logger was unsuccessful.