IF_TargetsHandler - UpdateTargets (Method)

Overview

Type:

Method

Available as of:

V1.4.1.0

This chapter provides information on:

Task

Performs an update on the targets in the list.

Description

The method UpdateTargets performs an update on the targets in the list resulting in the following actions:

  • Updating the pose of every target in the list in accordance with the present state of the logical encoder assigned to the function block.

  • Automatically handling a possible rollover of the logical encoder assigned to the function block, updating the targets in the list accordingly.

  • Depending on the configuration, automatically removing all targets reaching the maximum tracking position.

Interface

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 = ET_Diag.Ok -> Status message

q_etDiag <> ET_Diag.Ok -> Diagnostic message

q_sMsg

STRING[80]

Event-triggered message that gives more detailed information on the diagnostic state.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

Ok

Ok

0

Ok

ExecutionAborted

NotConfigured

101

The function block is not configured yet.

NotConfigured

Enumeration name:

NotConfigured

Enumeration value:

101

Description:

The function block is not configured yet.

Issue

Cause

Solution

The targets have not been successfully updated.

The Configuration method has not been called yet.

Ensure that the Configuration method has been successfully called before calling this method.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Success

Status Message: The targets have been successfully updated.