IF_RobotSCARA - GetPositionLimitAxis (Method)

Overview

Type:

Method

Available as of:

V.2.16.2.0

Versions:

Current version

This chapter provides information on:

Task

Read limits for the user range of axis positions.

Description

By calling the method, the limits for the axis A and B of a Lexium SCARA Robot can be read.

Default values are the maximum range of the axis.

Interface

Input

Data type

Description

i_etComponent

ET_RobotSCARAComponent

Component of the Lexium SCARA Robot.

Valid values are:

  • ET_RobotSCARAComponent.AxisA

  • ET_RobotSCARAComponent.AxisB

Output

Data type

Description

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_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_sMsg

STRING[80]

Event-triggered message that gives additional information on the diagnostic state.

q_lrMinValue

LREAL

Minimum limit for the valid range of an axis.

q_lrMaxValue

LREAL

Maximum limit for the valid range of an axis.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Successful

OK

RobotNotInitialized

89

The robot is not initialized.

InputParameterInvalid

RobotSCARAComponentInvalid

129

The Lexium SCARA Robot component is invalid.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Successful

The request to read the limits of an axis was successful.

RobotNotInitialized

Enumeration name:

RobotNotInitialized

Enumeration value:

89

Description:

The robot is not initialized.

Issue

Cause

Solution

The request to read the limits of an axis was successful, but the default data has not been set yet.

The valid default values have not been transferred yet.

Wait until the robot has been initialized and then call the method again.

RobotSCARAComponentInvalid

Enumeration name:

RobotSCARAComponentInvalid

Enumeration value:

129

Description:

The Lexium SCARA Robot component is invalid.

Issue

Cause

Solution

The request to modify the limits of an axis was unsuccessful.

The value transferred at the input i_etComponent was indeterminable.

Transfer a valid value of ET_RobotSCARAComponent at the input i_etComponent.