# Advanced Modbus Driver - Usefulness of the Value Error

**URL:** <https://forum.inductiveautomation.com/t/advanced-modbus-driver-usefulness-of-the-value-error/114333>\
**Category:** 3rd Party Modules\
**Tags:** ignition83\
**Created:** [March 5, 2026, 12:01pm UTC](https://forum.inductiveautomation.com/t/advanced-modbus-driver-usefulness-of-the-value-error/114333 "2026-03-05T12:01:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [March 5, 2026, 12:01pm UTC](https://forum.inductiveautomation.com/t/advanced-modbus-driver-usefulness-of-the-value-error/114333/1 "2026-03-05T12:01:57Z")

</div>

I see this error in the designer when I try to write a masked BIT to a holding register. Tag is Boolean datatype.

 ![maskedwrite](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/f/8fc941c1907362dd865f5e21884891018cc64e52.jpeg)

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [March 5, 2026, 12:04pm UTC](https://forum.inductiveautomation.com/t/advanced-modbus-driver-usefulness-of-the-value-error/114333/2 "2026-03-05T12:04:01Z")

</div>

Might interest…@pturmel @Andres_Rossi

---

<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:** [March 5, 2026, 12:29pm UTC](https://forum.inductiveautomation.com/t/advanced-modbus-driver-usefulness-of-the-value-error/114333/3 "2026-03-05T12:29:26Z")

</div>

It means the device doesn't support the masked write function code, so cannot write to holding register bits.

---

<div class="post-metadata">

**Author:** ![Andres\_Rossi](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Andres\_Rossi](https://forum.inductiveautomation.com/u/Andres_Rossi)\
**Post date:** [March 5, 2026, 7:05pm UTC](https://forum.inductiveautomation.com/t/advanced-modbus-driver-usefulness-of-the-value-error/114333/4 "2026-03-05T19:05:40Z")

</div>

Hi Phil,  
is there a workaround to write the bits of a HR register more directly?  
Drivers like Kepserver solve this by first reading the register, then modifying the value according to the bit to be written, and finally writing the new value to the HR register. And it does this transparently, meaning without needing to write any scripts or anything.

 ![imagen](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/f/9fad762f8ecfdbab7783218e39c61e56f68e7d1d.png)

Regards, Andrés

---

<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:** [March 5, 2026, 7:15pm UTC](https://forum.inductiveautomation.com/t/advanced-modbus-driver-usefulness-of-the-value-error/114333/5 "2026-03-05T19:15:56Z")

</div>

No. Neither my driver nor IA's driver will do this for you. This is a source of terrible bugs when the PLC also does any writes to the same register. I will not implement any such thing.

If you feel you must, you should make derived tags to get/set booleans, and use the optimistic writes tag group setting to consolidate writes when applicable.

(Or switch to a hardware brand that properly supports this function code. Schneider is the the biggest culprit, but not the only one.)
