Type: |
Method |
Available as of: |
V.2.16.2.0 |
Versions: |
Current version |
This chapter provides information on:
The FB_RobotSCARA is registered to the global Application Logger.
For more information, refer to Using the Application Logger.
Input |
Data type |
Description |
---|---|---|
i_ifParent |
APL.IF_LoggerPoint |
Parent logger point under which the FB_RobotSCARA is registered. |
i_sName |
STRING[80] |
Defines the name of the FB_RobotSCARA logger point that is displayed 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 |
LoggerPointAlreadyRegistered |
84 |
The LoggerPoint is already registered. |
OK |
Ok |
0 |
Successful |
ExecutionAborted |
MaxNumberOfLoggerPointsExceeded |
85 |
The maximum number of logger points is exceeded. |
ExecutionAborted |
ServiceNotRegistered |
86 |
The service is not registered. |
InputParameterInvalid |
ParentInvalid |
87 |
The parent is invalid. |
InputParameterInvalid |
ParentNotRegistered |
88 |
The parent is not registered. |
UnexpectedProgramBehavior |
UnexpectedFeedback |
9 |
The feedback is incorrect. |
Enumeration name: |
LoggerPointAlreadyRegistered |
Enumeration value: |
84 |
Description: |
The LoggerPoint is already registered. |
Registering the function block FB_RobotSCARA as a logger point to the Application Logger was successful.
The logger point is already registered in the Application Logger.
Enumeration name: |
MaxNumberOfLoggerPointsExceeded |
Enumeration value: |
85 |
Description: |
The maximum number of logger points is exceeded. |
Issue |
Cause |
Solution |
---|---|---|
Registering the function block FB_RobotSCARA as a alogger point to the Application Logger was unsuccessful. |
There are already Gc_udiMaxNumberOfLoggerPoints logger points registered in the Application Logger (the Application Logger is also a logger point). |
The global parameter Gc_udiMaxNumberOfLoggerPoints must be increased to register the logger points of the project. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Successful |
Registering the function block FB_RobotSCARA as a 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_RobotSCARA as a logger point to the Application Logger was unsuccessful. |
An invalid object is transferred at the input i_ifParent. |
Transfer an object of the type APL.FB_LoggerPoint or APL.IF_ApplicationLogger at the input i_ifParent. |
Enumeration name: |
ParentNotRegistered |
Enumeration value: |
88 |
Description: |
The parent is not registered. |
Issue |
Cause |
Solution |
---|---|---|
Registering the function block FB_RobotSCARA as a 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_RobotSCARA as a logger point to the Application Logger was unsuccessful. |
The Application Logger communication service is not registered. |
The communication service of the Application Logger must be registered first. The method APL.IF_ApplicationLogger.RegisterCommunicationService must be called successfully once before a logger point can be registered in the Application Logger. |