# Increment a tag from pulse counts

**URL:** <https://forum.inductiveautomation.com/t/increment-a-tag-from-pulse-counts/12231>\
**Category:** Ignition\
**Created:** [October 13, 2016, 11:32am UTC](https://forum.inductiveautomation.com/t/increment-a-tag-from-pulse-counts/12231 "2016-10-13T11:32:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BG3009](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@BG3009](https://forum.inductiveautomation.com/u/BG3009)\
**Post date:** [October 13, 2016, 11:32am UTC](https://forum.inductiveautomation.com/t/increment-a-tag-from-pulse-counts/12231/1 "2016-10-13T11:32:58Z")

</div>

I’ve got a meter that counts from 1 to 10 then starts all over again; how can I use this pulse count to increment a tag? I am thinking of using a transaction group to increment a value each time I get a pulse. But is this the best way or can someone point me to a better solution. Appreciate any help.

---

<div class="post-metadata">

**Author:** ![Curlyandshemp](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@Curlyandshemp](https://forum.inductiveautomation.com/u/Curlyandshemp)\
**Post date:** [October 13, 2016, 12:57pm UTC](https://forum.inductiveautomation.com/t/increment-a-tag-from-pulse-counts/12231/2 "2016-10-13T12:57:54Z")

</div>

This type of function is always best left for a PLC to do. PLCs have scan rates in the low mSecs, a PC cannot get to that time resolution without hardware help.

PLC can load a tag with pulse count, then SET a bit hen value is loaded. Ignition can trigger on the bit and reset the pulse count at end of transaction group.
