FB_TrendHmi

FB_TrendHmi 1:

Support class for the TwinCAT HMI SQLiteTrend with pre-implemented views. The TF8550 function TcHmi.Functions.Plastic.UpdateTrend() is required for use. The selected view is additionally determined by the property SelectedView. The following objects with corresponding interface can be attached to the trend:

Type

Display value

I_ExtruderHmi

Actual turnrate of the extruder [RPM]

I_MonitoringHmi

Monitoring value [any]

I_TempChannel

Actual temperature of a temperature channel [°C]

I_Temperature

Actual temperature of each grouped temperature channel [°C]

I_TempCtrlHmi 1

Temperature of each zone [°C]

1 Obsolete

Internal functions:

Syntax:

FUNCTION_BLOCK FB_TrendHmi EXTENDS FB_Base

FB_TrendHmi 2: Properties

Name

Type

Access

Initial value

Description

SelectedView

INT

Get, Set

0

Selected view

FB_TrendHmi 3: Methods

Name

Description

Append()

Append a value to be recorded in the trend and selected in views.

AppendTempChannels()

Append the temperature zones of an FB_Temperature instance

CheckSupport()

[PROTECTED] Checks the support of the appended object

ConfigDisplayName()

Overwrites the instance name of a display value.

ConfigDisplayLocalisation()

Overwrites the instance name with a localization key.

ConfigDisplayLocalisationNuget()

Overwrites the instance name with a localization key from the TF8550.Localisation package.

ConfigView()

Configures a value in a selectable view.

Idx()

Returns the object at the xth position.

AppendTempZones() 1

Append the temperature zones of an FB_TempCtrl instance.

1 Obsolete

FB_TrendHmi 4:

Exceptions avoidance

The Idx() function returns the first element (root) of the list on invalid requested index.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.42

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.6.0)