# Modbus adressing Akytec

**URL:** <https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184>\
**Category:** Ignition\
**Created:** [September 21, 2021, 11:47am UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184 "2021-09-21T11:47:49Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Strongblue](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Strongblue](https://forum.inductiveautomation.com/u/Strongblue)\
**Post date:** [September 21, 2021, 11:47am UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/1 "2021-09-21T11:47:49Z")

</div>

Hi Guys,

Im having trouble adressing the values framed in red in the picture, any ideas? 🙂  
This is the manual, modbus stuff is around page 29 [https://akytec.de/media/wysiwyg/downloads/MX210/MV210-101/UG\_MV210-101\_3-EN-31755-1.11.pdf](https://akytec.de/media/wysiwyg/downloads/MX210/MV210-101/UG_MV210-101_3-EN-31755-1.11.pdf)

 ![Unavngivet](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/a/4ab5eeb1efbcdc9ffea026b187f2f1d067b8e7b4.png)

I tried this:

 ![123123](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/55906f5e9bece850a375eeff927d39cafe2b4642.png)

---

<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:** [September 21, 2021, 12:36pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/2 "2021-09-21T12:36:22Z")

</div>

Those are 32-bit values in adjacent registers. That would be the `HRF` address format. You may or may not need to use the “Swap Words” advanced driver setting. Have you read this page in the manual?

[https://docs.inductiveautomation.com/display/DOC81/Modbus+Addressing](https://docs.inductiveautomation.com/display/DOC81/Modbus+Addressing)

---

<div class="post-metadata">

**Author:** ![Strongblue](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Strongblue](https://forum.inductiveautomation.com/u/Strongblue)\
**Post date:** [September 21, 2021, 12:45pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/3 "2021-09-21T12:45:14Z")

</div>

Hi,

Yes i did read it, and i tried inserting this to no avail:

 ![asdfsadfa](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/4/74b9fd38cada451888295bea05488ac67e8f0d0f.png)

---

<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:** [September 21, 2021, 12:52pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/4 "2021-09-21T12:52:53Z")

</div>

On page 39 of that manual, it says the default node address is 1. Ignition’s driver defaults to zero if not specified. Try `[A1]1.HRF4000`.

---

<div class="post-metadata">

**Author:** ![Strongblue](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Strongblue](https://forum.inductiveautomation.com/u/Strongblue)\
**Post date:** [September 21, 2021, 12:56pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/5 "2021-09-21T12:56:06Z")

</div>

Thanks for trying to help, its appreciated!

I did both [A1]1.HRF4000 and [A1]1.HRF4064 and it still makes an error

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

---

<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:** [September 21, 2021, 1:00pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/6 "2021-09-21T13:00:23Z")

</div>

Don't read 4064 with HRF--the table says that one is 16-bit. Only use HRF on the 32-bit floating point registers. Also, these addresses are all "zero-based" instead of "one-based". Ignition's driver defaults to one-based. You probably need to change that in the device settings.

I also noticed in the manual that the log file, if you need it, must be read with function code 20. Ignition's native driver cannot do this. If you need it, you will need something else, like my alternate driver:

> [@Automation Professionals' Advanced Modbus Driver](https://forum.inductiveautomation.com/t/automation-professionals-advanced-modbus-driver/41312/20):
>
> Another pair of release candidates. I was playing with an Automation Direct P1000’s RS485 port this past week and discovered another CRC bug. ): In my prior testing, I was using registers that were steadily counting. The bug I found was that a CRC with bit 15 set was erroneously sign-extended to 32 bits, and then rejected. But the register was changing fast enough the half that were getting through were hiding the half that were being discarded. RTU must not be very popular with any of y’al…

---

<div class="post-metadata">

**Author:** ![Strongblue](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Strongblue](https://forum.inductiveautomation.com/u/Strongblue)\
**Post date:** [September 21, 2021, 1:09pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/7 "2021-09-21T13:09:43Z")

</div>

Hi again,

Neither seems to be working, however i did notice this in the gateway, something is definitely off…

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

---

<div class="post-metadata">

**Author:** ![Strongblue](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Strongblue](https://forum.inductiveautomation.com/u/Strongblue)\
**Post date:** [September 21, 2021, 1:11pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/8 "2021-09-21T13:11:35Z")

</div>

So this, apparently the adresses are still incorrect

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

---

<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:** [September 21, 2021, 1:14pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/9 "2021-09-21T13:14:30Z")

</div>

Did you set the device to zero-based addressing?

---

<div class="post-metadata">

**Author:** ![Strongblue](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Strongblue](https://forum.inductiveautomation.com/u/Strongblue)\
**Post date:** [September 21, 2021, 1:35pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/10 "2021-09-21T13:35:29Z")

</div>

That definitely did something, now its getting some sort of data through, although im not sure what to make of it  
 ![note3](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/5/155205b3bbcc32e403962997b980e947f9f00923.gif)

---

<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:** [September 21, 2021, 1:45pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/11 "2021-09-21T13:45:58Z")

</div>

Almost certainly need to also change the “swap words” setting in the driver.

---

<div class="post-metadata">

**Author:** ![Strongblue](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Strongblue](https://forum.inductiveautomation.com/u/Strongblue)\
**Post date:** [September 21, 2021, 1:47pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/12 "2021-09-21T13:47:51Z")

</div>

And there we are, it works!

Thank you very much, is there anything i can do to repay you?

---

<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:** [September 21, 2021, 2:23pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/13 "2021-09-21T14:23:22Z")

</div>

Pay it forward here on the forum. (:

---

<div class="post-metadata">

**Author:** ![Jose\_Roberto\_Canales](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jose\_Roberto\_Canales](https://forum.inductiveautomation.com/u/Jose_Roberto_Canales)\
**Post date:** [August 28, 2023, 11:27pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/14 "2023-08-28T23:27:23Z")

</div>

Hi, I have the same problem with some feeders:

 ![error1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/c/cc1ae60df77837ee26ec65393eb31e13538c915b.png)

This is part of the documentation:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/a/0a159d4f3ddcffcc3384ce9cf2b7f755e9548779.png)

in this case i try to map the hopper 1, this is the way I try to map it: [TWIN2\_PC]1.HRF02003 and this is other the way I'm trying to map it too [TWIN2\_PC]1.HRF02003

---

<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:** [August 28, 2023, 11:44pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/15 "2023-08-28T23:44:42Z")

</div>

Get rid of the leading zeroes in your addresses and see if that helps.

---

<div class="post-metadata">

**Author:** ![Jose\_Roberto\_Canales](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jose\_Roberto\_Canales](https://forum.inductiveautomation.com/u/Jose_Roberto_Canales)\
**Post date:** [August 28, 2023, 11:48pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/16 "2023-08-28T23:48:34Z")

</div>

> [@Kevin.Herron](#):
>
> Get rid of the leading zeroes in your addresses and see if that helps.

> [@Kevin.Herron](#):
>
> Get rid of the leading zeroes in your addresses and see if that helps.

Same error: Received response with ExceptionCode: 0x02 (IllegalDataAddress).

---

<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:** [August 28, 2023, 11:51pm UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/17 "2023-08-28T23:51:18Z")

</div>

Ok, that’s the device telling you that you have the wrong address.

How did you arrive at `1.HRF2003` given the documentation screenshot you posted?

Try `1.HRF110` or `1.HRF40110` instead?

---

<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:** [August 29, 2023, 1:14am UTC](https://forum.inductiveautomation.com/t/modbus-adressing-akytec/51184/18 "2023-08-29T01:14:28Z")

</div>

If they really are 32-bit floats, then it must be Enron protocol, and therefore not going to work.

But the "multiplier" column makes me think they are really integers that use scaling.

Try `[TWIN2_PC]1.HR110`, where 0-10,000 yields 0.00-100.00%.
