# Modbus UA and bit of a word

**URL:** <https://forum.inductiveautomation.com/t/modbus-ua-and-bit-of-a-word/1972>\
**Category:** Ignition\
**Created:** [June 23, 2010, 9:06pm UTC](https://forum.inductiveautomation.com/t/modbus-ua-and-bit-of-a-word/1972 "2010-06-23T21:06:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henry](https://avatars.discourse-cdn.com/v4/letter/h/df705f/32.png) [@Henry](https://forum.inductiveautomation.com/u/Henry)\
**Post date:** [June 23, 2010, 9:06pm UTC](https://forum.inductiveautomation.com/t/modbus-ua-and-bit-of-a-word/1972/1 "2010-06-23T21:06:04Z")

</div>

The Modbus Kepware driver has the ability to read a bit of a word. In Kepware you create a boolean tag with a memory reference of something like (40001.1). So now, I’m using the UA Modbus driver and a CSV template to talk to an DL250 PLC. I’m wondering if I can do a similar function.

Thanks

---

<div class="post-metadata">

**Author:** ![Henry](https://avatars.discourse-cdn.com/v4/letter/h/df705f/32.png) [@Henry](https://forum.inductiveautomation.com/u/Henry)\
**Post date:** [June 23, 2010, 10:52pm UTC](https://forum.inductiveautomation.com/t/modbus-ua-and-bit-of-a-word/1972/2 "2010-06-23T22:52:04Z")

</div>

Page 73 shows how to read a bit of a word but says that I can’t write to a bit of a word.

Could this be added later?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [June 24, 2010, 8:50pm UTC](https://forum.inductiveautomation.com/t/modbus-ua-and-bit-of-a-word/1972/3 "2010-06-24T20:50:36Z")

</div>

If your’e encoding/decoding an entire word you may want to tkae a look at getBit() and binEnc().

However, I agree that some bitwise operations in the expression language would be nice.
