FB_RobotPSeriesParameters - OptionalEquipment (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Versions:

Current version

This chapter provides information on:

oTask

oDescription

oInterface

oDiagnostic Messages

Task

Add optional equipment to a Lexium P Robot.

Description

By calling up the method optional equipment can be added to the robot selected in InitializeRobot.

The configured optional equipment can be verified with the property rateOptionalEquipment.

Interface

Input

Data type

Description

i_etOptionalEquipment

ET_OptionalEquipment

Select the optional equipment.

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.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

ExecutionAborted

RobotNotInitialized

6

The robot is not initialized.

ExecutionAborted

RobotTypeInvalid

2

The robot type is invalid.

InputParameterInvalid

OptionalEquipmentInvalid

8

The optional equipment is invalid.

InputParameterInvalid

UnknownOptionalEquipment

7

The optional equipment is indeterminable.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The configuration of the optional equipment was successful.

OptionalEquipmentInvalid

Enumeration name:

OptionalEquipmentInvalid

Enumeration value:

8

Description:

The optional equipment is invalid.

Issue

Cause

Solution

The configuration of the optional equipment was unsuccessful.

The value transferred at the input i_etOptionalEquipment is invalid.

Ensure that an element of the enumeration type ET_OptionalEquipment other than ET_OptionalEquipment.None is transferred.

RobotNotInitialized

Enumeration name:

RobotNotInitialized

Enumeration value:

6

Description:

The robot is not initialized.

Issue

Cause

Solution

The configuration of the optional equipment was unsuccessful.

The Lexium P Robot is not initialized.

Call the method InitializeRobot, and if required the method InitializeRotationalAxis, before calling the method OptionalEquipment.

RobotTypeInvalid

Enumeration name:

RobotTypeInvalid

Enumeration value:

2

Description:

The robot type is invalid.

Issue

Cause

Solution

The configuration of the optional equipment was unsuccessful.

The initialized robot type by the method InitializeRobot is invalid for the selected optional equipment.

The configured robot type does not support the selected optional equipment.

UnknownOptionalEquipment

Enumeration name:

UnknownOptionalEquipment

Enumeration value:

7

Description:

The optional equipment is indeterminable.

Issue

Cause

Solution

The configuration of the optional equipment was unsuccessful.

The value transferred at the input i_etOptionalEquipment is indeterminable.

Ensure that an element of the enumeration type ET_OptionalEquipment is transferred.