FC_GetShortModuleName - General Information

Overview

Type:

Function

Available as of:

V1.0.4.0

Task

Determine module names without path details.

Description

The names of the superordinate modules and delimiters are removed from the module name.

Interface

Input

Data type

Description

i_sModuleName

STRING[80]

The complete module name

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 an error message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = ET_Diag.Ok -> Status message

q_etDiag <> ET_Diag.Ok -> Error message

Return Value

Data type

Description

STRING[20]

The name of the module without superordinate modules and delimiters

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The short name was determined successfully