ST_ParaControlValue

ST_ParaControlValue 1:

This version of the function block is obsolete.

Do not use this function block anymore.

TYPE ST_ParaControlValue :
STRUCT

  (* general parameters *)
  iMode                   : E_ControlMode;
  iReactionOnFailure    : E_ReactionOnFailure;
  fYTune                : LREAL;
  fYStable              : LREAL;
  dwAlarmSupp           : DWORD;
  tCtrlCycleTime        : TIME;
  tTaskCycleTime        : TIME;

  (* setpoint parameters *)
  fWMin                 : LREAL;
  fWMax                 : LREAL;

  (* start up *)
  fWStartUp             : LREAL;
  tStartUp              : TIME;
  bStartUpRamping       : BOOL;
  fWStartUpVeloPos      : LREAL;
  fWStartUpVeloNeg      : LREAL;
  fWVeloPos             : LREAL;
  fWVeloNeg             : LREAL;

  (* actual value parameters *)
  bFilter               : BOOL;
  tFilter               : TIME;

  (* control value parameters *)
  fYMin                 : LREAL;
  fYMax                 : LREAL;
  fYManual              : LREAL;
  fYOnFailure           : LREAL;
  tPWMCycleTime         : TIME;

  (* controller settings *)
  bEnablePreController  : BOOL;
  bEnableZones          : BOOL;
  bEnableCVFilter       : BOOL;
  iFilterType           : E_FilterType;
  iControllerType       : E_ControllerType;

  (* min max temperatures *)
  TempLow               : LREAL;
  TempLowLow            : LREAL;
  TempHigh              : LREAL;
  TempHighHigh          : LREAL;
  TempAbsoluteHigh      : LREAL;
  TempAbsoluteLow       : LREAL;

  (* internal tuning parameters *)
  fTuneKp               : LREAL := 1.2;
  fTuneTn               : LREAL := 2.0;
  fTuneTv               : LREAL := 0.42;
  fTuneTd               : LREAL := 0.25;
END_STRUCT
END_TYPE

ST_ControllerParameter

Name

Unit

Value range

Description

iMode

none

INT

Controller operation mode (1 = heating, 2 = cooling, 3 = heating & cooling) (see below)

iReactionOnFailure

none

INT

Parameterizable reaction to errors (see below)

fYTune

none

LREAL

Control value during the self-tuning (normally 100%)

fYStable

none

LREAL

Control value during the settling phase (normally 0%)

dwAlarmSupp

none

DWORD

Masks out the alarms (see below)

tCtrlCycleTime

s

TIME

Controller's sampling time. In the course of the sampling time the controller re-calculates the control value.

tTaskCycleTime

s

TIME

Task cycle time. The FB is called with this time interval.

fWMin

K

LREAL

Minimum setpoint

fWMax

K

LREAL

Maximum setpoint

fWVeloPos

K/s

LREAL

Rate of rise (of ramp)

fWVeloNeg

K/s

LREAL

Rate of fall (of ramp).

fWStartUp

K

LREAL

Setpoint at start-up

tStartUp

s

TIME

Time with the fWStartUp setpoint

bStartUpRamping

none

[TRUE,FALSE]

Switches on ramping during the start-up phase.

fWStartUpVeloPos

K/s

LREAL

Rate of rise (of ramp) during the start-up phase

fWStartUpVeloNeg

K/s

LREAL

Rate of fall (of ramp) during the start-up phase

fYMin

none

LREAL

Minimum value of the manipulated variable

fYMax

none

LREAL

Maximum value of the manipulated variable

fYManual

none

LREAL

Control value in manual operation

fYOnFailure

none

LREAL

Control value in case of error (parameterizable)

tPWMCycleTime

s

TIME

Cycle time of the PWM signal

tFilter

s

TIME

Time constant of the actual value filter (first order P-T1 filter)

bFilter

none

[TRUE,FALSE]

The actual value filter is actuated if TRUE.

bEnablePreController

none

[TRUE,FALSE]

Switches pre-controller on.

bEnableZones

none

[TRUE,FALSE]

Switches open loop characteristic on until close to setpoint.

bEnableCVFilter

none

[TRUE,FALSE]

Switches on control value filter following the main controller.

iFilterType

none

ENUM

Selection of a filter type for the control value filter following the main controller (see below).

iControllerType

none

ENUM

Selection of a control algorithm (see below).

TempLow

K

LREAL

Relative lower temperature limit in the first band

TempLowLow

K

LREAL

Relative lower temperature limit in the second band

TempHigh

K

LREAL

Relative upper temperature limit in the first band

TempHighHigh

K

LREAL

Relative upper temperature limit in the second band

TempAbsoluteHigh

K

LREAL

Absolute upper temperature limit

TempAbsoluteLow

K

LREAL

Absolute lower temperature limit

fTuneKp

none

LREAL

FineTuning parameters for the PID controller (only for advanced users)

fTuneTn

none

LREAL

FineTuning parameters for the PID controller (only for advanced users)

fTuneTv

none

LREAL

FineTuning parameters for the PID controller (only for advanced users)

fTuneTd

none

LREAL

FineTuning parameters for the PID controller (only for advanced users)