# Scanner 2000 modbus rs485

**URL:** https://discourse.nodered.org/t/scanner-2000-modbus-rs485/64860
**Category:** General
**Tags:** modbus
**Created:** [8 July 2022 21:15 UTC](https://discourse.nodered.org/t/scanner-2000-modbus-rs485/64860 "2022-07-08T21:15:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![artehack](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/artehack/32/64383_2.png) [@artehack](https://discourse.nodered.org/u/artehack)
#### Post date: [8 July 2022 21:15 UTC](https://discourse.nodered.org/t/scanner-2000-modbus-rs485/64860/1 "2022-07-08T21:15:28Z")

</div>

am testing node-red and I am trying to acquire data by modbus for reading in real time, the problem is that the values ​​are not delivered correctly and the owner register that I use to charge the gas supply does not read or is incorrect. This is a 32-bit holding register parameter. I could not communicate. I would appreciate your guidance.  
use rs485 serial port

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9fd79fe469d6da990ba59a4075a97ace97cbc903.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/56e6126e871a3688bd493a29b9f5da86f4c264c8.png)

link de documentacion [https://www.sensiaglobal.com/dpapi/v1/assets/documents/492c523f-f7a0-40c8-843a-9a4dc9cf7e3b](https://www.sensiaglobal.com/dpapi/v1/assets/documents/492c523f-f7a0-40c8-843a-9a4dc9cf7e3b)

---

<div class="post-metadata">

### Author: ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)
#### Post date: [10 July 2022 14:29 UTC](https://discourse.nodered.org/t/scanner-2000-modbus-rs485/64860/2 "2022-07-10T14:29:40Z")

</div>

> [@artehack](#):
>
> This is a 32-bit holding register parameter.

That table from the manual is a bit confusing .. it says **Holding Registers 32bit** but  
are you sure **7014** (FR1 Instantaneous Flow Rate) is a 32bit value ?  
The reason im asking is because 32bit values need two modbus registers  
and usually there should be a gap in the device register numbering in order to save them.  
In the table 7014 is directly followed by 7015 which is the Daily Total, without a gap in order for you to read 2 registers. so it must be 16bit ?

Besides that, i see that you get some data in the Modbus Response. Value 18408.  
Maybe you need to divide that integer with 100 or 1000 to get a float value of your Flow meter's rate ?  
Do you know the real value of the flow rate at that time in order to compare it with what modbus reads?

---

<div class="post-metadata">

### Author: ![artehack](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/artehack/32/64383_2.png) [@artehack](https://discourse.nodered.org/u/artehack)
#### Post date: [10 July 2022 17:55 UTC](https://discourse.nodered.org/t/scanner-2000-modbus-rs485/64860/3 "2022-07-10T17:55:50Z")

</div>

hello thanks for replying after so much reading see the sensor manual I am currently here in the field with the sensor in real time to review the modbus codes the data that is recorded in the holding register table is a 32bit float data stored in 2 holding registers register stored in codes 8000 to 8999 and and has another code called holding register 32bit that is stored in register from 7000 onwards that saves in the table value as a counter only the last current register after so much testing I was able to communicate the data delivered it was in memory buffer so I transformed it to a 32bit float with the Bufer parser plugin transform the data into 32bit float and the expected data is delivered in real time as it is seen in the sensor viewer

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/b/4baaa57b4ef5bae2a23d9bb52c4d5fa6c5a5b876.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/9/69040e51eb36a6ec67b6a7a4775ceccace810a0f.png)

---

<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: [8 September 2022 17:56 UTC](https://discourse.nodered.org/t/scanner-2000-modbus-rs485/64860/4 "2022-09-08T17:56:20Z")

</div>

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