FillParamTable


function FillParamTable(TableControl: TcHmi.Controls.Plastic.Table, Symbol?: TcHmi.Symbol, Excluded?: TcHmi.Symbol[], Config?: string): void

The function FillParamTable fills a table of the type TcHmi.Controls.Plastic.Table with the machine data of a PLC symbol. All the structured subsymbols whose instance name starts with "fbParams" are taken into account. For each found instance of a fbParams, a subcategory is defined and the available subsymbols are inserted.

In addition to the inserted parameters, in the TcHmi.Controls.Plastic.Table further own parameters can be defined under the attribute FirstTable. These are inserted after the generated table entries.

Example call:

FillParamTable 1:

Sample result:

FillParamTable 2:

Parameters

Name

Type

Description

TableControl

TcHmi.Controls.Plastic.Table

The table to be filled.

Symbol [ Optional ]

TcHmi.Symbol

The symbol to be used to fill the table.
If no symbol is passed, the first symbol of the Tables attribute is used.
Optional: from version v12.22.0

Excluded [ Optional ]

TcHmi.Symbol[]

Subsymbols to be excluded when filling the table.

Config [ Optional ]

string

File path within the project that contains a Config file with user-specific parameter attributes.

Available: from version v12.22.0

Return value

Type

Description

void

no return value

NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Functions

Available: from version 12.8.0

Usage: TC3 Plastic Application HMI projects