FB_TempCtrl
![]() | Class is 'obsolete' This class is marked as |
Alternative: FB_Temperature
Original version:

Main class of temperature control to manage all temperature zones and groups.
Syntax:
FUNCTION_BLOCK FB_TempCtrl EXTENDS FB_BaseMd
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
DisableAlarms | BOOL | Get, Set | FALSE | Suppresses alarms triggered by errors in a temperature zone. |
DisableMessages | BOOL | Get, Set | FALSE | Suppresses debug messages of the TF8540 library. |
EnableCallback | BOOL | Get, Set | TRUE | Enables communication with the I/O components. |
EnableConfig | BOOL | Get, Set | TRUE | Enables the configuration of all zones. |
EnableLooptest | BOOL | Get, Set | FALSE | Enables current monitoring of all zones. |
Groups | REFERENCE TO ARRAY[] OF FB_TempGroup | Get | - | Control of the individual groups. |
LibScopeVars | REFERENCE TO FB_Scope_TempCtrlVariables | Get | - | Access to an overview of TF8540 live data. |
RefMdTempSupply | REFERENCE TO ARRAY [] OF FB_MdTempSupply | Get | - | Access to the array of machine data containers of all supply units. |
RefMdTempZone | REFERENCE TO ARRAY[] OF FB_MdTempZone | Get | - | Access to the array of machine data containers of all temperature zones. |
Timer | I_TempSchedule | Get | NULL | Access to the connected scheduler. |
Methods
Name | Description |
---|---|
Creates a default parameterization for all temperature zones. | |
Enables all temperature zones on the PLC side. | |
Assigns a linear arrangement of zones to a group. | |
Assigns a group to a supply unit. | |
Assigns a zone to a group. | |
Configures the current operation mode. | |
SetScheduler() | Assigns a schedule to the temperature control. |
Sets all zones to standby. | |
UnlinkGroup() | Removes all links to a group. |
Interfaces
Type | Description |
---|---|
I_TempCtrl | Standard interface on FB_TempCtrl |
I_TempCtrlMdRef | Interface for the transfer of zone machine data |
I_TempTaskInterface | Runtime interface for a slow PLC task |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.5.0) |