IF_ConfigurationAdvanced - SetMotionProfileType (Method)

Overview

Type:

Method

Available as of:

V2.15.0.0

This chapter provides information on:

Description

With the method SetMotionProfileType(…), the motion profile type to be used for the selected robot component can be configured.

Interface

Input

Data type

Description

i_etComponent

ET_RobotComponent

Robot component on which the motion profile type is set.

i_etValue

ET_MotionProfileType

Motion profile type to be used for the selected robot component.

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

ConfigurationAlreadyCompleted

154

The configuration is already completed.

ExecutionAborted

ExternalPositionSourceConfigured

357

The external position source is configured.

InputParameterInvalid

ComponentInvalid

144

The component is invalid.

InputParameterInvalid

MotionProfileTypeInvalid

390

The motion profile type is invalid.

ConfigurationAlreadyCompleted

Enumeration name:

ConfigurationAlreadyCompleted

Enumeration value:

154

Description:

The configuration is already completed.

Issue

Cause

Solution

The configuration of the motion profile type was not successful.

The method ConfigDone( ) was already called successfully.

Ensure that the method SetMotionProfileType() to configure the motion profile type is called before the configuration is completed.

ComponentInvalid

Enumeration name:

ComponentInvalid

Enumeration value:

144

Description:

The component is invalid.

Issue

Cause

Solution

The configuration of the motion profile type was not successful.

The value transferred at the input i_etComponent is invalid.

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

Valid components are

  • ROB.ET_RobotComponent.AuxAxAll

  • ROB.ET_RobotComponent.OrientationAll

ExternalPositionSourceConfigured

Enumeration name:

ExternalPositionSourceConfigured

Enumeration value:

357

Description:

The external position source is configured.

Issue

Cause

Solution

The configuration of the motion profile type was not successful.

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

Do not set the motion profile type. Setting the motion profile type is not possible when an external position source for the robot components is configured.

MotionProfileTypeInvalid

Enumeration name:

MotionProfileTypeInvalid

Enumeration value:

390

Description:

The motion profile type is invalid.

Issue

Cause

Solution

The configuration of the motion profile type was not successful.

The motion profile type transferred at the input i_etValue is invalid.

Ensure that a valid element of enumeration type ROB.ET_MotionProfileType is transferred at the input i_etValue.

The combination of the value transferred to the inputs i_etValue and i_etComponent is invalid.

Transferring the value ROB.ET_MotionProfileType.MoveSyncMaxVelocity at the input i_etValue is valid only when ROB.ET_RobotComponent.AuxAxAll or ROB.ET_RobotComponent.OrientationAll is transferred at the input i_etComponent.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The configuration of the motion profile type for the selected robot component was successful.