FB_HVACTemperatureCurve
 
 
Application
A temperature curve stored internally in the function block is selected from Tables 1 and 2 via the Enum eTemperatureCurve and output via the structure stParameterScale_nPoint. Characteristic curves can then be reproduced with this structure in conjunction with the function block FB_HVACScale_nPoint. In order to arrive at the raw resistance value of a sensor, the KL32xx Bus Terminals must be set to resistance measurement; see FB_HVACConfigureKL32xx.
|  | When measuring resistances from 10 to 5000 Ω with the KL32xx, 1 digit = 0.5 Ω, i.e. the indicated raw value must be divided by 2 in the PLC. Example: 2500 Ω would be represented in the controller by a raw value of 5000. The raw value must be divided by 2 in the PLC in order to arrive at the ohmic value of 2500 Ω. | 
|  | The measurement of resistances from 10 to 10000 Ω is possible only with the special terminal KL320x-0027. Exclusively the resistance measurement 10...10000 Ω can be performed on this special terminal. | 
|  | The EL3692 EtherCAT Terminal is a resistance measurement terminal that covers the measuring range up to 10 MΩ. | 
VAR_INPUT
eTemperatureCurve           : E_HVACTemperatureCurve;     eTemperatureCurve: Enum via which a temperature curve stored internally in the function block can be selected from Tables 1 and 2.
VAR_OUTPUT
stParameterScale_nPoint     : ST_HVACParameterScale_nPoint;stParameterScale_nPoint: structure containing the number of points and their valence of the X-Y coordinates. stParameterScale_nPoint contains the characteristic curves stored in the tables 1 and 2 depending on the specification via the Enum eTemperatureCurve.
Example:
eTemperatureCurve = eHVACTemperatureCurve_Ni1000Tk5000_TCR
stParameterScale_nPoint.iNumberOfPoint := 56;
stParameterScale_nPoint.rX[1] := 790.8;
stParameterScale_nPoint.rY[1] := -50.0;
stParameterScale_nPoint.rX[2] := 826.8;
stParameterScale_nPoint.rY[2] := -40.0;
.
.
.
stParameterScale_nPoint.rX[56] :=1625.4;
stParameterScale_nPoint.rY[56] := 120.0;
stParameterScale_nPoint.rX[57] :=0;
stParameterScale_nPoint.rY[57] := 0;
.
.
.
stParameterScale_nPoint.rX[60] :=0;
stParameterScale_nPoint.rY[60] := 0;
| 
 | 
 Sensor type | S+S Sensor type | S+S Sensor type | S+S Sensor type | S+S Sensor type | S+S Sensor type | S+S Sensor type | 
|---|---|---|---|---|---|---|---|
| eHVACTemperatureCharacteristic_ | NTC1k_3_A1 | NTC1k8_3_A1 | NTC2k2_3_A1 | NTC3k3_3_A1 | Ni1000_DIN | Pt1000_DIN | Ni1000Tk5000_TCR | 
| °C | Ω | Ω | Ω | Ω | Ω | Ω | Ω | 
| - 50 | 32886 | 
 | 
 | 
 | 743 | 803 | 790.8 | 
| - 40 | 18641 | 
 | 
 | 
 | 791 | 843 | 826.8 | 
| - 30 | 11130 | 21695 | 27886 | 53093 | 842 | 882 | 871.7 | 
| - 20 | 6777 | 12987 | 16502 | 29125 | 893 | 922 | 913.4 | 
| - 15 | 5341 | 10153 | 12844 | 21887 | 920 | 941 | 934.7 | 
| - 10 | 4247 | 8011 | 10070 | 16599 | 946 | 961 | 956.2 | 
| - 5 | 3390 | 6347 | 8134 | 12698 | 973 | 980 | 978 | 
| 0 | 2728 | 5071 | 6452 | 9795 | 1000 | 1000 | 1000 | 
| 1 | 2613 | 4851 | 6164 | 9309 | 
 | 
 | 1004.4 | 
| 2 | 2503 | 4640 | 5891 | 8849 | 
 | 
 | 1008.9 | 
| 3 | 2399 | 4441 | 5631 | 8415 | 
 | 
 | 1013.3 | 
| 4 | 2300 | 4252 | 5384 | 8005 | 
 | 
 | 1017.8 | 
