IF_Homing - MoveOnPos (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

This chapter provides information on:

oTask

oInterface

oDiagnostic Messages

Task

Selecting the homing by moving to an absolute position.

Interface

Input

Data type

Description

i_etComponent

ROB.ET_RobotComponent

Selecting the component for which a homing has to be executed by moving to an absolute position.

Valid values are:

oET_RobotComponent.All

oET_RobotComponent.AxisAll

oET_RobotComponent.AxisA

oET_RobotComponent.AxisB

oET_RobotComponent.AxisC

oET_RobotComponent.AxisD

oET_RobotComponent.AxisE

oET_RobotComponent.AxisF

oET_RobotComponent.AuxAxAll

oET_RobotComponent.AuxAx1 ... AuxAx10

i_lrMaxVelocity

LREAL

Specifies the maximum velocity during the homing.

Unit: [Unit/s]

Value range: i_lrMaxVelocity > 0

i_lrMaxAcceleration

LREAL

Specifies the acceleration during the homing.

Unit: [Unit/s2]

Value range: i_lrMaxAcceleration > 0

i_lrMaxDeceleration

LREAL

Specifies the deceleration during the homing.

Unit: [Unit/s2]

Value range: i_lrMaxDeceleration > 0

i_lrRamp

LREAL

Specifies the ramp during the homing.

Unit: [-]

Value range: i_lrRamp > 0

i_lrTarget

LREAL

Target of motion in units.

i_xRotativeSystem

BOOL

Rotative (endless) system.

Output

Data type

Description

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic.

A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = GD.ET_Diag.Ok -> Status message

q_etDiag <> GD.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

InputParameterInvalid

MaxAccelerationRange

31

The maximum acceleration is out of range.

InputParameterInvalid

MaxDecelerationRange

32

The maximum deceleration is out of range.

InputParameterInvalid

MaxVelocityRange

30

The maximum velocity is out of range.

InputParameterInvalid

RampRange

35

The ramp is out of range.

InputParameterInvalid

RobotComponentInvalid

144

The robot component is invalid.

MaxAccelerationRange

Enumeration name:

MaxAccelerationRange

Enumeration value:

31

Description:

The maximum acceleration is out of range.

Issue

Cause

Solution

The configuration of the homing mode was not successful.

The value transferred at the input i_IrMaxAcceleration is outside the valid range.

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

MaxDecelerationRange

Enumeration name:

MaxDecelerationRange

Enumeration value:

32

Description:

The maximum deceleration is out of range.

Issue

Cause

Solution

The configuration of the homing mode was not successful.

The value transferred at the input i_lrMaxDeceleration is outside the valid range.

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

MaxVelocityRange

Enumeration name:

MaxVelocityRange

Enumeration value:

30

Description:

The maximum velocity is out of range.

Issue

Cause

Solution

The configuration of the homing mode was not successful.

The value transferred at the input i_IrMaxVelocity is outside the valid range.

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

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The configuration of the homing mode was successful.

RampRange

Enumeration name:

RampRange

Enumeration value:

35

Description:

The ramp is out of range.

Issue

Cause

Solution

The configuration of the homing mode was not successful.

The value transferred at the input i_lrRamp is outside the valid range.

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

RobotComponentInvalid

Enumeration name:

RobotComponentInvalid

Enumeration value:

144

Description:

The robot component is invalid.

Issue

Cause

Solution

The configuration of the homing mode 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.