FB_RunTimeMeasurement - End (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Versions:

Current version

Task

Completes a currently running time measurement

Description

The currently running time measurement is being completed and evaluated. The statistical data of the function block are being updated.

Interface

Output

Data type

Description

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic.

A value not equal to ET_Diag.Ok corresponds to an diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = ET_Diag.Ok -> Status message

q_etDiag <> ET_Diag.Ok -> Diagnostic message

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

ExecutionAborted

StartMethodNotCalled

113

The Start method has not been called up.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The measurement has been completed successfully and the measured values have been updated.

StartMethodNotCalled

Enumeration name:

StartMethodNotCalled

Enumeration value:

113

Description:

The Start method has not been called up.

Issue

Cause

Solution

-

The Start method has not been called up.

Ensure that every time before the End method is called up, the Start method has been called up once.