ST_TcPfw_TempToHmi_Itf

Such a structure contains the visualization data of a zone of temperature control.

Syntax

TYPE ST_TcPfw_TempToHmi_Itf :
(* last modification: 25.09.2008 *)
STRUCT
ActualTemp        : LREAL;
SupplyMatch       : LREAL;
ActCurrent        : LREAL; 
FileErrId         : DINT;
ErrorId           : UINT;
ModuleId          : INT;
PowerLevel        : INT;
ZoneId            : INT;
Cooling           : BOOL;
Enable            : BOOL;
Error             : BOOL;
FileErr           : BOOL;
Heating           : BOOL;
InUse             : BOOL;
OnStandBy         : BOOL;
TuningActive      : BOOL;
TuningDone        : BOOL;
IdleLoadActive    : BOOL;
IdleLoadDone      : BOOL;
LooptestActive    : BOOL;
ExtruderCompActive: BOOL; 
ExtruderCompDone  : BOOL; 
(*
*)
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

ActualTemp

LREAL

The actual temperature of the zone.

SupplyMatch

LREAL

Reflects the relationship between measured current power and the specified target power.

ActCurrent

LREAL

Actual current.

FileErrId

DINT

In case of storage/loading of the zone, a coded information is provided here. However, only if saving and loading are performed via the machine and product parameters.

ErrorId

UINT

In the event of an error, coded information is provided here. The conversion of the error number into a plain text can be seen in the global variables. Error numbers that are not listed there are usually general Beckhoff error numbers of subordinate function blocks (mostly ADS errors).

ModuleId

INT

This Id specifies the group to which this zone is assigned.

PowerLevel

INT

This value reflects the power value specified by the controller in %.

ZoneId

INT

This Id reflects the classification of the zone within its group.

Cooling

BOOL

A TRUE here indicates that the zone is actively cooling.

Enable

BOOL

A TRUE here indicates that the controller is enabled for the zone.

Error

BOOL

A TRUE here indicates that a controller, autotuning or hardware error has occurred in the zone.

FileErr

BOOL

A TRUE here signals that an error has occurred in the storage/loading case of the zone.

Heating

BOOL

A TRUE here indicates that the zone is actively heating.

InUse

BOOL

A TRUE here indicates that the zone is an active part of the current configuration. Prerequisite is that in the machine parameters ModuleId<>0; ZoneId<>0; SupplyId<>0 and InUse:=TRUE

OnStandBy

BOOL

A TRUE indicates here that the zone has been switched to the standby setpoint.

TuningActive

BOOL

During autotuning of the zone this signal is TRUE.

TuningDone

BOOL

A successful autotuning of the zone is reported here.

IdleLoadActive

BOOL

This signal is TRUE during IdleLoad tuning of the zone.

IdleLoadDone

BOOL

A successful IdleLoad tuning of the zone is reported here.

LooptestActive

BOOL

A TRUE here indicates that power measurement is active.

ExtruderCompActive

BOOL

Signals that the automatic calculation of extruder compensation is active.

ExtruderCompDone

BOOL

Signals that the automatic calculation of the extruder compensation has been successful.