# Modbus TCP Driver Default Zero Address Setting

**URL:** <https://forum.inductiveautomation.com/t/modbus-tcp-driver-default-zero-address-setting/70749>\
**Category:** Ignition\
**Created:** [March 7, 2023, 8:25pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-driver-default-zero-address-setting/70749 "2023-03-07T20:25:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicholas.robinson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nicholas.robinson/32/22188_2.png) [@nicholas.robinson](https://forum.inductiveautomation.com/u/nicholas.robinson)\
**Post date:** [March 7, 2023, 8:25pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-driver-default-zero-address-setting/70749/1 "2023-03-07T20:25:04Z")

</div>

Is there any particular reason that the default for modbus TCP driver zero addressing is false?

Because it is in advanced settings, this often gets overlooked. We don't work with any devices that are 1 based indexing so if possible I would like the default setting for zero based addressing to be true.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/6/b6354245cdb63f904cad6b17da20f4d9851b5106.png)

Thanks,

Nick

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [March 7, 2023, 8:28pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-driver-default-zero-address-setting/70749/2 "2023-03-07T20:28:31Z")

</div>

Think it's just the default for the IA driver.

Meh. For the multitude of devices I've worked with, it's hit or miss whether I need it or not. It's one of the first things I check, along with reverse word order, if my data doesn't look right.

---

<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:** [March 7, 2023, 8:31pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-driver-default-zero-address-setting/70749/3 "2023-03-07T20:31:31Z")

</div>

> [@nicholas.robinson](#):
>
> We don't work with any devices that are 1 based indexing so if possible I would like the default setting for zero based addressing to be true.

Ha, world's bigger than what you see, even if you do work for a giant.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 7, 2023, 8:32pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-driver-default-zero-address-setting/70749/4 "2023-03-07T20:32:05Z")

</div>

[My alternate driver](https://inductiveautomation.com/moduleshowcase/module/automation-professionals-llc-advanced-modbus) not only defaults to zero-based, it only **supports** zero-based addresses. The classic address is placed in the point's description in the OPC browser to avoid ambiguity. (Mappings are also unnecessary in order to have browsable addresses.)

---

<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:** [March 7, 2023, 8:32pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-driver-default-zero-address-setting/70749/5 "2023-03-07T20:32:07Z")

</div>

Maybe you can create the devices programatically and make sure it's set how you like.

---

<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:** [March 7, 2023, 8:35pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-driver-default-zero-address-setting/70749/6 "2023-03-07T20:35:03Z")

</div>

I only have anecdotal data because we don't collect telemetry, but what I've seen from working with support is it's truly a toss up between whether your random Modbus device:

- uses zero-based or one-based addressing
- defaults to unit/slave 0 or 1

Our defaults can't be correct for everyone.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 7, 2023, 8:36pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-driver-default-zero-address-setting/70749/7 "2023-03-07T20:36:42Z")

</div>

> [@Kevin.Herron](#):
>
> Our defaults can't be correct for everyone.

Heh. But with two implementations, one will have the desired default. 😁
