# Configuration of Modbus tag

**URL:** <https://forum.inductiveautomation.com/t/configuration-of-modbus-tag/76481>\
**Category:** General Discussion\
**Created:** [July 17, 2023, 6:57pm UTC](https://forum.inductiveautomation.com/t/configuration-of-modbus-tag/76481 "2023-07-17T18:57:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victor\_hugo\_gutierre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/victor_hugo_gutierre/32/49849_2.png) [@Victor\_hugo\_gutierre](https://forum.inductiveautomation.com/u/Victor_hugo_gutierre)\
**Post date:** [July 17, 2023, 6:57pm UTC](https://forum.inductiveautomation.com/t/configuration-of-modbus-tag/76481/1 "2023-07-17T18:57:25Z")

</div>

I configured a double integer type label in the ignition, via modbus tcp communication to an M340 Schneider, it reads me perfectly as long as the value read occupies a word, at the moment the value passes over it no longer reads it correctly with HRI as indicated the page would anyone know what the problem is?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 17, 2023, 6:58pm UTC](https://forum.inductiveautomation.com/t/configuration-of-modbus-tag/76481/2 "2023-07-17T18:58:47Z")

</div>

"pass over" what? `HRI` is a 32-bit _signed_ integer. Did you mean to use `HRUI` for 32-bit unsigned?

or are you off by 1 on your address and/or need to enable the "Swap Words" setting?

---

<div class="post-metadata">

**Author:** ![Victor\_hugo\_gutierre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/victor_hugo_gutierre/32/49849_2.png) [@Victor\_hugo\_gutierre](https://forum.inductiveautomation.com/u/Victor_hugo_gutierre)\
**Post date:** [July 17, 2023, 7:52pm UTC](https://forum.inductiveautomation.com/t/configuration-of-modbus-tag/76481/3 "2023-07-17T19:52:26Z")

</div>

apparently I should use litle-endian byte swap, can I do it directly in the ignition??

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 17, 2023, 7:58pm UTC](https://forum.inductiveautomation.com/t/configuration-of-modbus-tag/76481/4 "2023-07-17T19:58:28Z")

</div>

There is only a configuration to swap words, not change the byte order.
