# Individual bits in Integer Tags

**URL:** <https://forum.inductiveautomation.com/t/individual-bits-in-integer-tags/14077>\
**Category:** Ignition\
**Created:** [April 18, 2017, 10:40pm UTC](https://forum.inductiveautomation.com/t/individual-bits-in-integer-tags/14077 "2017-04-18T22:40:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwaynesmith](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@mwaynesmith](https://forum.inductiveautomation.com/u/mwaynesmith)\
**Post date:** [April 18, 2017, 10:40pm UTC](https://forum.inductiveautomation.com/t/individual-bits-in-integer-tags/14077/1 "2017-04-18T22:40:55Z")

</div>

We have a Control Logix PLC that has a integer tag exposed to Ignition. The PLC is actually setting individual bits in that tag for various communications. How do we read changes to these individual bits? Likewise, the PLC has a different integer tag that is expecting Ignition to write individual bits in reply. How is best way to do these?

---

<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:** [April 18, 2017, 10:49pm UTC](https://forum.inductiveautomation.com/t/individual-bits-in-integer-tags/14077/2 "2017-04-18T22:49:08Z")

</div>

Drag the integer tag in from the OPC browse tree and then copy and paste it. Modify the OPC item path so it has a `.0` or `.1` (or whatever bits you need) at the end of it.

---

<div class="post-metadata">

**Author:** ![llepore](https://avatars.discourse-cdn.com/v4/letter/l/5daacb/32.png) [@llepore](https://forum.inductiveautomation.com/u/llepore)\
**Post date:** [January 31, 2019, 7:28pm UTC](https://forum.inductiveautomation.com/t/individual-bits-in-integer-tags/14077/3 "2019-01-31T19:28:18Z")

</div>

Hi Kevin, is there a clean way to write to the bit? using getBit() to read but not sure if there is a way to write

thanks

---

<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:** [February 1, 2019, 5:59pm UTC](https://forum.inductiveautomation.com/t/individual-bits-in-integer-tags/14077/4 "2019-02-01T17:59:36Z")

</div>

Create a new tag with the .bitnumber appended to the OPC item of the integer. That will yield a read/write boolean for that bit.
