IF_RobotConfigurationAdvanced - SetFeedbackState (Method)

Overview

Type:

Method

Available as of:

V3.2.0.0

This chapter provides information on:

Description

With the method SetFeedbackState(…) the state of a robot feedback can be defined.

Interface

Input

Data type

Description

i_etName

ET_RobotFeedback

Selects the robot feedback option to set the state on.

i_etValue

ET_FeedbackState

Selects the state for the robot feedback option.

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.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

InputParameterInvalid

RobotFeedbackInvalid

220

The robot feedback option is invalid.

InputParameterInvalid

FeedbackStateInvalid

221

The feedback state is invalid.

FeedbackStateInvalid

Enumeration name:

FeedbackStateInvalid

Enumeration value:

221

Description:

The feedback state is invalid.

Issue

Cause

Solution

Setting the state of the robot feedback was aborted.

The value transferred at the input i_etValue is not valid.

Ensure that the value of i_etValue is contained in ET_RobotFeedback.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Setting the state of the robot feedback was successful.

RobotFeedbackInvalid

Enumeration name:

RobotFeedbackInvalid

Enumeration value:

220

Description:

The robot feedback option is invalid.

Issue

Cause

Solution

Setting the state of the robot feedback was aborted.

The value transferred at the input i_etName is invalid.

Ensure that the value of i_etName is contained in ET_RobotFeedback.

Operating Modes

Operating Mode Description

Disable Robot Feedback

Robot feedback can be disabled by calling the method SetFeedbackState(…).

At the input i_etName the robot feedback to be disabled must be selected.

At the input i_etValue the value ET_FeedbackState.Disabled must be provided.

In case the output q_etDiag reports ET_Diag.Ok the robot feedback has been successfully disabled.

Enable Robot Feedback

Robot feedback can be enabled by calling the method SetFeedbackState(…).

At the input i_etName the robot feedback to be enabled must be selected.

At the input i_etValue the value ET_FeedbackState.Enabled must be provided.

In case the output q_etDiag reports ET_Diag.Ok the robot feedback has been successfully enabled.