# Automatic int tag bits entry

**URL:** <https://forum.inductiveautomation.com/t/automatic-int-tag-bits-entry/72817>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 24, 2023, 1:02pm UTC](https://forum.inductiveautomation.com/t/automatic-int-tag-bits-entry/72817 "2023-04-24T13:02:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel\_Schwinghamme](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@Gabriel\_Schwinghamme](https://forum.inductiveautomation.com/u/Gabriel_Schwinghamme)\
**Post date:** [April 24, 2023, 1:02pm UTC](https://forum.inductiveautomation.com/t/automatic-int-tag-bits-entry/72817/1 "2023-04-24T13:02:24Z")

</div>

I am wondering if anyone has a way of adding bit addresses automatically to integers. I am dealing with a program with thousands of integers that represent the states of hundreds of machines. each integer uses 19 bits to describe things like manual, auto, off, on, direction, fault conditions etc. I have spent 2 days straight entering bit addresses. I have got it down to under a minute per int but I still have at least a day left of doing it.

wondering if anyone knows how to automate this process.

Any help would be appreciated,  
Thank you.

---

<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:** [April 24, 2023, 1:04pm UTC](https://forum.inductiveautomation.com/t/automatic-int-tag-bits-entry/72817/2 "2023-04-24T13:04:06Z")

</div>

That's what UDTs are for. If they all have the same pattern for the 19 bits, it's trivial.

---

<div class="post-metadata">

**Author:** ![Gabriel\_Schwinghamme](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@Gabriel\_Schwinghamme](https://forum.inductiveautomation.com/u/Gabriel_Schwinghamme)\
**Post date:** [April 24, 2023, 3:16pm UTC](https://forum.inductiveautomation.com/t/automatic-int-tag-bits-entry/72817/3 "2023-04-24T15:16:54Z")

</div>

Thank you