| 5 | 2205 | 4071 | 5150 | 7617 | 1028 | 1020 | 1022.3 | 
| 6 | 2115 | 3899 | 4927 | 7251 | 
 | 
 | 1026.7 | 
| 7 | 2030 | 3738 | 4715 | 6905 | 
 | 
 | 1031.2 | 
| 8 | 1948 | 3582 | 4513 | 6575 | 
 | 
 | 1035.8 | 
| 9 | 1870 | 3434 | 4321 | 6265 | 
 | 
 | 1040.3 | 
| 10 | 1796 | 3294 | 4138 | 5971 | 1056 | 1039 | 1044.8 | 
| 11 | 1724 | 3158 | 3964 | 5691 | 
 | 
 | 1049.3 | 
| 12 | 1656 | 3029 | 3797 | 5427 | 
 | 
 | 1053.9 | 
| 13 | 1590 | 2905 | 3639 | 5177 | 
 | 
 | 1058.4 | 
| 14 | 1528 | 2788 | 3488 | 4938 | 
 | 
 | 1063 | 
| 15 | 1469 | 2677 | 3345 | 4713 | 1084 | 1058 | 1067.6 | 
| 16 | 1412 | 2570 | 3207 | 4500 | 
 | 
 | 1072.2 | 
| 17 | 1358 | 2468 | 3076 | 4298 | 
 | 
 | 1076.8 | 
| 18 | 1306 | 2371 | 2952 | 4104 | 
 | 
 | 1081.4 | 
| 19 | 1256 | 2277 | 2832 | 3922 | 
 | 
 | 1086 | 
| 20 | 1209 | 2189 | 2719 | 3747 | 1112 | 1078 | 1090.7 | 
| 21 | 1163 | 2103 | 2610 | 3582 | 
 | 
 | 1095.3 | 
| 22 | 1120 | 2023 | 2506 | 3426 | 
 | 
 | 1100 | 
| 23 | 1078 | 1945 | 2407 | 3277 | 
 | 
 | 1104.6 | 
| 24 | 1038 | 1871 | 2289 | 3135 | 
 | 
 | 1109.3 | 
| 25 | 1000 | 1800 | 2200 | 3000 | 1142 | 1098 | 1114 | 
| 26 | 963 | 1732 | 2115 | 2872 | 
 | 
 | 1120 | 
| 27 | 928 | 1667 | 2034 | 2750 | 
 | 
 | 1123.4 | 
| 28 | 894 | 1604 | 1957 | 2634 | 
 | 
 | 1128.1 | 
| 29 | 862 | 1545 | 1883 | 2522 | 
 | 
 | 1132.9 | 
| 30 | 831 | 1488 | 1812 | 2417 | 1171 | 1117 | 1137.6 | 
| 35 | 694 | 1235 | 1500 | 1960 | 1200 | 1136 | 1161.5 | 
| 40 | 583 | 1031 | 1248 | 1597 | 1230 | 1155 | 1185.7 | 
| 45 | 491 | 865 | 1043 | 1310 | 1261 | 1175 | 1210.2 | 
| 50 | 416 | 729 | 876 | 1081 | 1291 | 1194 | 1235 | 
| 55 | 354 | 616 | 738 | 896 | 1322 | 1213 | 1260.1 | 
| 60 | 302 | 524 | 626 | 746 | 1353 | 1232 | 1285.4 | 
| 65 | 259 | 447 | 532 | 625 | 1385 | 1252 | 1311.1 | 
| 70 | 223 | 383 | 454 | 526 | 1417 | 1271 | 1337.1 | 
| 75 | 192 | 329 | 390 | 444 | 1450 | 1290 | 1363.5 | 
| 80 | 167 | 284 | 335 | 346 | 1483 | 1309 | 1390.1 | 
| 85 | 145 | 246 | 289 | 321 | 1516 | 1328 | 1417.1 | 
| 90 | 127 | 214 | 251 | 275 | 1549 | 1347 | 1444.4 | 
| 95 | 111 | 187 | 218 | 236 | 1584 | 1366 | 1472 | 
| 100 | 97 | 163 | 190 | 204 | 1618 | 1385 | 1500 | 
| 105 | 88 | 143 | 167 | 176 | 
 | 
 | 1528.3 | 
