I need some help with modbus addressing.
We have a device installed on a site and we would like to retrieve data from this device. Here is the address table :
We only have 3 registers to read but I can’t figure out how to manually create the addresses.
Any help ?
I would start on the documentation here:
Modbus addressing can be tricky; you have to know the datatype of the source address, any scaling that would need to be applied to the tag once configured in Ignition, the device ID, and any potential offsets on the Holding Registers.
For example, you could try to create a tag of Float datatype for your flow sensor, and pointing to 1.HR4 and see if it returns the desired value.
Based on the datatypes and length shown on your table, it appears you need 32bit Modbus designators. Following the link and details provided by Oscar, I would try the following and see what you get (assuming a Mddbus ID of 1);
We found out the solution to our problem.
We had to toogle the propertie “Reverse Word order” in the device’s parameters.
The adresses 1.HRF4, 1.HRUI6, 1.HRF40 work fine.