SR_<Robot T-Series Name> - RegisterLoggerPoint (Method)

Overview

Type:

Method

Available as of:

V1.3.1.0

This chapter provides information on:

Functional Description

The Smart Template Robot T-Series Module is registered to the Application Logger.

Further information can be found under Using the Application Logger in this help.

Interface

Input

Data type

Description

i_ifParent

APL.IF_LoggerPoint

Parent logger point under which the SR_<Robot T-Series Name> is registered.

I_sName

STRING[80]

The name of the SR_<Robot T-Series Name> logger point that is shown in the Application Logger is declared here.

Output

Data type

Description

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = GD.ET_Diag.Ok -> Status message

q_etDiag <> GD.ET_Diag.Ok -> Diagnostic message

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value of q_etDiagExt

Plain text

Ok

LoggerPointAlreadyRegistered

5

The logger point is already registered.

Ok

0

Ok

ExecutionAborted

MaxNumberOfLoggerPointsExeeded

10

The maximum number of logger points was exceeded.

ServiceNotRegistered

17

The service is not registered.

InputParameterInvalid

ParentInvalid

6

The parent is invalid.

ParentNotRegistered

8

The parent is not registered.

UnexpectedProgramBehavior

UnexpectedFeedback

3

A feedback value was unexpected.

LoggerPointAlreadyRegistered

Enumeration name:

LoggerPointAlreadyRegistered

Enumeration value:

5

Plain text:

Logger point is already registered.

Registering the Smart Template robot module as logger point to the Application Logger has been previously validated.

Status message: The logger point is already registered in the Application Logger.

MaxNumberOfLoggerPointsExeeded

Enumeration name:

MaxNumberOfLoggerPointsExceeded

Enumeration value:

10

Plain text:

The maximum number of logger points is exceeded.

Issue

Cause

Solution

The maximum number of logger points has been exceeded.

Registering the Smart Template robot module as logger point to the Application Logger was not successful.

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 the logger points of the project.

Ok

Enumeration name:

Ok

Enumeration value:

0

Plain text:

Ok

Status message: Registering the Smart Template robot module as logger point to the Application Logger was successful.

ParentInvalid

Enumeration name:

ParentInvalid

Enumeration value:

6

Plain text:

The parent is invalid.

Issue

Cause

Solution

The parent is invalid. Registering the Smart Template robot module as logger point to the Application Logger was not successful.

An invalid object was transferred at the input i_ifParent.

Verify that at the input i_ifParent an object of type APL.FB_LoggerPoint or APL.IF_ApplicationLogger is transferred, and adjust if necessary.

ParentNotRegistered

Enumeration name:

ParentNotRegistered

Enumeration value:

8

Plain text:

The parent is not registered.

Issue

Cause

Solution

The parent is not registered. Registering the Smart Template robot module as logger point to the Application Logger was not successful.

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.

ServiceNotRegistered

Enumeration name:

ServiceNotRegistered

Enumeration value:

17

Plain text:

The service is not registered.

Issue

Cause

Solution

The service is not registered. Registering the Smart Template robot module as logger point to the Application Logger was not successful.

The Application Logger communication service is not registered.

The communication service of the Application Logger has to be registered first. The interface IF_ApplicationLogger.RegisterCommunicationService has to be successful once before a logger point can be registered in the Application Logger.

UnexpectedFeedback

Enumeration name:

UnexpectedFeedback

Enumeration value:

3

Plain text:

Unexpected feedback during execution

Issue

Cause

Solution

An unintended detected error occurred during execution.

Registering the Smart Template robot module as logger point to the Application Logger was not successful.

-