FB_TreeWriter - General Information

Overview

Type:

Function Block

Available as of:

1.1.2.0

Inherits from:

-

Implemented:

-

Description

Implements functions for creating an XML structure for representation in the form of a tree structure in PacDrive Diagnostics. The output is interactively structured by calling up the different methods.

FB_TreeWriter requires no module initialization (init body is not to be called up directly). The output path in diFileId must be set before the first use of the methods.

Methods

Name

Description

NodeEnd

Ends an XML structure node

NodeStart

Starts an XML structure node

Parameter

Inserting an entry into a tree structure node

TreeEnd

Ends the XML tree structure output

TreeStart

Starts the XML tree structure output

Properties

Name

Data type

Accessing

Description

diFileId

DINT

Read/Write

Handle on XML file acc. to SYSTEMINTERFACE file ID Must be set before the first use of FB_TreeWriter

stTreeInfo

ST_TreeInfo

Read

Structure with state data of the instance

udiCurrenNodeId

UDINT

Read

Hierarchy level of the tag in the XML structure tree