FB_ApplicationLoggerHandler - General Information

Overview

Type:

Function block

Available as of:

V1.0.4.0

Inherits from:

Implements:

Task

This function block gives access to the data collected by the application logger.

Description

Via this function block, the logger messages can be read out in IEC and the registered logger points can be reached.

Methods

Name

Description

DisableLogger

Disables the logging of messages.

EnableLogger

Re-enables the logging of messages

GetLogEntry

Returns a stored logger message

GetLoggerPoint

Returns a registered logger point

Properties

Name

Data type

Accessing

Description

udiFirstLogEntryId

UDINT

Read

The identification number of the oldest logger message that is stored in the buffer of the application logger.

udiLastLogEntryId

UDINT

Read

The identification number of the newest logger message that is stored in the buffer of the application logger.

udiNumberOfLogEntries

UDINT

Read

The number of logger messages that are stored in the buffer of the application logger.

udiNumberOfLoggerPoints

UDINT

Read

The number of logger points that are registered in the application logger.