FB_TeachingFixedSystem - GetProcedureData (Method)

Overview

Type:

Method

Available as of:

V1.8.0.0

This chapter provides information on:

Task

Gets the data set for the procedure.

Description

The method GetProcedureData (...) is used to get the data that are previously set for the procedure.

Access: PUBLIC

Interface

Output

Data type

Description

q_xError

BOOL

TRUE: An error occurred during last command. For more information refer also to q_etResult and q_sResultMsg.

q_etResult

ET_Result

Provides diagnostic and status information.

If q_xError = FALSE, then q_etResult provides status information.

If q_xError = TRUE, then q_etResult provides diagnostic/error information.

The enumeration ET_Result contains the possible values of the POU operation results.

q_sResultMsg

STRING[80]

Provides additional information about the current status of the POU.

Return Value

Data type

Description

ST_TeachingLinearMotionSystemData

Data that is set for the procedure.

Diagnostic Messages

q_xError

q_etResult

Enumeration value of q_etResult

Description

FALSE

Ok

0

Success.

TRUE

ProcedureDataNotSet

57

No data is set for the procedure.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Success.

Status message: Getting the data set for the procedure was successful.

ProcedureDataNotSet

Enumeration name:

ProcedureDataNotSet

Enumeration value:

57

Description:

No data is set for the procedure.

Issue

Cause

Solution

It is not possible to get the data for the teaching procedure.

The procedure data is not set.

Make a successful call of the method SetProcedureData before calling this method.