FB_RobotPSeries - GetControlLoopParameter (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Versions:

Current version

This chapter provides information on:

oTask

oDescription

oInterface

oDiagnostic Messages

Task

Read the parameter, which influences the control loop of the Lexium P Robot axes.

Description

By calling up the method, the present, minimum and maximum values of the parameter to influence the control loop of the Lexium P Robot axes can be read.

Interface

Input

Data type

Description

i_etName

ET_ControlLoopParameter

Type of control loop parameter.

i_etComponent

ET_RobotPSeriesComponent

Component of the Lexium P Robot.

Output

Data type

Description

q_lrValue

LREAL

Present value for the control loop parameter i_etName and for the component i_etComponent.

q_lrMinValue

LREAL

Minimum value for the control loop parameter i_etName and for the component i_etComponent.

q_lrMaxValue

LREAL

Maximum value for the control loop parameter i_etName and for the component i_etComponent.

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value not equal to ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output for 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

ExecutionAborted

RobotNotInitialized

89

The robot is not initialized.

InputParameterInvalid

ControlLoopParameterInvalid

59

The control loop parameter is invalid.

InputParameterInvalid

RobotPSeriesComponentInvalid

28

The Lexium P Robot component is invalid.

ControlLoopParameterInvalid

Enumeration name:

ControlLoopParameterInvalid

Enumeration value:

59

Description:

The control loop parameter is invalid.

Issue

Cause

Solution

Reading the control loop parameter was unsuccessful.

The value at the input i_etName is invalid.

Ensure that at the input i_etName a valid control loop parameter has been transferred.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Reading the control loop parameter was successful.

RobotNotInitialized

Enumeration name:

RobotNotInitialized

Enumeration value:

89

Description:

The robot is not initialized.

Issue

Cause

Solution

Reading the control loop parameter was unsuccessful.

The robot is not initialized.

Ensure that the robot has been initialized successfully.

RobotPSeriesComponentInvalid

Enumeration name:

RobotPSeriesComponentInvalid

Enumeration value:

28

Description:

The Lexium P Robot component is invalid.

Issue

Cause

Solution

Reading the control loop parameter was unsuccessful.

The value at the input i_etComponent is invalid.

Ensure that at the input i_etComponent a valid component has been transferred.