| 110 | 76 | 126 | 146 | 138 | 1688 | 1423 | 1557 | 
| 115 | 
 | 111 | 
 | 120 | 
 | 
 | 1586 | 
| 120 | 
 | 99 | 
 | 105 | 1760 | 1461 | 1625.4 | 
| 125 | 
 | 88 | 
 | 92 | 
 | 
 | 
 | 
| 130 | 
 | 80 | 
 | 
 | 1833 | 1498 | 
 | 
| 140 | 
 | 62 | 
 | 64 | 1909 | 1536 | 
 | 
| 150 | 
 | 50 | 
 | 50 | 1987 | 1573 | 
 | 
| 160 | 
 | 
 | 
 | 
 | 2066 | 1611 | 
 | 
| 170 | 
 | 
 | 
 | 
 | 2148 | 1648 | 
 | 
| 180 | 
 | 
 | 
 | 
 | 2232 | 1685 | 
 | 
| 190 | 
 | 
 | 
 | 
 | 
 | 1722 | 
 | 
| 200 | 
 | 
 | 
 | 
 | 
 | 1758 | 
 | 
| 210 | 
 | 
 | 
 | 
 | 
 | 1795 | 
 | 
| 220 | 
 | 
 | 
 | 
 | 
 | 1832 | 
 | 
| 230 | 
 | 
 | 
 | 
 | 
 | 1868 | 
 | 
| 240 | 
 | 
 | 
 | 
 | 
 | 1905 | 
 | 
| 250 | 
 | 
 | 
 | 
 | 
 | 1941 | 
 | 
| 260 | 
 | 
 | 
 | 
 | 
 | 1977 | 
 | 
| 270 | 
 | 
 | 
 | 
 | 
 | 2013 | 
 | 
| 280 | 
 | 
 | 
 | 
 | 
 | 2049 | 
 | 
| 290 | 
 | 
 | 
 | 
 | 
 | 2085 | 
 | 
| 300 | 
 | 
 | 
 | 
 | 
 | 2121 | 
 | 
| 310 | 
 | 
 | 
 | 
 | 
 | 2156 | 
 | 
| 320 | 
 | 
 | 
 | 
 | 
 | 2191 | 
 | 
| 330 | 
 | 
 | 
 | 
 | 
 | 2227 | 
 | 
| 340 | 
 | 
 | 
 | 
 | 
 | 2262 | 
 | 
| 350 | 
 | 
 | 
 | 
 | 
 | 2297 | 
 | 
| 360 | 
 | 
 | 
 | 
 | 
 | 2332 | 
 | 
| 370 | 
 | 
 | 
 | 
 | 
 | 2367 | 
 | 
| 380 | 
 | 
 | 
 | 
 | 
 | 2401 | 
 | 
| 390 | 
 | 
 | 
 | 
 | 
 | 2436 | 
 | 
| 400 | 
 | 
 | 
 | 
 | 
 | 2470 | 
 | 
| 
 | 
 Sensor type | Thermokon Sensor type | 
|---|---|---|
| eHVACTemperatureCharacteristic_ | NTC1K8 | Ni1000Tk5000 | 
| °C | Ω | Ω | 
| - 50 | 
 | 790.88 | 
| - 40 | 
 | 830.83 | 
| - 30 | 24500 | 871.69 | 
| - 20 | 14000 | 913.48 | 
| - 10 | 8400 | 956.24 | 
| 0 | 5200 | 1000 | 
| 10 | 3330 | 1044.79 | 
| 20 | 2200 | 1090.65 | 
| 25 | 1800 | 1113.99 | 
| 30 | 1480 | 1137.61 | 
| 40 | 1040 | 1185.71 | 
| 50 | 740 | 1234.97 | 
| 60 | 540 | 1285.44 | 
| 70 | 402 | 1337.14 | 
| 80 | 306 | 1390.12 | 
| 90 | 240 | 1444.39 | 
| 100 | 187 | 1500 | 
| 110 | 149 | 1556.98 | 
| 120 | 118 | 1615.36 | 
| 130 | 95 | 1675.18 | 
| 140 | 77 | 1736.47 | 
| 150 | 64 | 1799.26 |