# I can't write to a Modbus device (PLC Pro-face)

**URL:** <https://forum.inductiveautomation.com/t/i-cant-write-to-a-modbus-device-plc-pro-face/56936>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [March 7, 2022, 10:02pm UTC](https://forum.inductiveautomation.com/t/i-cant-write-to-a-modbus-device-plc-pro-face/56936 "2022-03-07T22:02:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [March 7, 2022, 10:12pm UTC](https://forum.inductiveautomation.com/t/i-cant-write-to-a-modbus-device-plc-pro-face/56936/4 "2022-03-07T22:12:53Z")

</div>

Ok, so your Modbus device doesn’t support the function code that allows individual bits to be written to.

You’ll have to use some kind of workaround where you read, mask, and write the whole register back.

One approach using a derived tag is discussed here: [Troubles making a Derived Boolean Tag work as a mask for a Short Tag - #2 by Kevin.Herron](https://forum.inductiveautomation.com/t/troubles-making-a-derived-boolean-tag-work-as-a-mask-for-a-short-tag/15203/2)

Another that uses scripting here: [Modbus UA - #5 by Travis.Cox](https://forum.inductiveautomation.com/t/modbus-ua/2159/5#p14351)

---

_[View the full topic](https://forum.inductiveautomation.com/t/i-cant-write-to-a-modbus-device-plc-pro-face/56936)._
