thingsboard / thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/
Apache License 2.0
1.76k stars 846 forks source link

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

Closed knityanand closed 3 months ago

knityanand commented 5 months ago

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):

DuXiaoChuang commented 5 months ago

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

knityanand commented 4 months ago

@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 commented 3 months ago

Closing this. @DuXiaoChuang Thx again..

DuXiaoChuang commented 3 months ago

Closing this. @DuXiaoChuang Thx again..

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