Input Description¶
Function Block TECT_TEMP_CONTROL
EN (enable)
Data type: BOOL
The Function Block is activated by a rising edge at the input EN. A FALSE keeps the Function Block deactivated. If the Function Block is activated, the values being present at the inputs are processed and the output values are delivered.
PID_INTERVAL
Data type: TIME, Range: > 1 ms, Default value: 2 s.
Interval of PID and AutoTune process.
For PID process: The interval time, at which the PID updates the duty cycle of output based PWM_PERIOD.
PID Interval time
PWM_PERIOD
Data type: TIME, Range: > 1 ms, Default value: 2 s.
Pulse Width Modulation (PWM) output period.
PWM output period
Note
PWM_PERIOD should be always less than or equal to PID_INTERVAL.
FAHRENHEIT
Data type: BOOL
A TRUE at the input FAHRENHEIT of the Funktion Block displays the temperature in Fahrenheit, a FALSE displays the temperature in Celsius.
ACT_TEMP_RAW
Data type: INT
Actual raw temperature value from analogous input sensor.
RAW_FACTOR
Data type: INT, Default value: 10.
Sensor provides the the ACT_TEMP_RAW, this value doesn’t match to the temperature in Celcius. Hence RAW_FACTOR is necessary to scale the temperature into Celsius scale.
Example for RAW_FACTOR
If ACT_TEMP_RAW is 200 which indicates 20 degree, then the RAW_FACTOR will be 200 / 20 = 10.
Note
The RAW_FACTOR should not be zero.
ADR_ZONEDATA
Data type: POINTER TO TECT_TEMPZONE_DATA_TYPE
POINTER TO ZONEDATA defined as TECT_TEMPZONE_DATA_TYPE.
Input as POINTER TO ZoneData. This variable can be connected to the output signal of the ADR-Block. An input variable ZoneData saves all relevant parameters, settings and values for one temperature zone. All Function Blocks for the zone interact with each other through ZoneData variable Temperature Control Library.