Configuration
• Perform the required external connection.
Name Beschreibung
eCtrlMode Connection necessary Switches controller to different operating modes (active,
passive, tuning)
bSelSetpoint Connection optional Selects one of two possible set values. FALSE selects the
normal set value, while TRUE selects the standby set value.
fW1 Connection necessary Set value.
fW2 Connection optional Standby set value, generally smaller than fW1. fSelSetpoint
can be used to switch between fW1 and fW2.
fX Connection necessary Actual value. This value must be converted to LREAL.
fYManual Connection optional Control value in manual mode.
bOpenThermoc
ouple
Connection optional The thermocouple is open if TRUE. Must be indicated by
the hardware (e.g. KLxxxx).
bReverseTherm
ocouple
Connection optional TRUE indicates that the thermocouple has been connected
with the wrong polarity. Must be indicated by the hardware.
bBackVoltage Connection optional TRUE indicates that the input voltage at the thermocouple
is too high. Must be indicated by the hardware.
bLeakage Connection optional TRUE indicates that leakage current has been detected at
the heating element. Must be indicated by the hardware.
bShortCircuit Connection optional TRUE indicates that a short circuit has been detected at the
heating element. Must be indicated by the hardware.
bOpenCircuit Connection optional TRUE indicates that an open circuit has been detected at
the heating element. Must be indicated by the hardware.
sControllerPara
meter
Connection necessary General parameters (sampling rate etc.) are passed to the
block in this structure.
sParaController
External
Connection optional An external controller parameter set is passed to the block
in this structure.
• Perform the necessary parameterisation of the controller via the structure.
The parameters can be specified through initial values, or by assignment. If initial values are used, then the
instance of the structure with initial values looks like this:
(* parameters *)
sControllerParameter : ST_CTRL_TempCtrlParameter :=
(
(* base *)
tCtrlCycleTime := t#1000ms,
tTaskCycleTime := t#10ms,
fYMin := -100,
fYMax := 100,
tPWMCycleTime := t#100ms ,
fYManual := 20,
bFilter := FALSE,
tFilter := t#100ms,
bDeadband := FALSE,
fEDeadband := 1.0, (* deadband *)
fWMin := 15,
fWMax := 60,
fWStartUp := 20.0,
tStartUp := t#160s,
fWVeloPos := 0.01,
fWVeloNeg := 0.01,
bStartUpRamping := FALSE,
fWStartUpVeloPos := 0.1,
fWStartUpVeloNeg := 0.1,
iMode := eCTRL_ControlMode_HEATING,
dwAlarmSupp := 16#FF_FF_FF_FF,
TC3 Temperature Controller18 Version: 1.1