IF_ConfigurationAdvanced - GetFeedbackState (Method)

Overview

Type:

Method

Available as of:

V2.13.0.0

This chapter provides information on:

Description

With the method GetFeedbackState(…) the options of a robot feedback can be verified.

Interface

Input

Data type

Description

i_etName

ET_RobotFeedback

Specifies the robot feedback option to verify whether it is enabled.

Output

Data type

Description

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic.

A value not equal 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 additional information on the diagnostic state.

q_etValue

ET_FeedbackState

State of the robot feedback option requested.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

InputParameterInvalid

RobotFeedbackInvalid

381

The robot feedback option is invalid.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Modifying the robot feedback was successful.

RobotFeedbackInvalid

Enumeration name:

RobotFeedbackInvalid

Enumeration value:

381

Description:

The robot feedback option is invalid.

Issue

Cause

Solution

Reading the robot feedback was aborted.

The value transferred at the input i_etValue is invalid, either a value not contained in ET_RobotFeedback or you requested ET_RobotFeedback.All.

Ensure that the value of i_etMode is contained in ET_RobotFeedback.