I assume you are talking about a PLC and not actual relay logic? If so, what PLC/programming software? Is the sensor already connected to an analog input? what do you want? I.E. do you want an alarm to go off at a set temp?
...wait...Why am I going to the trouble of asking all these questions? you obviously don't care too much or you would have gone to the trouble of including the details in the first place. If you don't care, I don't care. Show me that you care.