FB_TrendHmi
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:
- The first
x
views are pre-reserved for displaying the temperature groups - Default
x := 5
- Automatically adapting to the set number of groups
- When the FB_Temperature group configuration is changed, the views are automatically adapted as well
- All values attached via
Append()
are available for configuration by theConfigXyz()
methods
Syntax:
FUNCTION_BLOCK FB_TrendHmi EXTENDS FB_Base
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
SelectedView | INT | Get, Set | 0 | Selected view |
Methods
Name | Description |
---|---|
Append a value to be recorded in the trend and selected in views. | |
Append the temperature zones of an FB_Temperature instance | |
CheckSupport() | [PROTECTED] Checks the support of the appended object |
Overwrites the instance name of a display value. | |
Overwrites the instance name with a localization key. | |
ConfigDisplayLocalisationNuget() | Overwrites the instance name with a localization key from the TF8550.Localisation package. |
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
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) |