# One-off little machine counters into Ignition

**URL:** <https://forum.inductiveautomation.com/t/one-off-little-machine-counters-into-ignition/61452>\
**Category:** Ignition\
**Created:** [July 1, 2022, 8:31pm UTC](https://forum.inductiveautomation.com/t/one-off-little-machine-counters-into-ignition/61452 "2022-07-01T20:31:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [July 1, 2022, 8:31pm UTC](https://forum.inductiveautomation.com/t/one-off-little-machine-counters-into-ignition/61452/1 "2022-07-01T20:31:07Z")

</div>

I have a limit switch that I want to get the count of trips into Ignition on a couple machines.

I supply it power from a 15amp 120vac circuit.

What would be good affordable way to get the data to my gateway?

Is the only best choice, to run the input to an io card that is already connected? (conduit and programming)

Or is there a kind of wireless bridge device that is only $100 that is recommendable?

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [July 1, 2022, 8:54pm UTC](https://forum.inductiveautomation.com/t/one-off-little-machine-counters-into-ignition/61452/2 "2022-07-01T20:54:16Z")

</div>

I would consider the update/speed at which the switch switches. Personally I would wire to an input of a PLC and use a counter or other means to increment count, then send that value to tag history. If you miss counts you are still covered by accumulated value.

Then use something like this, [Tag history difference over interval - #2 by jlandwerlen](https://forum.inductiveautomation.com/t/tag-history-difference-over-interval/48366/2)

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [July 1, 2022, 10:08pm UTC](https://forum.inductiveautomation.com/t/one-off-little-machine-counters-into-ignition/61452/3 "2022-07-01T22:08:18Z")

</div>

Check out the Moxa E1200 etc series. You’ll need an interposing relay.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 1, 2022, 10:42pm UTC](https://forum.inductiveautomation.com/t/one-off-little-machine-counters-into-ignition/61452/4 "2022-07-01T22:42:12Z")

</div>

Any of the micro PLCs would do the job. I’m most familiar with Siemens LOGO! which have Ethernet ports and, as far as I know, can be accessed using the S7 OPC drive (but check this). You get the advantage of DIN rail mount, industrial grade hardware with a small footprint and price. The PLC can then debounce your signal, count the number of trips in retentive memory, extend a pulse, or anything else you can think of. Most of these devices come with ←↑↓→EscOK buttons and an LCD and simple programs can be entered without external software.  
A-B, Mitsubishi, etc., make similar devices.  
The PLC counter means that you don’t have to do silly stuff in Ignition to keep track of the count. A simple tag read gives it to you even if the network was down or the gateway stopped.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 1, 2022, 10:42pm UTC](https://forum.inductiveautomation.com/t/one-off-little-machine-counters-into-ignition/61452/5 "2022-07-01T22:42:35Z")

</div>

Some of the Advantech Modbus products can count for you on any input, reading the value on a holding register.
