FB_TableWriter - General Information

Overview

Type:

Function Block

Available as of:

1.1.2.0

Inherits from:

-

Implemented:

-

Task

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

FB_TableWriter 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

HeaderAddColumn

Adding a column to the table including its configuration and label

HeaderFinish

Ends writing after all table header data have been inserted

HeaderStart

Prepares writing of the table header data

RowEnd

Ends writing of a row

RowStart

Prepares a new row for writing values

RowValue

Writing the content of individual cells of a row

TableEnd

Every XML table output must be finished using this command.

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_TableWriter

stTableInfo

ST_TableInfo

Read

Structure with state data of the instance