I have a pump UDT. I want to have a tag called DutyTime in my pump UDT that show me how long each pump instance is running.
The best way to implement it that by embedded script inside the UDT which trigger every 1 min and increment DutyTime tag by 1.
The problem is there is no tag event which trigger by timer.
Is anyone can help me with a trip to do this?
I don’t want to manually write an timer script in gateway to check each pump status and plus related DutyTime. What I want this task run automatically for ech UDT instance.