Modbus RTU out of range
8 次查看(过去 30 天)
显示 更早的评论
Hi everyone
I am trying to read some values out of a sensor connected to the PC over a RS485 serial adapter.
Currently I am trying to read the values with the modbus communication in matlab (MODBUS Communication - MATLAB & Simulink - MathWorks Schweiz). I am able to read the values in the first holdingregisters, but as soon as I go higher than 30, there's an error message telling me the address and count are out of range.
Smaller addresses are read correctly and I also checked that with a python script I am able to read the higher adresses. Did anyone have that same problem? Or does anyone know of a better library I could use? As I see it, the modbus communication I am using must have some limit on which addresses can be read...
Thanks, in advance!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modbus Communication 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!