thingsboard-gateway icon indicating copy to clipboard operation
thingsboard-gateway copied to clipboard

[HELP] bytes_modbus_uplink_converter - convert - 84 - Exception Response(131, 3, IllegalAddress)

Open knityanand opened this issue 1 year ago • 1 comments

Describe the issue I am trying to get the data from energy meters with the following data config EM1 EM2

and I am getting a NULL value and then the exception mentioned below bytes_modbus_uplink_converter - convert - 84 - Exception Response(131, 3, IllegalAddress)

I get it for both the float and swapped float. I guess, I am doing something wrong in the modbus.json. Would appreciate some help Also what changes need to be done for a swapped float

Also, please find attached the values being fetched from modbus tester for the energy meter with float values ModbusTester

Configuration (Attach your configuration file) modbus.json

Connector name (If you need help with some connector/converter): modbus.json

Error traceback (If it was raised): error.log

Versions (please complete the following information):

  • OS: Windows 11
  • Thingsboard IoT Gateway version 3.2
  • Python version 3.10.2

knityanand avatar Jun 25 '24 19:06 knityanand

你的地址错误了,你试试地址+1或者-1

DuXiaoChuang avatar Jun 28 '24 08:06 DuXiaoChuang

@DuXiaoChuang Thanks so much.. This worked. Wondering why I have to add / subtract 1 from the address which works in modbus tester or modscan64.

knityanand avatar Jul 10 '24 00:07 knityanand

Closing this. @DuXiaoChuang Thx again..

knityanand avatar Aug 07 '24 21:08 knityanand

Closing this. @DuXiaoChuang Thx again..

You're welcome. Can I add you to wechat? Continue to communicate if you have any questions.

DuXiaoChuang avatar Aug 08 '24 08:08 DuXiaoChuang