IF_TargetsHandlerEventsListener - OnSetTargetOwner (Method)

Overview

Type:

Method

Available as of:

V1.4.1.0

This chapter provides information on:

oTask

oDescription

oInterface

oDiagnostic Messages

Task

Provides user-specific diagnostics when the owner of a target is set.

Description

The OnSetTargetOwner method is called by the targets handler where the implementation of IF_TargetsHandlerEventsListener has been subscribed every time the owner of a target is set.

The following method triggers the event:

oSetTargetOwner

The diagnostics provided as output depend on your specific implementation. They are ignored by the library.

Interface

Input

Data type

Description

i_stTarget

ST_RobotTarget

Robot target structure containing the information on the target which owner is going to be set.

i_etRobotId

ET_SystemEntity

New owner ID of the target.

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

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Status Message: The method has been successfully called.