Initial Zone Data Settings

To simplify the start process of temperature control, it is highly recommended to have an initialization procedure of relevant zone data values, as those values are necessary for starting the process. Otherwise those values need to be set using HMI. For example:

  • Set point:

    ZoneData.tsProcessSet.rsetpoint:=55;

  • Hysteresis to switch on and off cooling: ZoneData.tsMachineSet.rTemp_diff_cool:=1; (*If value> 0: cooling will be ON with 100% when ACT_TEMP > set point + rtemp_diff_cool x iCool_Off_Ratio. If value = 0: rtemp_diff_cool is deactivated, PID controller will be active for cooling*)

  • Values for Thermal Coupler Fault 2: ZoneData.tsMachineSet.uiMIN_TEMP_CHANGE:=1; ZoneData.tsMachineSet.uiCHANGE_TIME:=60;

    (*Inside uiCHANGE_TIME in seconds, a temperature change of 1 of raw value from sensor should be detected, otherwise fault will be triggered*)

  • Values for Thermal Coupler Fault 1:

    ZoneData.tsMachineSet.rTC_max:=400;

    ZoneData.tsMachineSet.rTC_min:=-50;

    (*Measuring range of thermal sensor, e.g. -50°C to 400°C. If the detected sensor value is out of *)

  • Limits for temperature:

    ZoneData.tsMachineSet.rhighhigh_temp:=120;

    ZoneData.tsMachineSet.rlowlow_temp:=0;

    ZoneData.tsProcessSet.rhigh_temp:=ZoneData.tsProcessSet.rsetpoint+10;

    ZoneData.tsProcessSet.rlow_temp:=ZoneData.tsProcessSet.rsetpoint-10;

    ZoneData.tsProcessSet.rhigh_deviation:=0.5;

    ZoneData.tsProcessSet.rlow_deviation:=0.5;

  • Necessary temperature change to do AutoTune: ZoneData.tsMachineSet.iTune_Step:=500;

    (*This is a raw sensor value, for a RAW_FACTOR 10, it will be 50 degree.*)

  • Set control bits:

    ZoneData.tsProcessSet.wcontrolWord.1:=TRUE;(*heat enabled*)

    ZoneData.tsProcessSet.wcontrolWord.2:=TRUE;(*cool enabled*)

    ZoneData.tsProcessSet.wcontrolWord.6:=TRUE;(* accept autotune result*)

Please refer to the example for the detailed realization of this data initialization part.