You need to create extra input channels:
1st to save the previous value. Use SetData function in the formulas of the source channel for this purpose.
2nd to calculate the difference.
The problem is kept. I have set the channels like you say me but in the channel “RESULT” I have obtained zero again. I checked the channel values “SOURCE” and “AUX”, current and previous respectively and both are the same value, then, the AUX channel dont save the previous value.
Pls. try to change input channel 4051 (SOURCE) from “Calculated Real” to “Real”, and 4052 (AUX) from “Real” to “Calculated Real” (like what Mikhail said). It should be OK.
This reply was modified 1 year, 2 months ago by myscada.