# Modbus OPC Item Path Question

**URL:** <https://forum.inductiveautomation.com/t/modbus-opc-item-path-question/100732>\
**Category:** Ignition\
**Created:** [January 10, 2025, 3:55pm UTC](https://forum.inductiveautomation.com/t/modbus-opc-item-path-question/100732 "2025-01-10T15:55:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![NP209](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/np209/32/80704_2.png) [@NP209](https://forum.inductiveautomation.com/u/NP209)\
**Post date:** [January 10, 2025, 3:55pm UTC](https://forum.inductiveautomation.com/t/modbus-opc-item-path-question/100732/1 "2025-01-10T15:55:19Z")

</div>

Hello! I have been trying to learn how to grab data from a scale machine on site that supports Modbus TCP. But have been having some issues.

Question: Inside the Ignition Designer, I'm making a new OPC Tag and setting up the path as [Yamato]HR2068 but the value being returned is 0. Am I not filling the path out correctly?

The serial number should return WG140727.

[MODBUS\_GC48108H0004\_EN.pdf](https://forum.inductiveautomation.com/uploads/short-url/kXK9s1Cl7WoVnYQiMGyl2FTe5kn.pdf) (680.2 KB)

 ![opcpath](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/a/6a5ede79f374eb4bb7939f517ce030cb1cc33e1b.jpeg)

---

<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:** [January 10, 2025, 4:00pm UTC](https://forum.inductiveautomation.com/t/modbus-opc-item-path-question/100732/2 "2025-01-10T16:00:26Z")

</div>

Try an address like this for serial number:

```python
[Yamato]HRS2068:12

```

See [Modbus Addressing | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/ignition-modules/opc-ua/opc-ua-drivers/modbus/modbus-addressing) for the address syntax.

edit: you also probably want to turn on zero-based addressing, as they are listing addresses from 0 in the docs.

---

<div class="post-metadata">

**Author:** ![NP209](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/np209/32/80704_2.png) [@NP209](https://forum.inductiveautomation.com/u/NP209)\
**Post date:** [January 10, 2025, 4:02pm UTC](https://forum.inductiveautomation.com/t/modbus-opc-item-path-question/100732/3 "2025-01-10T16:02:03Z")

</div>

Yeah I have the page pulled up, but nothing is working that I can find so I figured I was missing something.

I tried the HR2068:12 and im still getting 0.

---

<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:** [January 10, 2025, 4:02pm UTC](https://forum.inductiveautomation.com/t/modbus-opc-item-path-question/100732/4 "2025-01-10T16:02:30Z")

</div>

> [@NP209](#):
>
> I tried the HR2068:12 and im still getting 0.

That's not the same path I posted; you're missing the 'S' in 'HRS'.

---

<div class="post-metadata">

**Author:** ![NP209](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/np209/32/80704_2.png) [@NP209](https://forum.inductiveautomation.com/u/NP209)\
**Post date:** [January 10, 2025, 4:03pm UTC](https://forum.inductiveautomation.com/t/modbus-opc-item-path-question/100732/5 "2025-01-10T16:03:51Z")

</div>

Good eyes, I updated it but not getting anything now

---

<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:** [January 10, 2025, 4:05pm UTC](https://forum.inductiveautomation.com/t/modbus-opc-item-path-question/100732/6 "2025-01-10T16:05:19Z")

</div>

Get a Wireshark capture and we can see if it's just the device returning no data in those registers.

---

<div class="post-metadata">

**Author:** ![NP209](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/np209/32/80704_2.png) [@NP209](https://forum.inductiveautomation.com/u/NP209)\
**Post date:** [January 10, 2025, 4:05pm UTC](https://forum.inductiveautomation.com/t/modbus-opc-item-path-question/100732/7 "2025-01-10T16:05:43Z")

</div>

I will do that, thanks for the help!

---

<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:** [January 10, 2025, 4:39pm UTC](https://forum.inductiveautomation.com/t/modbus-opc-item-path-question/100732/8 "2025-01-10T16:39:50Z")

</div>

Probably need `1.HRS2068:12`.
