FB_RoboticModule - InitModuleInterface (Method)

Overview

Type:

Method

Available as of:

1.0.0.0

This chapter provides information on:

oTask

oDescription

oInterface

oDiagnostic Messages

Task

Initializing the RoboticModule interface.

Description

Parts of the module interface of the FB_RoboticModule consist of interfaces. Before they can be used, they have to be initialized by the module.

Interface

Output

Data type

Description

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic.

A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = GD.ET_Diag.Ok -> Status message

q_etDiag <> GD.ET_Diag.Ok -> Diagnostic message

q_sMsg

STRING[80]

Event-triggered message that gives more detailed information on the diagnostic state.

Input/Output

Data type

Description

iq_stRoboticModuleItf

ST_ModuleInterface

The interface of the RoboticModule that has to be initialized.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

UnexpectedProgramBehavior

InterfacesNotInitialized

42

An interface is not initialized.

InterfacesNotInitialized

Enumeration name:

InterfacesNotInitialized

Enumeration value:

42

Description:

An interface is not initialized.

Initializing the module interface was not successful.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Initializing the module interface was successful.