FB_TreeWriter - TreeStart (Method)

Overview

Type:

Method

Available as of:

1.1.2.0

Versions:

Current version

Task

Starts the XML tree structure output

TreeEnd() must be called up to end the tree structure.

Interface

Input

Data type

Description

i_sName

STRING(Gc_udiTableWriterMaxNameLength)

Unique string ID used for identifying the respective source of the written date when creating XML tags

i_sTypeName

STRING(Gc_udiTableWriterMaxNameLength)

String ID for classifying the diagnostic sources of a common type

i_sTitleEnglish

STRING(80)

Displayed English title of the subsection in the navigation bar in PacDrive Diagnostics

i_sTitleGerman

STRING(80)

Displayed German title of the subsection in the navigation bar in PacDrive Diagnostics

i_uiPrintRank

UINT

Priority for printing

i_sEmptyListTextEnglish

STRING(80)

English display text in PacDrive Diagnostics if the table is empty

i_sEmptyListTextGerman

STRING(80)

German display text in PacDrive Diagnostics if the table is empty

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

q_sMsg

STRING(80)

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

Return Value

Data type

Description

BOOL

Returns TRUE if successful, FALSE in the case of errors