IF_RobotConfigurationAdvanced - GetVelocityLimitationAxes (Method)

Overview

Type

Method

Available as of:

V2.5.0.0

This chapter provides information on:

Task

Reading the velocity limitation for robot axes.

Description

Calling the method GetVelocityLimitationAxes(…), the velocity limitation for robot axes is read.

Interface

Input

Data type

Description

i_etComponent

ET_RobotComponent

Component for which the limit is set.

Valid values are:

  • ET_RobotComponent.AxisA

  • ET_RobotComponent.AxisB

  • ET_RobotComponent.AxisC

  • ET_RobotComponent.AxisD

  • ET_RobotComponent.AxisE

  • ET_RobotComponent.AxisF

Output

Data type

Description

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.

q_lrUserLimit

LREAL

User-defined velocity limit for the given component.

The value of the drive parameter MaxVel is rated with the user limit.Unit: [%]

q_lrMaxRefPositionDeviation

LREAL

Maximum reference position deviation for the given component in case of the limitation of the axis velocity becomes active.

Unit: [°]

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

Ok

Ok

0

Ok

Ok

DriveNotConfigured

65

The drive is not configured.

InputParameterInvalid

ComponentInvalid

132

The component is invalid.

ComponentInvalid

Enumeration name:

ComponentInvalid

Enumeration value:

132

Description:

The component is invalid.

Issue

Cause

Solution

Configurating the velocity limitation was not successful.

The the value transferred at input i_etComponent is invalid.

Verify that at the input i_etComponent a valid component is transferred.

DriveNotConfigured

Enumeration name:

DriveNotConfigured

Enumeration value:

65

Description:

The drive is not configured.

Issue

Cause

Solution

Configurating the velocity limitation was not successful.

The component transferred at the input i_etComponent is not configured.

Verify that at the input i_etComponent an already configured component is transferred.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Configurating the velocity limitation was successful.