First off thanks to any help you can provide. I need to create a Totalizer or some sort of tag that will increment one each time another tag goes active. Then it will reset when a different tag changes.
Details: Product offloads the machine and a sensor reads that the product passes. Gives a 1 then waits 1 second then goes back to 0. The totalizer would count that Tag. It would reset when the Tag that says product ID changes. This would give us the total count of Mattresses.