ListQueryPlc

function ListQueryPlc(QuerySymbol: TcHmi.Symbol, CallbackFunction: TcHmi.IFunction): void

The ListQueryPlc function can be used for asynchronous data exchange with the PLC. The FB_ListQueryHmi PLC data type serves as the counterpart. Data exchange takes place according to the following scheme:

ListQueryPlc 1:

Parameter

Name

Type

Description

QuerySymbol

TcHmi.Symbol

Handshake symbol which is used for communication with the PLC. Based on the FB_ListQueryHmi. PLC data type

CallbackFunction

TcHmi.IFunction

Callback function that is used for further processing of the asynchronously queried data.

Return value

Type

Description

void

no return value

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

Available: from version 12.16.0

Use: TC3 Plastic Application HMI Projects