# Modbus RTU Client mixing registers

**URL:** <https://community.teltonika.lt/t/modbus-rtu-client-mixing-registers/10151>\
**Category:** Networking Solutions\
**Created:** [October 31, 2024, 7:10am UTC](https://community.teltonika.lt/t/modbus-rtu-client-mixing-registers/10151 "2024-10-31T07:10:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrishLuies](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/c/db5fbb/32.png) [@ChrishLuies](https://community.teltonika.lt/u/ChrishLuies)\
**Post date:** [October 31, 2024, 7:10am UTC](https://community.teltonika.lt/t/modbus-rtu-client-mixing-registers/10151/1 "2024-10-31T07:10:17Z")

</div>

Hello,

I have a RUT956 connected to a modbus device using rtu. After the RUT956 collects the data I use data to server to send my data to a sql database. I have been looking through the data and I have found that registers are getting mixed up sometimes, for example if I have Reg1,Reg2 and Reg3 specified in the modbus rtu client configuration then Reg1 will be sent as Reg2 and Reg2 will be sent as Reg3 and Reg3 will be sent as Reg1. From what I can see is this occurs when there is a bigger than usual entry time gap between my readings. I think the issue happens when the RUT956 has bad connection and fails to send data. It might also be EMI but since I am getting values that correspond to the other registers I not sure if that is the issue.

Any advice on this issue will be appreciated.

---

<div class="post-metadata">

**Author:** ![ChrishLuies](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/c/db5fbb/32.png) [@ChrishLuies](https://community.teltonika.lt/u/ChrishLuies)\
**Post date:** [November 5, 2024, 7:24am UTC](https://community.teltonika.lt/t/modbus-rtu-client-mixing-registers/10151/2 "2024-11-05T07:24:25Z")

</div>

After looking further it appears that the issue might be that the Data to Server and Modbus RTU Client are overlapping. For example sometime When data is being sent to the server then modbus registers are being read at the same time causing an overlap. Does anyone know how to fix this situation?

---

<div class="post-metadata">

**Author:** ![Yes](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/y/ea5d25/32.png) [@Yes](https://community.teltonika.lt/u/Yes)\
**Post date:** [November 5, 2024, 8:19am UTC](https://community.teltonika.lt/t/modbus-rtu-client-mixing-registers/10151/3 "2024-11-05T08:19:46Z")

</div>

Hello Chris,

Are you using the newest firmware (7.10.2)? If not, try updating it to the newest firmware and check if the issue persists.

---

<div class="post-metadata">

**Author:** ![ChrishLuies](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/c/db5fbb/32.png) [@ChrishLuies](https://community.teltonika.lt/u/ChrishLuies)\
**Post date:** [November 13, 2024, 5:45am UTC](https://community.teltonika.lt/t/modbus-rtu-client-mixing-registers/10151/4 "2024-11-13T05:45:31Z")

</div>

Hello,

Yes I am using the newest firmware. I have devices that only read two modbus registers and they don’t really give this issue but my other devices read 6 registers and these ones regularly give mixed registers.

---

<div class="post-metadata">

**Author:** ![ChrishLuies](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/c/db5fbb/32.png) [@ChrishLuies](https://community.teltonika.lt/u/ChrishLuies)\
**Post date:** [November 14, 2024, 9:44am UTC](https://community.teltonika.lt/t/modbus-rtu-client-mixing-registers/10151/5 "2024-11-14T09:44:29Z")

</div>

Apon further inspection these issues seem to happen when the device has lost connection to the server then reconnect later on.

---

<div class="post-metadata">

**Author:** ![system](https://community.teltonika.lt/user_avatar/community.teltonika.lt/system/32/15707_2.png) [@system](https://community.teltonika.lt/u/system)\
**Post date:** [November 15, 2024, 7:11am UTC](https://community.teltonika.lt/t/modbus-rtu-client-mixing-registers/10151/6 "2024-11-15T07:11:06Z")

</div>

Closed on November 15, 2024, 7:11am UTC

This topic was automatically closed after 15 days. New replies are no longer allowed.
