MC_AxRtLoggerSpool_BkPlcMc (from V3.0)
The function block deals with transferring messages from the LogBuffer of the library into the Windows Event Viewer. Further information about creating a log buffer can be found under FAQ #10 in the Knowledge Base.
Inputs/outputs
VAR_INOUT
pBuffer: POINTER TO ST_TcPlcMcLogBuffer;
END_VAR
Name | Type | Description |
---|---|---|
pBuffer | POINTER | Here the address of a variable of type ST_TcPlcMcLogBuffer is to be transferred.Description |
Behavior of the function block
With each call the function block removes a message from the LogBuffer and transfers it to the Windows Event Viewer.
If the computer uses a write-restricted mass storage medium (typically FLASH DISK), it makes no sense to use the Windows Event Viewer. An MC_AxRtLoggerDespool_BkPlcMc function block can be used to generate a history in any case.