FB_ListBalancing - AssignTargetsOwners (Method)

Overview

Type:

Method

Available as of:

V1.4.1.0

This chapter provides information on:

Task

Assign the owners of the targets in the list.

Description

The method AssignTargetsOwners, implements the algorithm that is applied to assign the owners of the targets in the list.

The call of this method is unsuccessful, if the property xValidData has a FALSE value.

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 of q_etDiagExt

Description

Ok

Ok

0

Ok

OK

MaxNumberOfAssignmentsPerCallRange

169

The value of the max number of assignments per call is out of range.

ExecutionAborted

BalancingStrategyDataInvalid

164

A balancing strategy function block is not configured with valid data.

BalancingStrategyDataInvalid

Enumeration name:

BalancingStrategyDataInvalid

Enumeration value:

164

Description:

A balancing strategy function block is not configured with valid data.

Issue

Cause

Solution

The method was not successfully called.

The method was called but no valid data was configured.

Ensure that xValidData is TRUE before calling the method.

MaxNumberOfAssignmentsPerCallRange

Enumeration name:

MaxNumberOfAssignmentsPerCallRange

Enumeration value:

169

Description:

The value of the max number of assignments per call is out of range.

Status message: The method was called successfully and the maximum number of assignments for call is reached.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Success

Status message: The method was called sucessfully.