Modbus OPC Item Path Question

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 (680.2 KB)

Try an address like this for serial number:

[Yamato]HRS2068:12

See Modbus Addressing | Ignition User Manual 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.

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.

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

Good eyes, I updated it but not getting anything now

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

I will do that, thanks for the help!

Probably need 1.HRS2068:12.

1 Like