SR_<Robot S-Series Name> - GetPositionLimitAxis (Method)

Overview

Type:

Method

Available as of:

V1.0.1.0

This chapter provides information on:

oFunctional Description

oInterface

oDiagnostic Messages

Functional Description

By calling the method, the current limits for the axis A and B of a Robot S-Series can be read.

Default values are the maximum range of the axis.

Interface

Input

Data type

Description

i_etComponent

SER.ET_RobotSSeriesComponent

Component of the Robot S-Series.

Valid values are:

oET_RobotSSeriesComponent.AxisA

oET_RobotSSeriesComponent.AxisB

Output

Data type

Description

q_etDiagExt

SER.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

Ok

OK

RobotNotInitialized

89

The robot is not initialized.

InputParameterInvalid

RobotSSeriesComponentInvalid

94

The Robot S-Series component is invalid.

Ok

Enumeration name:

Ok

Enumeration value:

0

Plain text:

Ok

Reading the control loop parameter was successful.

RobotNotInitialized

Enumeration name:

RobotNotInitialized

Enumeration value:

89

Plain text:

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.

RobotSSeriesComponentInvalid

Enumeration name:

RobotSSeriesComponentInvalid

Enumeration value:

94

Plain text:

The Robot S-Series component is invalid.

Issue

Cause

Solution

The request to modify the limits of an axis was not successful.

The value transferred at the input i_etComponent was indeterminable.

Ensure that a valid value of SER.ET_RobotSSeriesComponent is transferred at the input i_etComponent.