It’s seems like A and B inputs name were mixed up
What is 100ms? Milliseconds?
Yes. According ISO standard) My question is not about it. Question is Now (A) is greater than Past (B). You just need to swap A and B designation to achieve logic. This topic has already discussed half year ago…
Fix ready. Check pls.