# How to convert integer value coming from modbus to float value

**URL:** https://discourse.nodered.org/t/how-to-convert-integer-value-coming-from-modbus-to-float-value/68273
**Category:** General
**Created:** [27 September 2022 06:49 UTC](https://discourse.nodered.org/t/how-to-convert-integer-value-coming-from-modbus-to-float-value/68273 "2022-09-27T06:49:43Z")
**Posts on this page:** 1
**Showing post:** 21

<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: [29 September 2022 08:14 UTC](https://discourse.nodered.org/t/how-to-convert-integer-value-coming-from-modbus-to-float-value/68273/21 "2022-09-29T08:14:00Z")

</div>

> [@aminulhaq](#):
>
> if i use from 240 to 257 then how to pic perticular two address in parser because i didnt fint any selection there

Use the `offset` to access other bytes,

| MB address | Returns | offset byte |
| --- | --- | --- |
| 240 | 16 bit integer (2 bytes) | 0 |
| 241 | 16 bit integer (2 bytes) | 2 |
| 242 | 16 bit integer (2 bytes) | 4 |
| 243 | 16 bit integer (2 bytes) | 6 |
| 244 | 16 bit integer (2 bytes) | 8 |
| 245 | 16 bit integer (2 bytes) | 10 |
| 246 | 16 bit integer (2 bytes) | 12 |
| 247 | 16 bit integer (2 bytes) | 14 |
| 248 | 16 bit integer (2 bytes) | 16 |
| 249 | 16 bit integer (2 bytes) | 18 |
| 250 | 16 bit integer (2 bytes) | 20 |
| 251 | 16 bit integer (2 bytes) | 22 |
| 252 | 16 bit integer (2 bytes) | 24 |
| 253 | 16 bit integer (2 bytes) | 26 |
| 254 | 16 bit integer (2 bytes) | 28 |
| 255 | 16 bit integer (2 bytes) | 30 |
| 256 | 16 bit integer (2 bytes) | 32 |
| 257 | 16 bit integer (2 bytes) | 34 |

e.g...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/f/7f85547f7deb2cec523aec170c341142804cd67c.png)

  

> [@aminulhaq](#):
>
> Also what is this second dot for in modbus read node as you told i just change dot connection and it is working

The second output is for "i dont know but pretty sure it is documented in the built in help for that node" 🙂

---

_[View the full topic](https://discourse.nodered.org/t/how-to-convert-integer-value-coming-from-modbus-to-float-value/68273)._
