IF_RobotPSeries - GetRobotData (Method)

Overview

Type:

Method

Available as of:

V2.14.0.0

Versions:

Current version

This chapter provides information on:

Task

Read parameters of the configured robot type.

Description

By calling up the method the parameters of the configured robot can be read.

Interface

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

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

q_stData

ST_DataPSeries

Read data of the configured Lexium P Robot.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

ExecutionAborted

RobotNotInitialized

89

The robot is not initialized.

Ok

Enumeration name:

Ok

Enumeration value:

0

Plain text:

Ok

Reading the parameters of the configured robot was successful.

RobotNotInitialized

Enumeration name:

RobotNotInitialized

Enumeration value:

89

Plain text:

The robot is not initialized.

Issue

Cause

Solution

Reading the parameter was not successful.

The robot is not initialized.

Verify that robot has been initialized successfully.