Rate Of change Alarm in UnityPro

I don't have Unty Pro Handy, but you can do it the same with any software.

Read and store in a register the analog value

Start a timer

When the timer times out:
read the analog value
check to see if the new is greater or less than the old
based on the above subtract the smaller from the larger
divide by the time interval to get rate of change
use a compare to see if the rate of change is greater than you limit
reset the timer

Go to first step and repeat
 

Similar Topics

We are using PLC 5 and currently have "Temp Rate Change Alarm" that is basically doing a compare every 8 seconds and alarming on any change of...
Replies
5
Views
2,561
I am a water works operator attempting to learn the new plc based control system (TSX Quantum and Momentum) I am a beginner at best with the...
Replies
10
Views
11,162
I am working on a PLC program that requires an analog valve to close a given percentage in a given time in seconds. I give the start position, the...
Replies
22
Views
3,037
Hi All, My question is about how to detect the rate of change in a register and know is it increasing or decreasing, for example I wanna know if...
Replies
11
Views
3,868
Hello, I'm trying to take input from a group of load cells and compute throughput (i.e. tons/hour, kg/hour, etc.). Currently the load cells...
Replies
6
Views
1,651
Back
Top Bottom