How to Increment a Counter Based on Tag Value Check Every Second in KepServerEX
Hello everyone,
I’m working with KepServerEX and need some help with a tag-based counter setup. I have a single tag, and I want to monitor its value every second. Specifically, whenever the tag’s value exceeds a certain threshold, I want to increase a counter that starts at 0 by +1.
Here's a summary of what I'm trying to achieve:
- Monitor the tag value every second.
- If the tag value is above a certain threshold, increment a counter by 1.
- Counter should start at 0 and increase by 1 each time the condition is met.
Could someone guide me on how to set this up? Any tips on scripting or configuration within KepServerEX would be greatly appreciated.
Thanks in advance!

