Modbus tags have bad quality, not sure what to check further

Hi all, this is my first time setting up Modbus with Ignition. The device here is an Air Compressor with Modbus RTU. I used gateway device USR-TCP232-304 as the bridge to TCP and connected to Ignition successfully. I have created an address following the instruction in the Modbus table but the tag quality is bad.

Zero-base is not set to True. I have tried Start: 4006, End: 4007; Start: 4005, End: 4006 as well but no luck, not sure if the address is the problem or not

I’m not sure what to check beyond this, any suggestion would be appreciated!

Ditch the address mapping.

Try these OPC Item Paths:

  • [VOC75 Air Compressor]1.HRF6
  • [VOC75 Air Compressor]1.HRF4006

edit: actually, looking at the docs, those appear to be in hex. Try this as well:

  • [VOC75 Air Compressor]1.HRF16390

I don't see any clear indicator from the docs that the data is actually in IEEE 754 floating point format, so you might need to try HRI or HRUI as well.

3 Likes

Hex addresses in docs have always meant zero-based addresses, in my experience.

3 Likes

Does it mean that the address are ready to use or I need to change it back by 1?

Please provide a screenshot of the web config for the USR device, I’ve used them a bunch and you need the settings set up on them correctly in order for ignition to communicate.

1 Like

HI David, this is the web config of the device.

Modbus For AirCom.pdf (1.0 MB)

This is the modbus document of the air compressor

That Web admin looks correct. the Remote IP tx/rx counter shows the data is actually sending.

1 Like

Did you try Kevin's suggestions above?

1 Like

I just tried Kevin’s solution and starting to get some information with HRI16390, below there are values both in integer and float. Pressure must be around 7 bars so maybe it needs some manipulation?

Try:
1.HRI16389
1.HRI16391
1.HRF16389
1.HRF16391

I tried it as well and it was reading 84,000-ish

HRI16391 giving me 7,4ish which I think correct! It’s actually 7,419 (7 thousands)

1 Like

Enable zero based addressing and use 16390.

1 Like

I did that and have also retrieved the total running hours of the machine. Thank you guys very much!

1 Like

It works with HRI16390, thank you Kevin!

1 Like