I need to calculate the rate of change of a temperature.
Using AB SLC 5/04, and 1746-NT8. Thermocouple measures temperature in an air duct. I need to monitor the rate of temperature change in the duct and flag and alarm when the rate of rise exceed 20 degrees per minute.
I guess I could take a sample every second and load the data into an array (block of registers) and average the temperatures after say 10 seconds, store the average, wait ten more seconds store the second average and subtract the first average from the second average and have the rate of change for 10 seconds BUT there has to be a better way.
If anybody has any suggestions please let me know.
Using AB SLC 5/04, and 1746-NT8. Thermocouple measures temperature in an air duct. I need to monitor the rate of temperature change in the duct and flag and alarm when the rate of rise exceed 20 degrees per minute.
I guess I could take a sample every second and load the data into an array (block of registers) and average the temperatures after say 10 seconds, store the average, wait ten more seconds store the second average and subtract the first average from the second average and have the rate of change for 10 seconds BUT there has to be a better way.
If anybody has any suggestions please let me know.