FillParamTable

function FillParamTable(TableControl, Symbol, Excluded): 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.

Sample call:

FillParamTable 1:

Sample result:

FillParamTable 2:

Parameter

Name

Type

Description

TableControl

TcHmi.Controls.Plastic.Table

The table to be filled.

Symbol

TcHmi.Symbol

The symbol to be used for filling the table.

Excluded

TcHmi.Symbol[]

Subsymbols to be excluded when filling the table.

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