ST_TcPfw_TempCtrl_Itf

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

Syntax

TYPE ST_TcPfw_TempCtrl_Itf :
(* last modification: 01.10.2010 *)
STRUCT
(*
==========================================
temperature zone internal data
see cnv_TempCtrl_Itf_TcPfw for format definition
==========================================
*)
stRtData: ST_TcPfw_TempCtrl_RtData;

ZoneName: STRING(79);

Heater_SupplyLoad  : LREAL;
Setpoint           : LREAL;
Threshold_PP       : LREAL;
Threshold_P        : LREAL;
Threshold_M        : LREAL;
Threshold_MM       : LREAL;
StandbySetpoint    : LREAL;

tempEnergy         : LREAL;
Openloop_Output    : LREAL;

PrevSameSupply     : INT;
NextSameSupply     : INT;
EvtIdx_Autotune    : INT;
EvtIdx_Hardware    : INT;
TempTermInit       : INT;
SelectSetpoint     : INT:=0; (* AST: supporting selectable setpoints *)

SelSetpoint        : BOOL;
Cmd_TuneHeaterLoad : BOOL;
Sema_Update        : BOOL;
Sema_Used          : BOOL;
LoopTest           : BOOL;
LoopTest_Inv       : BOOL;
Enable             : BOOL;
Alarm_LowLow       : BOOL;
Alarm_Low          : BOOL;
Alarm_High         : BOOL;
Alarm_HighHigh     : BOOL;
Alarm_AbsoluteLow  : BOOL;
Alarm_AbsoluteHigh : BOOL;
Alarm_NoResponse   : BOOL;
Force_Heating      : BOOL:=FALSE;
Force_Cooling      : BOOL:=FALSE;

Fault              : BOOL:=FALSE; (* starting with V1.0.9 *)
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

stRtData

ST_TcPfw_TempCtrl_RtData

The runtime data of the zone.

ZoneName

STRING

Reserved, not guaranteed.

Heater_SupplyLoad

LREAL

The total heating power of all zones of the same supply line.

Setpoint

LREAL

The set temperature of the zone. (Copy of the parameter from ST_TcPfw_TempPparamFromHmi_Itf).

Threshold_PP

LREAL

The outer positive tolerance limit of the zone. (Copy of the parameter from ST_TcPfw_TempPparamFromHmi_Itf).

Threshold_P

LREAL

The inner positive tolerance limit of the zone. (Copy of the parameter from ST_TcPfw_TempPparamFromHmi_Itf).

Threshold_M

LREAL

The inner negative tolerance limit of the zone. (Copy of the parameter from ST_TcPfw_TempPparamFromHmi_Itf).

Threshold_MM

LREAL

The outer negative tolerance limit of the zone. (Copy of the parameter from ST_TcPfw_TempPparamFromHmi_Itf).

StandbySetpoint

LREAL

The set lowering temperature of the zone. (Copy of the parameter from ST_TcPfw_TempPparamFromHmi_Itf).

tempEnergy

LREAL

Intermediate variable for energy calculation.

Openloop_Output

LREAL

Copy of the specified control rate from the product parameters.

PrevSameSupply

INT

Reserved for internal use.

NextSameSupply

INT

Reserved for internal use.

EvtIdx_Autotune

INT

Reserved for Blow Molding Framework.

EvtIdx_Hardware

INT

Reserved for Blow Molding Framework.

TempTermInit

INT

Reserved for the FB_TempCtrlCallback_TcPfw() function block.

SelectSetpoint

INT

Selection of the setpoint from the Setpoints array. If the value is outside the value range, Setpoint from the product parameters is active.

SelSetpoint

BOOL

The switching of the effective setpoint of the zone. A TRUE selects the StandbySetpoint, a FALSE the Setpoint.

Cmd_TuneHeaterLoad

BOOL

Reserved for automatic measurement of heating power.

Sema_Update

BOOL

reserved

Sema_Used

BOOL

reserved

LoopTest

BOOL

The current measurement for this zone is active. The heating is switched on for a short time independently of the control.

LoopTest_Inv

BOOL

Current measurement for another zone of the same supply line is active. The heating is switched off for a short time independently of the control.

Enable

BOOL

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

Alarm_LowLow

BOOL

The zone is ST_TcPfw_TempMparamFromHmi_Itf.InUse and the actual temperature of the zone is below the effective setpoint by more than the outer negative tolerance limit.

Alarm_Low

BOOL

The zone is ST_TcPfw_TempMparamFromHmi_Itf.InUse and the actual temperature of the zone is below the effective setpoint by more than the inner negative tolerance limit.

Alarm_High

BOOL

The zone is ST_TcPfw_TempMparamFromHmi_Itf.InUse and the actual temperature of the zone is more than the inner positive tolerance limit above the effective setpoint.

Alarm_HighHigh

BOOL

The zone is ST_TcPfw_TempMparamFromHmi_Itf.InUse and the actual temperature of the zone is more than the outer positive tolerance limit above the effective setpoint.

Alarm_AbsoluteLow

BOOL

The zone is ST_TcPfw_TempMparamFromHmi_Itf.InUse and the actual temperature of the zone is below ST_TcPfw_TempMparamFromHmi_Itf.AbsoluteLow.

Alarm_AbsoluteHigh

BOOL

The zone is ST_TcPfw_TempMparamFromHmi_Itf.InUse and the actual temperature of the zone is above ST_TcPfw_TempMparamFromHmi_Itf.AbsoluteHigh. If this flag is set, no heating power is generated in this zone.

Alarm_NoResponse

BOOL

The actual temperature of the zone has not responded to the heating power within a reasonable time.

Force_Heating

BOOL

A TRUE produces a heating power output at 100% for 100 cycles.

Force_Cooling

BOOL

A TRUE will produce a cooling output at 100% for 100 cycles.

Fault

BOOL

Error.