It depends what your temp sensors signal is, for example you can input analogue voltages with certain devices, I use a PLC with analogue inputs on some machines and on others I can take them in directly o the controller (CSMIO/IP-A , IP-S and IP-M)
The pokeys can also be used to get analogue inputs into Mach but it is just 0-3v (or possibly 0 to 5v) where the other ones I mentioned above are 0-10v.
Once you have that signal in Mach you can do what you want via a Brain or the Macropump.
Hood