SR_<Robot P-Series Name> - SetKinematicParameter (Method)

Overview

Type:

Method

Available as of:

V1.5.1.0

This chapter provides information on:

oFunctional Description

oInterface

oDiagnostic Messages

Functional Description

By calling the method, the kinematic parameter can be adapted.

For information on how to use the i_stCenterOfMass, refer to FB_RobotPSeries - SetKinemat­icParameter (Method) in the SchneiderElectricRobotics Library Guide.

Interface

Input

Data type

Description

i_etName

SER.ET_KinematicParameter

Select the kinematic parameter.

i_lrValue

LREAL

Mass of the selected kinematic parameter [kg].

i_stCenterOfMass

PDL.ST_Vector3D

Set the center of mass for the selected kinematic parameter [mm].

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

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

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

GripperMassSet

16

The gripper mass is set.

OK

ProductMassSet

17

The product mass is set.

InputParameterInvalid

GripperMassInvalid

18

The gripper mass is invalid.

InputParameterInvalid

KinematicParameterInvalid

15

The kinematic parameter is invalid.

InputParameterInvalid

ProductMassInvalid

19

The product mass is invalid.

GripperMassSet

Enumeration name:

GripperMassSet

Enumeration value:

16

Plain text:

The gripper mass is set.

Setting the gripper mass was successful.

ProductMassSet

Enumeration name:

ProductMassSet

Enumeration value:

17

Plain text:

The product mass is set.

Setting the product mass was successful.

GripperMassInvalid

Enumeration name:

GripperMassInvalid

Enumeration value:

18

Plain text:

The gripper mass is invalid.

Issue

Cause

Solution

Setting the gripper mass was not successful

The value transferred at the input i_lrValue is invalid.

A value greater than or equal to 0 must be transferred at the input i_lrValue.

KinematicParameterInvalid

Enumeration name:

KinematicParameterInvalid

Enumeration value:

15

Plain text:

The kinematic parameter is invalid.

Issue

Cause

Solution

Setting the kinematic parameter was not successful.

The value transferred at the input i_etName is invalid.

Verify that at the input i_etName a valid kinematic parameter has been transferred, and adjust if necessary.

ProductMassInvalid

Enumeration name:

ProductMassInvalid

Enumeration value:

19

Plain text:

The product mass is invalid.

Issue

Cause

Solution

Setting the gripper mass was not successful.

The value transferred at the input i_lrValue is invalid

A value greater than or equal to 0 must be transferred at the input i_lrValue.