# Write on modbus node

**URL:** <https://discourse.nodered.org/t/write-on-modbus-node/50223>\
**Category:** General\
**Created:** [26 August 2021 17:14 UTC](https://discourse.nodered.org/t/write-on-modbus-node/50223 "2021-08-26T17:14:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlqautomacao](https://avatars.discourse-cdn.com/v4/letter/j/a8b319/32.png) [@jlqautomacao](https://discourse.nodered.org/u/jlqautomacao)\
**Post date:** [26 August 2021 17:14 UTC](https://discourse.nodered.org/t/write-on-modbus-node/50223/1 "2021-08-26T17:14:05Z")

</div>

Hi,  
how do i write in modbus node with function 16, 4 bytes? Can someone help me?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/f/7fb8a44534c3621190218735845a02760ed8b02f.png)  
I'm only able to read the modules, but I can't write.

---

<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:** [26 August 2021 17:24 UTC](https://discourse.nodered.org/t/write-on-modbus-node/50223/2 "2021-08-26T17:24:32Z")

</div>

> [@jlqautomacao](#):
>
> how do i write in modbus node with function 16

Have you read the built in help?

> [@jlqautomacao](#):
>
> 4 bytes

4 bytes is 2 registers, you have set 4 registers (8 bytes)

---

<div class="post-metadata">

**Author:** ![jlqautomacao](https://avatars.discourse-cdn.com/v4/letter/j/a8b319/32.png) [@jlqautomacao](https://discourse.nodered.org/u/jlqautomacao)\
**Post date:** [26 August 2021 17:55 UTC](https://discourse.nodered.org/t/write-on-modbus-node/50223/3 "2021-08-26T17:55:44Z")

</div>

Correct image, I made some modifications as the node too. But I still haven't.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/7/f7f1877945e4766144f31c7aa2fde991dd31fb05.png)  
I'm still new to node-red.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 October 2021 17:56 UTC](https://discourse.nodered.org/t/write-on-modbus-node/50223/4 "2021-10-25T17:56:28Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
