# Access individual bits in a word (drag array over)

**URL:** <https://forum.inductiveautomation.com/t/access-individual-bits-in-a-word-drag-array-over/7896>\
**Category:** Ignition\
**Created:** [January 23, 2014, 9:43pm UTC](https://forum.inductiveautomation.com/t/access-individual-bits-in-a-word-drag-array-over/7896 "2014-01-23T21:43:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott\_stc](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@scott\_stc](https://forum.inductiveautomation.com/u/scott_stc)\
**Post date:** [January 23, 2014, 9:43pm UTC](https://forum.inductiveautomation.com/t/access-individual-bits-in-a-word-drag-array-over/7896/1 "2014-01-23T21:43:59Z")

</div>

We use bit packing extensively. Especially within one dimension arrays. Will you please incorporate the ability to drag over either a word or an array of words (DINT[2]) that can have the bits within the word(s) accessible? It would be in Logix 5k, and it’s OK if the Style for the tag in the Properties (in L5k) needs to be set as Binary, instead of the default Decimal.  
Currently we have to make a folder for each tag within an array, then drag the individual bits into that particular folder. This is extremely cumbersome, and next to impossible if a modification to the array is made.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 23, 2014, 10:24pm UTC](https://forum.inductiveautomation.com/t/access-individual-bits-in-a-word-drag-array-over/7896/2 "2014-01-23T22:24:49Z")

</div>

Why don’t you make a BooleanArray DataType (SQLTag DataType, in the designer) that provides the bits… should be pretty straightforward.

[attachment=1]dt1.png[/attachment]

[attachment=0]dt2.png[/attachment]

Obviously you’ll want to add the rests of the bits as members…

---

<div class="post-metadata">

**Author:** ![scott\_stc](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@scott\_stc](https://forum.inductiveautomation.com/u/scott_stc)\
**Post date:** [January 27, 2014, 2:51pm UTC](https://forum.inductiveautomation.com/t/access-individual-bits-in-a-word-drag-array-over/7896/3 "2014-01-27T14:51:30Z")

</div>

Kevin,  
We tried your UDT suggestion, and it is a good work around for the time being. Thank you for the suggestion! Do you have any plans in the future of Ignition being able to accommodate bit packing without the programmer having to make a UDT?

Thanks

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 27, 2014, 3:13pm UTC](https://forum.inductiveautomation.com/t/access-individual-bits-in-a-word-drag-array-over/7896/4 "2014-01-27T15:13:55Z")

</div>

You know… I think we talked about doing something to accommodate it when we were designing the new alarming system but nothing ever came of it. I’ll talk to some of the other developers and see if they have any ideas.

---

<div class="post-metadata">

**Author:** ![scott\_stc](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@scott\_stc](https://forum.inductiveautomation.com/u/scott_stc)\
**Post date:** [January 28, 2014, 3:08am UTC](https://forum.inductiveautomation.com/t/access-individual-bits-in-a-word-drag-array-over/7896/5 "2014-01-28T03:08:57Z")

</div>

Kevin,  
That would be fantastic if you could! An array of timers drags over just fine, including their associated words and bits. Could it be similar to that?  
Thanks!
