FB_TempConfigQueryHmi

FB_TempConfigQueryHmi 1:

This class (FB) is used to iteratively query the temperature configurations of a temperature group.

Syntax:

FUNCTION_BLOCK FB_TempConfigQueryHmi EXTENDS FB_ListQueryHmi

FB_TempConfigQueryHmi 2: Properties

Name

Type

Access

Initial value

Description

Invoke

BOOL

Get, Set

FALSE

Triggering the data request via the HMI

FB_TempConfigQueryHmi

Active

BOOL

Get, (Set)

FALSE

The configuration data set is currently being used by the group.

GroupName

STRING(128)

Get, (Set)

‘Group {Index}‘

Name of the group in the configuration data set.

Note

STRING(128)

Get, (Set)

‘‘

User-specific note to describe the configuration data set.

Zones

INT

Get, (Set)

0

Number of zones that are grouped in the configuration data set.

FB_ListQueryHmi

Current

DINT

Get

0

Counter of the current entry that was transmitted. Is incremented implicitly when Next() is called.

Done

BOOL

Get, (Set)

FALSE

The PLC has transferred the last entry, the query process is complete.

Results

DINT

Get, (Set)

0

Counter of the total number of results that have been loaded. Must run ahead of the Current counter.

Select

DINT

Get, Set

0

Selection of a value read in the previous pass. The previous Current counter can be requested here for identification purposes, for example. A 0 is to be treated as no selection.

Valid

BOOL

Get, (Set)

FALSE

The current data entry is fully loaded and ready for further processing by the HMI.

FB_TempConfigQueryHmi 3: Methods

Type

Description

Next()

Gives the signal to process another data entry. The method resets the Valid flag and increments the Current counter.

FB_ListQueryHmi

Reset()

Resets all values (except for Invoke) to the initial value.

FB_TempConfigQueryHmi 4: Interfaces

Type

Description

I_ListQueryHmi

Standard interface on FB_ListQueryHmi.

I_TempConfigQueryHmi

Standard interface on FB_TempConfigQueryHmi.

Prerequisites

Development environment

Target platform

PLC libraries to include

TwinCAT >= v3.1.4024.54 (recommended)
TwinCAT >= v3.1.4024.42 (required)

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.10.2.0)