IF_RobotJogging - SetRamp (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

This chapter provides information on:

oTask

oDescription

oInterface

oDiagnostic Messages

Task

Setting the ramp.

Description

With the method SetRamp(...), you can determine the ramp (change of the acceleration/deceleration) with which the jogging motion of the robot has to be executed.

For further information, refer to Detailed description of the motion parameter Ramp.

Interface

Input

Data type

Description

i_etComponent

ET_RobotComponent

Specifies for which robot components the motion parameters have to be set.

Valid values are:

oET_RobotComponent.All

oET_RobotComponent.Path

oET_RobotComponent.CartesianAll

oET_RobotComponent.CartesianX

oET_RobotComponent.CartesianY

oET_RobotComponent.CartesianZ

oET_RobotComponent.OrientationAll

oET_RobotComponent.OrientationX

oET_RobotComponent.OrientationY

oET_RobotComponent.OrientationZ

oET_RobotComponent.AuxAxAll

oET_RobotComponent.AuxAx1 ... AuxAx10

For further information, refer to ET_RobotComponent.

i_lrValue

LREAL

Specifies the ramp (change of the acceleration/deceleration) with which the jogging motion of the robot or an auxiliary axis has to be executed.

The specification of the ramp can be executed again at any time.

The specification of the ramp applies to the jogging motion commands following thereafter.

Unit: [-]

Value range: i_lrValue > 0.0 AND i_lrValue >= Emergency ramp set with the method IF_RobotConfiguration.SetEmergencyParameter

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

ExecutionAborted

ExternalPositionSourceConfigured

205

The external position source is configured.

InputParameterInvalid

AuxiliaryAxisNotConfigured

127

The auxiliary axis is not configured.

InputParameterInvalid

ComponentInvalid

132

The component is invalid.

InputParameterInvalid

RampRange

20

The ramp is out of range.

InputParameterInvalid

OrientationNotAvailable

199

The orientation is not available.

AuxiliaryAxisNotConfigured

Enumeration name:

AuxiliaryAxisNotConfigured

Enumeration value:

127

Description:

The auxiliary axis is not configured.

Issue

Cause

Solution

Setting the jogging motion parameters was not successful.

The value transferred at the input i_etComponent corresponds to no configured auxiliary axis.

Ensure that the axis is configured before using an auxiliary axis.

ComponentInvalid

Enumeration name:

ComponentInvalid

Enumeration value:

132

Description:

The component is invalid.

Issue

Cause

Solution

Setting the jogging motion parameter was not successful.

The value transferred at the input i_etComponent is invalid.

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

ExternalPositionSourceConfigured

Enumeration name:

ExternalPositionSourceConfigured

Enumeration value:

205

Description:

The external position source is configured.

Issue

Cause

Solution

Setting the jogging motion parameters was not successful.

An external position source for the robot components cartesian, orientation and auxiliary axes is configured.

Setting the jogging motion parameters for the component Path is not possible when an external position source for the robot components is configured.

Do not set the jogging motion parameters for the component Path.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The jogging motion parameter has been set successfully.

OrientationNotAvailable

Enumeration name:

OrientationNotAvailable

Enumeration value:

199

Description:

The orientation is not available.

Issue

Cause

Solution

Setting the jogging motion parameter was not successful.

The orientation transferred at the input i_etComponent is not available.

Ensure that the transformation used supports the orientation.

RampRange

Enumeration name:

RampRange

Enumeration value:

20

Description:

The ramp is out of range.

Issue

Cause

Solution

Setting the jogging motion parameters was not successful.

The value transferred at the input i_lrValue lies outside the valid range.

At the input i_lrValue, a value greater than 0 must be transferred.

At the input i_lrValue, a value less than EmergencyRamp must be transferred.