I have a tag that is configured to have its execution mode set at a fixed rate with an execution rate of 1 min (60,000 ms). I then have another tag that acts as a rate of change tag for this fixed rate tag. This rate of change tag receives its value from a value change script set on the fixed tag.
My question is: If the fixed tag’s value doesn’t change, will the tag change script still run after a minute? If the fixed tag doesn’t have a value change after a min, then it’s rate of change after a minute should be 0, but I am not sure if the value change script will run and if the current value and previous value will be the same.
So if I want to calculate the rate of change after 1 minute even without a change in value, could I use the quality change script? Perhaps the timestamp property of the tag will change given the fixed rate execution mode which will activate the quality change script?
I have to admit that I would immediately use my Integration Toolkit's recorder(), set to two rows at 60000ms, in an expression tag, to do this with no script at all.