# Read from modbus and convert 24bit to integer

**URL:** <https://discourse.nodered.org/t/read-from-modbus-and-convert-24bit-to-integer/64673>\
**Category:** General\
**Created:** [4 July 2022 11:31 UTC](https://discourse.nodered.org/t/read-from-modbus-and-convert-24bit-to-integer/64673 "2022-07-04T11:31:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ketpa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ketpa/32/42496_2.png) [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Post date:** [4 July 2022 11:31 UTC](https://discourse.nodered.org/t/read-from-modbus-and-convert-24bit-to-integer/64673/1 "2022-07-04T11:31:04Z")

</div>

I have ADFWeb interface and convert mbus to modbus.  
I have 2 variable Power and Flow as 24bit value

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/0/900a119c66f9f2e8fcbc02e7f562bd981a1f2f72.png)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/c/ac3cf822fbb92c0bd71cfc0a90a30151c5a65cfa.png)

I used buffer parser, but it have not 24bit conversion  
data from payload: {"data":[4,1844,0,17352],"buffer":[0,4,7,52,0,0,67,200]}

---

<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:** [2 September 2022 11:31 UTC](https://discourse.nodered.org/t/read-from-modbus-and-convert-24bit-to-integer/64673/2 "2022-09-02T11:31:55Z")

</div>

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