FB_VelocityRatioAlgorithm - RegisterLoggerPoint (Method)
Type: |
Method |
Available as of: |
V1.2.0.0 |
The method registers the internal logger point in the Application Logger.
The function block contains a logger point implemented for the Application Logger. After successfully calling up this method, the function block sends messages to the Application Logger via this logger point. This method is identical to the call-up of the RegisterLoggerPoint method at FB_LoggerPoint.
After registration:
oThe function block automatically sends messages to the Application Logger.
oThe APL.ET_LogLevel enumeration (logger level) describes the type and importance of a message.
oDepending on the respective function block, various information is forwarded within a message (e.g. a list of diagnostic outputs).
Input |
Data type |
Description |
---|---|---|
i_ifParent |
The parent logger point under which the logger point of the function block shall be registered. The global variable G_ifApplicationLogger is also a logger point. |
|
i_sName |
STRING[80] |
The name of the function block logger point which shall be displayed in the Application Logger must be defined here. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to an error message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Error message |