# Sending modbus bit

**URL:** <https://discourse.nodered.org/t/sending-modbus-bit/92807>\
**Category:** General\
**Created:** [30 October 2024 16:55 UTC](https://discourse.nodered.org/t/sending-modbus-bit/92807 "2024-10-30T16:55:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [30 October 2024 18:43 UTC](https://discourse.nodered.org/t/sending-modbus-bit/92807/2 "2024-10-30T18:43:56Z")

</div>

You will need to read the value, mask the bit on/off and send the full WORD value back

To mask the bits on/off, use a function node. e.g: [Node-red-contrib-remote-io, digital output for joining bool to word - #2 by Steve-Mcl](https://discourse.nodered.org/t/node-red-contrib-remote-io-digital-output-for-joining-bool-to-word/11798/2)

Alternatively, use the `buffer-maker` and `buffer-parser` nodes to conver your data to/from BOOLS in the `node-red-contrib-buffer-parser` package.

---

_[View the full topic](https://discourse.nodered.org/t/sending-modbus-bit/92807)._
