IF_TargetManager - RemoveFirstTarget (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Versions:

Current version

Task

Delete the first target.

Description

The target that is located the furthest on the target belt is deleted from the list of all targets.

Interface

Output

Data type

Description

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnosis.

A value unequal GD.ET_Diag.Ok equates an error message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnosis.

q_etDiag = GD.ET_Diag.Ok -> status message

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

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

ExecutionAborted

NoTargetExisting

76

No target could be found.

NoTargetExisting

Enumeration name:

NoTargetExisting

Enumeration value:

76

Description:

No target could be found.

Issue

Cause

Solution

-

No target exists.

It must be made sure that a target is defined.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The foremost target has been deleted successfully.